User:Clutch152
From WolfWiki
Contents |
[edit]
Contact
[edit]
Description
KMOD LUA
What is KMOD you ask???
Well KMOD is a small shrublike variant to etpro similar to ETAdmin_mod.
There are only 3 levels of admin
- Level 1 is protected user
- Level 3 is highest admin and can issue slient commands in their console by typing /sc then the command as normal.
- Admin levels now customizable! (some features have not been updated for this yet)
[edit]
Features
The features are as follows:
- Killingsprees plus all the other killingspree type stuff (Sounds Included) Messages and location can be changed in config.
- Doublekills, Multikills, Megakills, Ultrakills, Monsterkills, Ludicrouskills, and Holyshits (Sounds Included) Messages and location can be changed in config.
- Flakmonkey's - When you get 3 kills with either panzer or a riflenade. Message and location can be changed in config. Flakmonkey is reset if you get any other type of kill/teamkill/or if you die (Sound included)
- Firstblood (Sound Included) Message and location can be changed in config.
- Lastblood
- Spreerecord (not including records for individual maps)
- Enhanced Private Messaging - The sender can use partial name of recipiant or can now use the recipiants slot number. When using ETPro 3.2.6 or higher, a new sound will be played letting you know that you have a private message. Players can now private message all 2+ level admins currently on the server using /ma or /pma then your message.
- Vote disable was taken directly from ETAdmin mod and is slightly enhanced such that it will detect changes to the timelimit. (see config for details)
- Antiunmute - When a player is muted he may not be unmuted via vote
- Advanced Adrenaline - Players using adrenaline now have a timer in their cp area displaying the amount of adrenaline time they have left. A sound will also be played in their general location letting everyone else know that they are using adrenaline (disableable) (sound included)
- Killer's HP - Killer's HP is displayed to their victims. When you kill somone and are killed in return within a certain amount of time no message will be displayed. When a killer is using adrenaline the victim will see a message displaying so.
- Advanced players - Time nudge and max packets are removed from players list and admins may see which admins (level 2+) are on the server using /admins
- Chat log - All chats are logged along with player renames/connects/disconnects/and map restarts
- Crazygravity - The exact same crazy gravity you've come to know and love
- Team kill restriction - Taken from Etadmin mod and uses punkbuster to kick (see config)
- /kill limit - After the max amount of slash kills is reached they are no longer able to /kill.
- Endround shuffle - At the end of each round teams are shuffled automatically I recomend using this on servers with alot of people.
- Noise reduction - ETPRO 3.2.6 OR HIGHER IS REQUIRED!!! Plays all killingsprees multikills/deathsprees/and firstblood to the killer or victim depending on which one
- Color codes can be changed for lastblood and killer HP display in config
- Spawn kill protection - A newly spawned player will keep his spawn shield until he either moves or fires his weapon. (see config)
- Paths to sounds can be changed to fit server admins needs.
- Shrub style command system + make your own commands ( semicolon delimited format. Rcon commands only )
[edit]
New Features (untested)
The following features have not been completely tested!
- Automute
//Kmod.cfg //************************************************************************************** //Cursefilter set k_cursemode "34" //Set Cursemode (bitflag) // 1 - mute (can be unmuted if they reconnect *OVERRIDEABLE BY NEXT TWO OPTIONS) // 2 - timed mute (See mute time *OVERRIDEABLE BY NEXT OPTION) // 4 - Permanent mute (Permanently mutes by IP address *OVERRIDES TIMED AND REGULAR MUTE) // 8 - slap player (removes a small amount of hp from player *OVERRIDEABLE BY NEXT TWO OPTIONS) // 16 - kill player (kills player but is still reviveable *OVERRIDEABLE BY NEXT OPTION) // 32 - GIB (makes player explode into pieces *OVERRIDES SLAP AND KILL) //The mute time for option 2 doubles each offense and is saved in a file along with permanent mutes. //**************************************************************************************
- Custom Admin levels
//Kmod.cfg //************************************************************************************** //Set Custom Admin Levels!!!!!!!!!!!!!!!!!!!!! set k_maxAdminLevels "9" //Set Built In Commands //Feel free to move the commands around and/or add more sets according to k_maxAdminLevels. //For example: If k_maxAdminLevels is set to 9 then you can make k_admin9 and all those in between. set k_Admin0 "admintest listcmds time date spree_record tk_index spec999" set k_Admin1 "" set k_Admin2 "" set k_Admin3 "" set k_Admin4 "finger kick mute unmute warn" set k_Admin5 "pmute" set k_Admin6 "" set k_Admin7 "makeshoutcaster removeshoutcaster" set k_Admin8 "ban readconfig getip getguid setlevel" set k_admin9 "makereferee removereferee gravity speed knifeonly knockback cheats laser spree_restart crazygravity gib slap panzerwar frenzy grenadewar sniperwar timelimit" //**************************************************************************************
Visit this page for a list of more features
[edit]
Requirements
- Wolfenstein - Enemy Territory, (patched to v2.60) Splashdamage.com
- ET Pro 3.2.3 or higher etpro.anime.net
- write access within the etmain folder
[edit]
Installation
- Download the KMOD Package kmod1.0.zip
- Unzip all files into your servers etpro folder
- Add the following command to your server.cfg
set lua_modules "kmod.lua"
- If you wish to change the prefix for your commands then open the kmod.lua with your editor and look for this line at the top of the document
k_commandprefix = "!" -- change this to your desired prefix
- Save the file and upload it to the etpro folder on your server.
- Ensure, that the script is allowed to create the log files on our server (check File Permissions in ../ET/etpro/.. )
[edit]
Console Commands
- Client Commands
- ma or pma PRIVATE MESSAGE GOES HERE ( used to private message all admins level 2+ currently on the server )
- admins ( Requires level 2+ ) ( displays all admins currently on the server in the usual /players format. )
- Server Commands
- !setlevel PNAME/ID LEVEL
- To set yourself as admin you would use this with rcon. /rcon PASSWORD !setlevel PNAME/ID LEVEL
- !gib (PNAME/ID)
- !slap (PNAME/ID)
- ma or pma PRIVATE MESSAGE GOES HERE ( used to private message all admins level 2+ currently on the server )
- m2 (same as the usual m for private messageing but used when k_advancedpms is set to 1. The reason for this is so the server can use client clot number aswell as partial name to send a private message)
- NOTE: k_advancedpms = 1 is best used for etpro 3.2.6
- !setlevel PNAME/ID LEVEL
[edit]
Shrub Commands
The stock commands are as follows:
*Level 0
- admintest
- time
- date
- spree_record
- tk_index
- listcmds
*Level 1
- spec999
*Level 2
- finger
- kick
- warn
- mute
- unmute
- timelimit
*Level 3
- ban
- readconfig
- makeshoutcaster
- makereferee
- removeshoutcaster
- removereferee
- gravity
- speed
- knifeonly
- knockback
- cheats
- laser
- spree_restart
- getip
- getguid
- crazygravity
- setlevel
- gib
- slap
- panzerwar
- sniperwar
- frenzy
- grenadewar
Other commands were added in the commands.cfg included in the zip file below. Check em out and change the file to your will.
[edit]
Important
- Please check the file size of the log files from time to time and delete it if it gets too big.
[edit]
Download
[edit]
kmod1.0.zip
Latest version Kmod 1.3 (Untested) but released by Clutch152 who is currently unable to continue development. New changes will be made by TG|Raedwulf
[edit]
kmod1.3.zip
Minor panzer limit cleanups
[edit]
