Files

> > CS2D > Lua Scripts > HC Admin Script 1.9.3
Files overviewCS2D overviewLua Scripts overview

English HC Admin Script 1.9.3 >

552 comments72 kb, 13,133 Downloads

old HC Admin Script 1.9.3

Happy Camper
User Off Offline

Update
This is just a minor update.

Features Removed:
• Upgrading supplies to super supplies is no longer blocked.

Bugs Fixed:
• Aligned "Next map" text with map name.
• Moved clock to top left corner to avoid clash with next map name.

user Starkkz has written
This script is damaged on Counter-Strike 2D 0.1.2.6 due to the LuaJIT switch.
Check for solutions on thread cs2d [Fix] HC Admin Script


∗ ∗ ∗

This script has been used on the HC servers. It is actually a script framework which can be extended by modules. Since I have closed the servers I am releasing the script free for everyone to use.

Overview

This is a script used for administrating CS2D servers. Commands are invoked from menus or the say prompt.

Serveraction1 (default F2) - Command menu
Serveraction2 (default F3) - Moderator menu
Serveraction3 (default F4) - Map vote menu

A list of say commands can be found by selecting Help->List Say Commands from the Command menu. The commands available for a certain user depends on which category the user belongs to.

User Categories

There are four categories of registered users handled by the script:

• VIP User
- users with special privileges
• Moderator Level 1
- moderates the game
• Moderator Level 2
- moderates the game, has authority to ban users permanently
• Administrator
- administers the server and the users

Administrator is the highest level. Users at a certain level automatically has the privileges of those at a lower level.

Modules
More >

Installation Instructions

Unzip the package into the CS2D folder. Note that this will overwrite your sys/servertransfer.lst and sys/lua/server.lua files!

Edit the file sys/lua/hc/data/config/users.hcu. Replace 12345 with your U.S.G.N. number:
1
12345,Adm,Your Name
If you have an old users.hcu file, use it to replace the one provided by this package.

Frequently Asked Questions (FAQ)
More >
edited 10×, last 18.12.11 10:30:16 pm
Approved by Starkkz

Download Download

72 kb, 13,133 Downloads

Comments

552 comments
Page
To the start Previous 1 218 19 2027 28 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Happy Camper
User Off Offline

@XxWarHeroxX: Open sys/lua/hc/hc.conf in a text editor. Look for hc.MODULES. Remove "clock", from the table.

old Clock Remove

Keitou
User Off Offline

Nice Script! But i have a question. How do you remove
the clock?
I like it!

old

KennyUA
User Off Offline

Nice script!! Thank you Happy Camper!!
I like it!

old

Happy Camper
User Off Offline

@BenQqo: You mean you can't connect to your server when you are logged in to USGN? Strange. Have you checked the server logs?

old @Happy Camper

BenQqo
BANNED Off Offline

Next 1 problem i can login me server dedicate but when i login in me USGN cant join me server pls hlp
I like it!
edited 2×, last 16.07.11 03:52:58 pm

old

Happy Camper
User Off Offline

@BenQqo: Open sys/lua/hc/hc.conf in a text editor. Look for hc.MAP_LIST. Add the maps you want here.

old Maps

BenQqo
BANNED Off Offline

How change vote maps? pleas say thank u :-), and very very good script.
I like it!
edited 1×, last 16.07.11 03:53:17 pm

old

Happy Camper
User Off Offline

@DEad_SWAT: I have told you twice already to take a look at the rcon command in sys/lua/hc/modules/moderation.lua. It's a simple command and you should be able to copy it.

old

ArChaLV
User Off Offline

@Happy Camper: when you gonna say how to add commands??? :@
I like it!

old

Happy Camper
User Off Offline

@RagDoll: As Sgt_Seris says, there are only three server action keys, so changing the keys will not really change anything. If you have another script that uses server action keys you are in trouble. You could turn off the maps module. That will free up the F4 key, but the other two are still in use.

If your COD lua also has a server.lua you need to merge the two files. Open both files in a text editor, then copy and paste the contents of one of the files into the other file. I would suggest that you keep the lines from the admin script's server.lua at the top. If the script behaves weird, try putting the lines at the end.

old

KimKart
Idiot Off Offline

@RagDoll.I dont think u can change it to F5 ECT becose the default server actions seem to be onley F1 ECT.
I like it!

old Help me fast

FinVarrior
User Off Offline

How can i change those pages to F5, F6, F7.. like removing them from F1, F2, F3 and moving to F5 etc..

and do i just copy server.lua files and put them onto my COD mode lua? cuz there isnt admin things. i need badly admin commands because lots of spammers and flamers etc.
it seems good lua! ive had this kinda lua afterwards.
I like it!

old Fabe

glebec
User Off Offline

@Happy Camper: Yeah thx...Best Script!
I like it!

old

ArChaLV
User Off Offline

@Happy Camper: Please Help Me! Hot To Add Commands???
I like it!

old

Happy Camper
User Off Offline

@matheussonic2011: Look at your profile. Your number is 66633.
@GlebMixUp: I guess you mean the time zone? Open sys/lua/hc/modules/clock.lua in a text editor. Look for a line that contains os.date("%H:%M %Z"). Remove %Z.

old Fabe

glebec
User Off Offline

This writings write down...after clock how delete it?
I like it!

old

matheussonic2011
User Off Offline

how view my nunber of usgn? sorry for my bad inglish i speaking portuguese

old

ArChaLV
User Off Offline

happy camper how to add commands?
I like it!

old

Happy Camper
User Off Offline

@DEad_SWAT: Did you take a look at the rcon command in sys/lua/hc/modules/moderation.lua as I suggested previously? That should give you an idea how to add a new command.

@GlebMixUp: Sorry, but I don't know what you are talking about. You want to delete the HUD text showing the map votes?

old

glebec
User Off Offline

Happy Camper Hello I want ask you"how delete only this stupid writings?" *I dont want delete all maps module*
I like it!
To the start Previous 1 218 19 2027 28 Next To the start