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,028 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,028 Downloads

Comments

552 comments
Page
To the start Previous 1 24 5 627 28 Next To the start

Log in!

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

old error

Yashukiller
User Off Offline

when i added the file only the admin user cant uses serveraction keys and everybody can (without login can)

old Asking Again to happy camper

OfieCool
BANNED Off Offline

@user Happy Camper: thx but can i ask again?

If You Say The Code Is
hc.add_say_command("kick", hc.moderation.kick_say_command, hc.MODERATOR1, "<id>", "Kick a player.")

that a kick command right? how about the ban command
I like it!
edited 1×, last 09.09.14 11:29:54 am

old

Happy Camper
User Off Offline

There is no translation available. You would have to edit all the scripts, translating string by string.

old Help!

RommeLGamer
User Off Offline

Hello I am Spanish and I want to know how to put this into Spanish please

old

Happy Camper
User Off Offline

@user OfieCool: Have a look at Frequently Asked Questions (FAQ) above.

old

Xirot
User Off Offline

user OfieCool:
Quote
can i ask?

This is pointless.
Search in the filearchive->Luascripts.

old

md26
BANNED Off Offline

happy camper thx very much but ilike it good 10/10
I like it!

old

Happy Camper
User Off Offline

The map is ctf_angle. You can download it from here.

old

MethodMan
User Off Offline

what is the name of this map?
I like it!

old

Ajmin
User Off Offline

@user Happy Camper:
can u help me to add the function of save (of another lv script) to the hook join of the hc script.
i found the hook hc.main.proxy.join .
but in which .lua file it uses?
I like it!

old

ThylidopteryX
User Off Offline

Nice, Nice, i Got some news, go to :::Counter-Strike 2D>Gfx>Hats:::You'll find Somethin, If there's nothing, forget it...
I like it!

old

Inflexion
User Off Offline

Were waiting for 1.9.4
Also greatful!
Well! done bro!
I like it!

old

Sansan Wawa
User Off Offline

how to add utsfx?
I like it!

old Like it.

Marcelorodfu
User Off Offline

How do i change the voting map list? (Edit: Oh, well, it's in the FAQ)
It's a very usefull mod!
I like it!

old

CatMagic14
User Off Offline

Nice 4/5
I like it!

old

Pro Gaming cs16
User Off Offline

ok thanks but it's cool script
I like it!

old

Happy Camper
User Off Offline

@user deadlox995: You probably made a mistake when editing. Please pm me the file you edited and I will take a look.

@user Pro Gaming cs16: There is no reset score in this script, sorry.

old

Pro Gaming cs16
User Off Offline

how to use resetscore with this lua ?
HELP PLZ
I like it!

old

deadlox995
User Off Offline

@user Happy Camper: can i'm aks you some thing:
when i'm try to changne SAY TAG from this:
java/adm/: test
to this:
java [Admin]: Test
then i'm get a error that i'm dont khow how to fix it:
LUA ERROR: sys/lua/hc/modules/chat.lua:1: unexpected symbol near 'ï'
I like it!
To the start Previous 1 24 5 627 28 Next To the start