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 225 26 27 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

@Quickshooter052:

You add new users by editing the file sys/lua/hc/data/config/users.hcu . Enter lines like this:
1
usgn,role,name
usgn = the USGN (Unreal Software forum) number
role = Adm | Mod2 | Mod1 | VIP
name = the name of the user

Here is what you should enter to make yourself admin:
1
39837,Adm,Quickshooter052
Once you are admin you can manage users using the in-game menus: F3->Administrate->Register User/Manage Users
edited 1×, last 13.03.11 04:10:20 pm

old How..?

Nameless052
User Off Offline

How can i make someone an ADMIN,Mods.,VIP?

old

commanderalex1
User Off Offline

awesome script and works fine for me no bugs o.o
I like it!

old

Ice-cream16
User Off Offline

I found 2 bugs. Becouse of this script not works Images for Death Notices. And when enemy shot in you, not always appear hud_arrow, because of what i often die.
I like it!

old

Happy Camper
User Off Offline

@TheFire1: Did you follow the instructions in Readme.txt?

old

Egoist
User Off Offline

I cant activate lua pls help me
I like it!

old

Amoeba
User Off Offline

This is a nice script but where shal Ia add maps for VOTE MAP LIST
I like it!

old

wildarm5
User Off Offline

good lua, i think its great. yuo make some pretty good lua script!
I like it!

old

Coke2d
User Off Offline

good lua works for me 5/5
I like it!

old

paladin1
User Off Offline

camper lua is good but i cant play this lua
I like it!

old thanks

majL
User Off Offline

guao its very good lua thanks
I like it!

old

Happy Camper
User Off Offline

@cemo: Did you edit sys/lua/server.lua as it says in Readme.txt?

old :/

DIIN
User Off Offline

I am noob at lua :(.
i downloaded i wrote my usgn now what <.<
I like it!

old

Deatherr
User Off Offline

i have tried that hc but still i'm still stuck on the top 10 list
I like it!

old

Happy Camper
User Off Offline

@Deatherr: You mean you open the top player list when you play and then you can't close it? Press F4 to open the menu. Then select "Close". That should remove it.

If you have remapped your keys, you might have to press some other key. Look in Options what key Server Action 3 is mapped to.

old

firefox
BANNED Off Offline

i just want to ask why u vote 1 star , any way it's u r think man not me i know one thing it's the best script ever
I like it!

old Help

blandybeko
User Off Offline

@ Happy Camper: What do I do edit the file?

old

Deatherr
User Off Offline

thanks happy camper for the diffent types and.. any idea why i get stuck on the top 10 player list?
I like it!

old

Erdem_
User Off Offline

AWESOME!!!. Best admin script Thanks Happy Camper and Where are you? i can't see you for summer

old

Happy Camper
User Off Offline

@blandybeko: Did you follow the instructions in sys/lua/hc/Readme.txt?
To the start Previous 1 225 26 27 28 Next To the start