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

Comments

552 comments
Page
To the start Previous 1 214 15 1627 28 Next To the start

Log in!

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

old

Happy Camper
User Off Offline

Use a texteditor, Wordpad for instance. Open the file users.hcu from Wordpad.

old Help

DARKO
User Off Offline

I can´t open sys/lua/hc/data/config/users.hcu. I dont know how.Sry my bad english.
I like it!

old

BoMB3R_MaN
User Off Offline

Nice.
I like it!

old

vscbnh1
User Off Offline

Nice script and continue creating scripts you is pro maker
I like it!

old cool

Cooldudecool2424
User Off Offline

really cool...

this deserves my highest praise...

U 73h 80M8!1!!1!
I like it!

old

Lubo
User Off Offline

cool script
i love it!
I like it!

old

Happy Camper
User Off Offline

@Znipy:

Open sys/lua/hc/hc.conf in a text editor. Find these lines:

1
2
hc.PERIODIC_MSG = {hc.DEFAULT_KEYS[hc.COMMAND_MENU_KEY].." for command menu,",
				hc.DEFAULT_KEYS[hc.MAP_VOTE_MENU_KEY].." for map vote menu."}
Replace both lines with this line:
1
hc.PERIODIC_MSG = {hc.DEFAULT_KEYS[hc.COMMAND_MENU_KEY].." for command menu."}

old Help?

RebornDuck
User Off Offline

Hey!

When i turn off the vote map thing, the text in the bottom ("Press F4 for vote map" or something)still comes up , so my question is how can i remove it? Please help

old

Happy Camper
User Off Offline

@super123s: Open sys/lua/hc/hc.conf in a text editor. Look for this line:

1
hc.PLAYER_ATTRIB_LEVEL       = hc.VIP

Change it to this:
1
hc.PLAYER_ATTRIB_LEVEL       = hc.USER

old help plz

super123s
User Off Offline

i wanted:
function attribute > available for all player (mod,Smod,adm,guest...troll =D)
help plz
cmon waited(long time )
I like it!
edited 1×, last 12.11.11 01:34:53 pm

old

Glix
User Off Offline

Can you tell how i can add they? if it's not problem
I like it!

old

Happy Camper
User Off Offline

@Propnic: I think it is possible to make a user class. Why would you want such a class? What would be the difference between VIP, User and unregistered players?

old

Glix
User Off Offline

can you make another user class...
like user vip mod1 mod2 adm. i mean can you make class for users?
I like it!

old

Happy Camper
User Off Offline

@creederpunk:

Open sys/lua/hc/hc.conf in a text editor. Look for hc.MODULES. It contains a list of active modules. Remove "teambalance", from the list.

old

Fossil
User Off Offline

How do you disable auto team balance?
I like it!

old

beer
User Off Offline

My Server transfer list didnt overwrite
I like it!

old

StirlizZ-Fapicon
Super User Off Offline

imma lold on your avatar
.oo
O
I like it!

old

Jynxxx
User Off Offline

i downloaded it it is a good script 5 stars from me
I like it!
To the start Previous 1 214 15 1627 28 Next To the start