English HC Admin Script 1.9.3 icon

552 comments
03.01.11 09:14:34 pm
like 226 like it!
72 kb, 12,951 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

552 comments
Goto Page
To the start Previous 1 2 3 4 5 ... 27 28 Next To the start

Log in!

You need to log in to be able to write comments!Log in
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
Matiherrera02
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
eledah
User
Offline Off
@user Kirito2K: 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 eledah: 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
Kirito2K
User
Offline Off
@user eledah: 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
eledah
User
Offline Off
@user Kirito2K:
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
Kirito2K
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
DarkNeko
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
SpeakxD
User
Offline Off
Thanks!!
edited 1×, last 21.01.16 08:36:49 pm
05.11.14 06:08:46 pm
like I like it!
Up
eledah
User
Offline Off
@user SpeakxD:

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
SpeakxD
User
Offline Off
how to add map to vote menu help
03.11.14 12:32:41 pm
like I like it!
Up
BountyHunter
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.
02.11.14 06:26:35 am
like I like it!
Up
xblade85
User
Offline Off
what is name for map ?? CTF_ ??? and good script
28.10.14 03:46:36 am
Up
Sparty
Reviewer
Offline Off
@user SpeakxD: woohhhaat??
25.10.14 05:18:47 pm
like I like it!
Up
SpeakxD
User
Offline Off
Camper soy español Como puedo agregar otros mapas en el Vote map osea cuando apretas f4
edited 3×, last 27.10.14 09:48:39 pm
To the start Previous 1 2 3 4 5 ... 27 28 Next To the start