User:X-DOS
!NGadmin
An administrative modification for ETPro developed in LUA
I was (I am?) trying to build a server with objective gameplay, and whole community connected with multiplayer games (especially platform independed). ETadmin mod was a little non-up-to-dated (and huge) so I just removed it. Started writing a really simple script in LUA to handle some commands - only that. But when I got the power of LUA, the mod has growed. Now I'm rewriting that script to a new, module-based application to share it with ETPro community. But before; I'm looking for testers - simple I can't check everything by oneself.
- Thanks in advance,
- X-DOS
work in progress
modules
authorize
Each admin has own password. To get access to a server you have to use:
/ref server_password admin_password
Both of them must match
badnames
Detects if player's name is forbidden (defined in file) or abusive (require badwords). If so, the player is renamed and a warning is attached (with private message).
badwords
If someone used an abusive language (defined as regexps in file) in main or team chat (TODO: expand?), then a warning is attached (with private message).
balanced teams
commands for admins
As an admin you can use following commands:
- !kick player [period] [reason]
- kicks a player (name, partial name or ID) from server
- optional is period and reason of kick
- !mute player
- mutes a player (name, partial name or ID)
- TODO: time mute
- !mute all
- mutes all connected players in main chat - also known as STFU-mode :)
- !unmute player
- unmutes a player (name, partial name or ID)
- !unmute all
- allows connected players to use main chat
- !rules player
- displays server rules to a given player (name, partial name or ID)
- !rules all
- displays server rules to all connected players
- !rules msg
- displays define message (mine is "cp OBJECTIVE GAMEPLAY") to all connected players
- !warn player [reason] [message]
- gives a warning to a given player (name, partial name or ID)
- optional is reason (public) and message (private)
TODO: !ban, !getss !protect?
commands for players
Allowed commands for players:
- !time
- displays current server's time
- !info
- displays some informations (defined in file) about server
- !rules
- displays server rules
- !ngadmin
- some info about !NGadmin ;)
TODO: !maps, !spec999 (plug-in?), !help
private messages for admins
Provides an admin chat. usage: /ma message
selfkills restrictions
Allows selfkills only 3 seconds before respawn. After reaching a number of violations, selfkills are blocked and a warning is attached.
weapons restrictions
Allows using soldiers or rifle grenades depending on number of players. Landmines are disabled till reaching a certain number of players; then a one landmine per player is added.
callvote protection
TODO: needs rewrite from v1.0
libraries
- admins
- client
- disconnected
- file
- datafile
- gamestate
- names
- players
TODO: etpro guid
Libraries are used to share some informations/operations. I will describe them later - it's technical, not needed now.
Author
X-DOS
- e-mail: http://network-games.eu.org/x-dos/mail.png
- jabberID: http://network-games.eu.org/x-dos/jabber.png
- irc: #network-games @ irc.quakenet.org
NETWORK-GAMES.eu.org - the project aiming to promote and support free multiplatform games and community behind them.