Dateien

> > CS2D > Lua Scripts > HC Admin Script 1.9.3
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch HC Admin Script 1.9.3 >

552 Kommentare72 kb, 13.028 Downloads

alt 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 hat geschrieben
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
Mehr >

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)
Mehr >
10× editiert, zuletzt 18.12.11 22:30:16
Zugelassen von Starkkz

Download Download

72 kb, 13.028 Downloads

Kommentare

552 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 4 527 28 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

routeXYZ
User Off Offline

Read lines ..
Ich mag es!

alt

Louie
User Off Offline

This is good im gonna use this on my server tho i have a question,how do i make someone a Mod or VIP?
Ich mag es!

alt

Matiherrera02
User Off Offline

Not Found
1× editiert, zuletzt 29.12.14 21:32:58

alt Tag

Dead Man
User Off Offline

Heyyy.. Can I Know How To Change The Tag? Example Change Adm Tag Into Administrator?? I Hope U Reply..
Ich mag es!

alt

eledah
User Off Offline

@user Kirito2K: Replace the old function with this one
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
Ich mag es!

alt

_Yank
User Off Offline

@user eledah: I though that strip commnad would strip the entire items if the item param not specified.
Ich mag es!

alt

Kirito2K
User Off Offline

@user eledah: It work , but can you make it strip a specail item like
!strip 1 74
I hope you can do this too .
Ich mag es!
1× editiert, zuletzt 17.12.14 16:49:22

alt

eledah
User Off Offline

@user Kirito2K:
Open moderation.lua in sys/lua/hc/modules. Add this line inside "function hc.moderation.init()"
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)
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
Ich mag es!

alt

Kirito2K
User Off Offline

I don't understand , how to add a cmd , how to add strip cmd ??
Ich mag es!

alt

RagnaroK
User Off Offline

Not bad, Awesome :L.
Ich mag es!

alt

DarkNeko
User Off Offline

can u just upload hats script
Ich mag es!

alt

DrRose111
User Off Offline

How can i remove Statistics and add more hats?
Ich mag es!

alt Thanks!

SpeakxD
User Off Offline

Thanks!!
Ich mag es!
1× editiert, zuletzt 21.01.16 20:36:49

alt

eledah
User Off Offline

@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:
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
Ich mag es!

alt Helpme D:

SpeakxD
User Off Offline

how to add map to vote menu help
Ich mag es!

alt

BountyHunter
User Off Offline

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.
Ich mag es!

alt

THEMUD
User Off Offline

I Like it But
I won't This Vote Map.
Because i want it for one map.

alt NAME MAP ?

xblade85
User Off Offline

what is name for map ?? CTF_ ??? and good script
Ich mag es!
Zum Anfang Vorherige 1 2 3 4 527 28 Nächste Zum Anfang