Ultimate Punishment - v4.8, by
v3x
Description:
This is
THE ultimate punishment. This plugin basically removes a player's privledges from your server for good. This is even better than banning a player. One a player has been added to the vault he's now "flagged". It doesn't harm the client in any way, it just makes his experience at your server very torturesome
Once a player is flagged, his/her:
- say commands will no longer work
- voicecomm will no longer work
- weapons will be stripped and/or dropped
- vision will be distorted [x]
- body will glow bright pink
- health will be decreased with a slap
Admin commands:
Note: By default these commands require you to have ADMIN_RCON ( flag "l" ) access.
- amx_addhacker <nick,#userid>
- Adds an in-game player's STEAMID to the vault
- amx_removeid <nick,#userid>
- Removes an in-game player's STEAMID from the vault
- amx_addid <STEAMID>
- Adds STEAMID to the vault
- amx_removeid <STEAMID>
- Removes STEAMID from the vault
- amx_importlist <path/to/file>
- Imports a list of steamids [.cfg/.txt/.ini ONLY]
- amx_upmenu*NEW*
- Shows the player menu for in-game use. A minor bug is present.
Editable defines:
You may edited the following defines inside of the SMA:
Code:
#define ACCESS_LEVEL ADMIN_RCON
// Access level required to run the command
#define VAULT_NAME "hackers"
// Name of the vault file
#define MSG_CANT_TALK "* Shut it nub, you can't talk!"
// Message that displays to the 'hacker' when he tries to talk
#define MSG_SPAWN "* Listen up, BUD! You've been caught cheating so you're privledges are automatically removed from now on!"
// Message that displays when a 'hacker' spawns
#define MSG_DISABLED "* %s has been permanantly disabled!"
// Message that displays when a player is added **
#define MSG_ENABLED "* %s has been enabled once again!"
// Message that displays when a player is removed **
#define MSG_FLAGGED "* You've been flagged from this server. You no longer have any rights here!"
// Message that's displayed when a player is removed (to the player)
#define MSG_UNFLAGGED "* You've been unflagged from this server. You will be able to play freely soon!"
// Message that's displayed when a player is removed (to the player)
#define SLAP_DAMAGE 99
// This will slap the player to 1hp when set to 99 if the player has 100hp (0 for a friendly slap)
#define GLOW_PINK 1
// If set to 0 the player will not glow pink, 1 otherwise.
#define BLOCK_JUMP 1
// NOTE: If set to 1 you WILL need the FakeMeta module! Set to 0 otherwise. [CURRENTLY BROKEN]
#define MESS_VIEW 1
// Set to 1 to mess up the player's view even more, Set to 0 otherwise [CURRENTLY UNTESTED]
#define MAX_PERPAGE 7
// Max # of player names per page on the menu. [DO NOT GO OVER 7 OR UNDER 1!!]
// ** You can comment out to not display the messages
Required modules:- nVault
- Engine
- Fun
- Fakemeta (if blocking jump)
Credit to 10stars for the awesome idea!
Enjoy!