User:X-DOS: Difference between revisions
!spec999 |
|||
| Line 75: | Line 75: | ||
*: some info about !NGadmin ;) | *: some info about !NGadmin ;) | ||
'''TODO:''' !maps | *!spec999 | ||
*: removes idle players and players with high ping | |||
'''TODO:''' !maps, !help | |||
==== private messages for admins ==== | ==== private messages for admins ==== | ||
Revision as of 11:44, 2 March 2009
!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
Displays a message when teams are uneven. Also forces new players to join offensive team, when they are equal.
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 ;)
- !spec999
- removes idle players and players with high ping
TODO: !maps, !help
private messages for admins
Provides an admin chat.
/ma message /pma message
Optionally you can use PMA to notify all connected players as "!NGadmin"
/ma !NGadmin message /pma !NGadmin message
private messages for players
Provides a system of private messages.
/m player message /pm player message /msg player message
- where player is a partial name, name or ID
If recipient is !NGadmin then the message is displayed to referees or the admin is notified via jabber.
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.