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

Comments

552 comments
Page
To the start Previous 1 210 11 1227 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

@user NoHackStudios: You can either edit sys/lua/hc/data/config/users.hcu or use the menus. If you edit the file, enter
1
USGN,level,name
Level is one of VIP, Mod1, Mod2 and Adm.

If you want to use the menus, the person must be online in the server. Press F3 and then Administration and Register User. Select the person and the level.

old

NoHackStudios
User Off Offline

Happy Camper I have question...
How do you make other people moderators?..
I like it!

old

Happy Camper
User Off Offline

@user Noname12345 -GER-: Skip the spaces after the commas and capitalize the a:

1
104969,Adm,noname12345 -GER-

Your USGN is 107962, btw.

old

Noname12345 -GER-
User Off Offline

for example:
it is so right?

"104969, adm, noname12345 -GER-"
because i dont know :-/
I like it!

old

MAFIAKiller
User Off Offline

Very cool thx
I like it!

old

Diiegoxd
User Off Offline

Hey, I just gives me VIP, I dont like you said and just gives me VIP
I like it!

old

Dragonisser
User Off Offline

its seems it doenst work for me.

LUA ERROR: sys/lua/hc/hc.lua:24 attempt to concatenate field 'DIR' (a nil value)

old

Cereal Guy
User Off Offline

how to add more colours for chat?
I like it!

old

kralzaza_3
User Off Offline

You write really good scripts, congratulations. I liked this script's map vote and text on the left corner (next map bla bla). I want use this module without use the admin script, i dont want use admin script but i liked this module. Can i seperate this module and run it alone?
I like it!

old

Happy Camper
User Off Offline

@user _Sub-Z3ro_: Follow the installation instructions and then start your server. That should be all.

old

Pein62
User Off Offline

Good lua dude.
I'm happy
I like it!

old

_Sub-Z3ro_
User Off Offline

How to run the script???

old

Happy Camper
User Off Offline

@user Zurak: Thanks. Yes, editor_form.png is used as a background to my simple implementation of an editor window. You can see it, for instance, when you read or edit offline messages. Type !om and press return to make it open.

Right now you can only see the png file when you are playing (and not dead), but in the next release it will be visible even when dead or spectating.

old

Zurak
User Off Offline

Great Script! but just 1 question, in the gfx folder there is editor_form.png, is that even used? if it is then for what?
I like it!

old

Happy Camper
User Off Offline

@user Thug Life: Have another look at Frequently Asked Questions. There's a description for that as well.

old

Thug Life
User Off Offline

Ok,thank you,but how can i make more attribs images?
I like it!

old

Happy Camper
User Off Offline

Hi @user Thug Life: Take a look at Frequently Asked Questions above. There's a description how to add new maps.

old

Thug Life
User Off Offline

Good script,Happy Camper!I like it,but how can i put the maps on vote map list of your script? Please , answer at my question.
I like it!

old

Seekay
Reviewer Off Offline

@user igneousstars: It's on your profile and if you just move your cursor above your name or avatar it will show up.

Already here for a few months but still has no idea how to click on links. Wow, just wow.

old

igneousstars
User Off Offline

How i can find my U.S.G.N number?
I like it!
To the start Previous 1 210 11 1227 28 Next To the start