HC Admin Script 1.9.3 
552 comments 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.
Starkkz has written:
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
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:
If you have an old users.hcu file, use it to replace the one provided by this package.
Frequently Asked Questions (FAQ)
This is just a minor update.
Features Removed:

Bugs Fixed:



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





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:

- users with special privileges

- moderates the game

- moderates the game, has authority to ban users permanently

- 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
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:
Code:
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)
edited 10×, last 18.12.11 10:30:16 pm

Comments
552 commentsLog in!
You need to log in to be able to write comments!Log in
@XxWarHeroxX: Open sys/lua/hc/hc.conf in a text editor. Look for hc.MODULES. Remove "clock", from the table.
@BenQqo: You mean you can't connect to your server when you are logged in to USGN? Strange. Have you checked the server logs?
16.07.11 03:42:32 pm

Next 1 problem i can login me server dedicate but when i login in me USGN cant join me server pls hlp

edited 2×, last 16.07.11 03:52:58 pm
@BenQqo: Open sys/lua/hc/hc.conf in a text editor. Look for hc.MAP_LIST. Add the maps you want here.
16.07.11 03:36:51 pm

How change vote maps? pleas say thank u :-), and very very good script.
edited 1×, last 16.07.11 03:53:17 pm
@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.
@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.
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.

@RagDoll.I dont think u can change it to F5 ECT becose the default server actions seem to be onley F1 ECT.
15.07.11 01:35:29 pm

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.
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.
@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.
@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.
@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?
@GlebMixUp: Sorry, but I don't know what you are talking about. You want to delete the HUD text showing the map votes?