English HC Admin Script 1.9.3 icon

550 comments
03.01.11 09:14:34 pm
like 224 like it!
72 kb, 12,311 Downloads
Happy Camper
User
Offline Off
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:
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)
More >
imageimageimageimageimage
edited 10×, last 18.12.11 10:30:16 pm
ok This file has been reviewed and approved by Starkkz (29.11.15 02:43:05 pm)

Comments

550 comments
Goto Page
To the start Previous 1 2 ... 11 12 13 ... 27 28 Next To the start

Log in!

You need to log in to be able to write comments!Log in
28.06.12 12:14:44 pm
like I like it!
Up
Cereal Guy
User
Offline Off
I edited but the lua crashed
28.06.12 11:54:15 am
like I like it!
Up
VenomHunter
User
Offline Off
Best admin script ever.
28.06.12 11:25:31 am
Up
Happy Camper
User
Offline Off
@user KidJony: Sorry, I can't teach you Lua here. Go to the scripts forum and search for "tutorial". You will find a few links to web sites that teach you some basic scripting.
28.06.12 11:14:08 am
like I like it!
Up
KidJony
User
Offline Off
@user Happy Camper: can u say how to create scripts plz
27.06.12 07:59:23 pm
Up
Happy Camper
User
Offline Off
@user Cereal Guy: You can edit hc/modules/moderation.lua. Add a new command and register a new hook in hc.moderation.init(). Then implement the functions. Look at the other commands for some examples. Or create a new module from scratch and add it to hc.MODULES in hc/hc.conf.

To add new emotes, draw a .png file, put it in gfx/hc/emoticons. Then edit hc/modules/chat.lua. Add a pattern that matches the smiley to hc.chat.EMOTICONS and the name of the .png file without path or .png extension. See this example:
Code:
1
2
hc.chat.EMOTICONS = {
    ["^[:=8][-^o]?[)%]3>]$"] = "smiling", -- :)

The pattern is "^[:=8][-^o]?[)%]3>]$", the png file is named "smiling.png".
27.06.12 05:38:49 pm
like I like it!
Up
Feel-Pain81
User
Offline Off
I do that but nothing happend. I think that I don't know how to get that admin even I'm do that. Can you tell me. I don't know how do that.
27.06.12 11:12:20 am
like I like it!
Up
Cereal Guy
User
Offline Off
How to add grab system to discipline menu?
And how to add new emotes?
edited 1×, last 27.06.12 12:24:48 pm
16.06.12 12:02:50 am
Up
Happy Camper
User
Offline Off
@user Feel-Pain81: You open sys/lua/hc/data/config/users.hcu in a text editor (e.g. Notepad) and enter:
Code:
1
83135,Adm,Jumper_Assassin
15.06.12 07:22:33 pm
like I like it!
Up
Feel-Pain81
User
Offline Off
How i can put my usgn ID in that users.hcu? Please can you tell how?
12.06.12 08:41:56 pm
like I like it!
Up
Suprise
BANNED
Offline Off
This script is very good for the server where always there 10-15 players like Fws servers.
Im sorry i dont use this for maptests but cool codes and editable ranks, also Mod1,mod2,vip,adm system what is totally good
12.06.12 10:49:27 am
like I like it!
Up
lennon
User
Offline Off
Amazing
11.06.12 10:20:11 pm
like I like it!
Up
lucaSWAT
User
Offline Off
Okay Very very good script
11.06.12 10:02:00 pm
Up
Happy Camper
User
Offline Off
@user Cereal Guy:
Edit sys/lua/hc/hc.conf. Look for these lines:
Code:
1
2
hc.MODULES = {"moderation", "automod", "maps", "messaging", "chat",
"teambalance", "clock", "playerstats", "playerattribs"}

Remove "maps", so that it looks like this:
Code:
1
2
hc.MODULES = {"moderation", "automod", "messaging", "chat",
"teambalance", "clock", "playerstats", "playerattribs"}
11.06.12 08:29:55 pm
like I like it!
Up
Cereal Guy
User
Offline Off
How to remove map vote menu?
15.05.12 08:05:02 am
Up
Happy Camper
User
Offline Off
@user Revolutions: You probably introduced a syntax fault. Look in the logs for some clues. If you can't figure it out, send me your hc.conf and I will take a look.
15.05.12 12:02:25 am
Up
Revolutions
User
Offline Off
Dude i change maps and the lua don't work! =/
08.05.12 11:15:48 pm
Up
Happy Camper
User
Offline Off
@user Xanamaros: You can turn off all optional modules. That will give you almost what you want. To do that, edit sys/lua/hc/hc.conf. Look for these lines:
Code:
1
2
hc.MODULES = {"moderation", "automod", "maps", "messaging", "chat",
"teambalance", "clock", "playerstats", "playerattribs"}

Replace them with this line:
Code:
1
hc.MODULES = {"maps"}
06.05.12 09:57:59 am
like I like it!
Up
Xanamaros
User
Offline Off
Nice script, is there a way to just have the map vote?

A+ Script aswell.
24.04.12 09:58:54 pm
like I like it!
Up
WinterPwnd
User
Offline Off
@user Enderwarrior - RUS: That is a stupid admin scripts...
24.04.12 09:47:54 pm
like I like it!
Up
limonata
User
Offline Off
We are waiting next version
To the start Previous 1 2 ... 11 12 13 ... 27 28 Next To the start