OldSchoolHack

Registrieren / Anmelden Deutsch

[MW3] Server Addons [Update 08.02.2012]

icon Thema: [MW3] Server Addons [Update 08.02.2012]

Anmeldungsdatum: Mär 2010

Beiträge: 220

Ingame RCON tool [Version 0.5.5]
Hey guys,
A few days ago I started coding a plugin for the MW3 server addon by Nukem (check the correct thread for more info) and am posting it here. This is my first plugin and very much a work in progress, so if you encounter any bugs or have any feature requests, please let me know.

If you encounter any bugs, please tell me what triggered it and if it always happens. Any 'Stupid plugin no work' posts will be ignored if they dont contain any proper info.
Bugs can also be reported on http://94.75.245.138/forum/viewtopic.php...=447#p4288
That thread also contains a mirror to the most up to date plugin

Current version: 0.5.5 BETA

Current features:
-Kick by clientname or number
-Ban by clientname or number
-Yell (Say somethin on a players HUD)
-Playerinfo, Displays clientID, XUID, number of warnings, and name
-Basic permissions support
-Fast restart
-Warn and unwarn
-Kick on set warnings number
-Remember warnings on player disconnect
-Xuid command accesible for every user
-Addadmin command ingame
-Warning abbreviations, i.e. !warn player l will result in Bad Language
-Language filter
-Rcon command (i.e !rcon map mp_dome) (iAegle's idea )
-Tempban (currently uses the sv_kickbantime parameter in the config file, not variable :/)
-Ping commands added
-PM Support
-Rules support (can be set up in sv_config using the variable pmRules true to pm the rules, false to broadcast to the server)
-Help command
-Define which commands are accesible to users
-Time to live for warnings (can be defined in sv_config using the variable warningTTL = time in hours)
-Reload configs on the fly (except for usercommands atm, will ERASE all current warnings)

Todo:
-Player connect messages
-Customizable text
-(maybe) Multiple usergroups
-Immunity
-Switch maplist
-Command Aliases
-Customizable warnings trigger (i.e You hacker! --> warned for whining about hacking)
(All custom map control features are on hold until i figure out a viable way to do it)

Usage:
!help - Shows this list
!kick [Playername] (reason) - Kicks a player with optional reason
!ban [Playername] - Bans the player permanently
!banc [clientnumber] - Same as ban but with clientnumber
!kickc [clientnumber] (reason) - Kicks a player with optional reason
!tmpban [playername] (reason) - Tempban a player, ength is the time in sv_config.ini
!pm [Playername] [message] - Pm's the player with [message]
!ping (playername) - Displays the ping of (playername) or you is no playername is given
!maxping - Displays the player with the highest ping
!minping - Displays the player with the lowest ping
!pi [Playername] - Displays the players name, xuid, warnings, and clientnumber
!yell [Playername or all] [Message] - Displays message on the players hud
!warn [Playername] (reason) - Warns a player
!unwarn [Playername] (reason) - Removes a player's warning
!ver - Displays this plugin's version
!xuid - Displays your player XUID
!rcon [Command] - Executes [command] in the console
!resetconf - Resets the configuration to the defaults
!rel - Reloads all configs
!addadmin [Playername] - Adds player to the admin group
!addword [Word] (word) (word) etc. - Adds the word(s) to the language filter
!fastrestart - Quickly restart the map
if permissions is used:
!addadmin (part of) playername

If language filter is used:
!addword [badword] [badword] etc.

Disabling permissions:
set usepermissions in sv_config.ini to false
Disabling language filter:
set uselangfilter in sv_config.ini to false
Setting the warnings until kick:
set kickwarnigns to the number you want
First time setup:
Add your own XUID and name to the admins file in the serveradmin folder
(format: [XUID] [Name])
run !resetconf
restart the server

Changelog per 27-01-2012:
Commented and reorganized a large portion of the code
Made the plugin much more stable, it should not crash anymore on any invalid or missing input, files, etc.
Added a proper readme
Moved the changelog to a seperate text file, the most recent changelog can be found in this thread as well.

The permissions plugin is meant as a temporary solution until Pozzuh gets his to work properly on linux

Virusscan result [Version 0.5.5 BETA]:
https://www.virustotal.com/file/6db7c2ba...327683630/
MD5: 09641386e306c8cc688bc8aac7c180aa

External download: http://94.75.245.138/plugins/ServerAdmin.rar


Thanks to nukem for his AWESOME addon

http://no-haking.square7.ch/images/wbb3-header-logo.png



__________________

http://no-haking.square7.ch/images/wbb3-header-logo.png