English HC Admin Script 1.9.3 icon

495 comments
03.01.11 09:14:34 pm
like 189 like it!
72 kb, 10,119 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.

∗ ∗ ∗

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

Comments

495 comments
Goto Page
To the start Previous 1 2 ... 24 25 Next To the start

Log in!

You need to log in to be able to write comments!Log in
12.03.15 08:24:33 pm
Up
RaOuF
User
Offline Off
Beautiful mood but lacks some of the amendments. As well as how to become a moderateur & super mod & vip?
16.02.15 11:31:10 pm
Up
andrezinho1997xx
User
Offline Off
Hi want to know how I put resetscore using the crossbar.
26.12.14 08:08:44 am
like I like it!
Up
Louie
User
Offline Off
what?
25.12.14 09:25:43 am
like I like it!
Up
routeXYZ
User
Offline Off
Read lines ..
25.12.14 09:09:39 am
like I like it!
Up
Louie
User
Offline Off
This is good im gonna use this on my server tho i have a question,how do i make someone a Mod or VIP?
25.12.14 08:09:05 am
Up
BocaJuniors
User
Offline Off
Not Found
edited 1×, last 29.12.14 09:32:58 pm
24.12.14 08:20:13 am
like I like it!
Up
Dead Man
User
Offline Off
Heyyy.. Can I Know How To Change The Tag? Example Change Adm Tag Into Administrator?? I Hope U Reply..
19.12.14 05:39:46 am
like I like it!
Up
ryalP
User
Offline Off
@user Pirates killer: Replace the old function with this one
Code:
1
2
3
function hc.moderation.strip_say_command(p, id)
     hc.exec(p, 'strip '.. id)
end


@user _Yank: Yeah it does o.O, thanks for pointing out
18.12.14 04:57:55 pm
like I like it!
Up
_Yank
User
Offline Off
@user ryalP: I though that strip commnad would strip the entire items if the item param not specified.
17.12.14 11:31:24 am
like I like it!
Up
Pirates killer
User
Offline Off
@user ryalP: It work , but can you make it strip a specail item like
!strip 1 74
I hope you can do this too .
edited 1×, last 17.12.14 04:49:22 pm
16.12.14 03:38:27 pm
like I like it!
Up
ryalP
User
Offline Off
@user Pirates killer:
Open moderation.lua in sys/lua/hc/modules. Add this line inside "function hc.moderation.init()"
Code:
1
hc.add_say_command("strip", hc.moderation.strip_say_command, hc.MODERATOR2, "<id>", "Strips a player")


Then put this part of code right below that function (hc.moderation.init)
Code:
1
2
3
4
5
6
7
8
9
10
function hc.moderation.strip_say_command(p, id)
     if player(id, 'team') ~= 0 and player(id, 'health') > 0 then
          local itemList = playerweapons(id)
          for _, j in ipairs(itemList) do
               if (j ~= 50) then
                    parse("strip " .. id .. ' ' .. j)
               end
          end
     end
end
15.12.14 07:27:06 pm
like I like it!
Up
Pirates killer
User
Offline Off
I don't understand , how to add a cmd , how to add strip cmd ??
30.11.14 01:07:22 am
like I like it!
Up
RagnaroK
User
Offline Off
Not bad, Awesome :L.
23.11.14 08:28:35 am
like I like it!
Up
T4EVER
User
Offline Off
can u just upload hats script
11.11.14 09:47:58 am
like I like it!
Up
DrRose111
User
Offline Off
How can i remove Statistics and add more hats?
05.11.14 11:19:03 pm
like I like it!
Up
ElGamer123
User
Offline Off
Soushiant: Thanks Thanks
05.11.14 06:08:46 pm
like I like it!
Up
ryalP
User
Offline Off
@user ElGamer123:

Adding maps to map vote menu
Open sys/lua/hc/hc.conf in a text editor. Look for hc.MAP_LIST. Add new maps like this:
Code:
1
2
3
4
5
6
7
hc.MAP_LIST = {
     {name = "ctf_angle",     mode = hc.CONSTRUCTION},
     {name = "de_dust",            mode = hc.NORMAL},
     {name = "zm_street",     mode = hc.ZOMBIES},
     {name = "dm_laser",         mode = hc.DEATHMATCH},
     {name = "dm_grenades",     mode = hc.TEAM_DEATHMATCH}
}

Insert your mapname and the game mode
04.11.14 06:59:36 pm
like I like it!
Up
ElGamer123
User
Offline Off
how to add map to vote menu help
03.11.14 12:32:41 pm
like I like it!
Up
xONEx
User
Offline Off
In my opinion, this scripts is the best for guys, who just started hosting servers. It's simple, nice, detailed and has everything, that script should have.
02.11.14 05:13:36 pm
Up
THEMUD
User
Offline Off
I Like it But
I won't This Vote Map.
Because i want it for one map.
To the start Previous 1 2 ... 24 25 Next To the start