AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Ultimate Punishment 4.8 (https://forums.alliedmods.net/showthread.php?t=27421)

v3x 04-22-2006 02:32

Ultimate Punishment 4.8
 
1 Attachment(s)
Ultimate Punishment - v4.8, by v3x
http://www.amxmodx.org/forums/images/divider.gif
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 :twisted:

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! :D

eFrigid 04-22-2006 02:34

Nice job!

Bo0m! 04-22-2006 02:36

:shock: This... is probably one of the best ideas I've seen in a long time.

I just cleared my server's ban list and added everyone into this :twisted:

v3x 04-22-2006 02:52

1. Should I add a namelock?
2. Should I add a player menu?

Arkshine 04-22-2006 03:59

Nice plugin.

Good job as usually. :)


Quote:

Originally Posted by v3x

2. Should I add a player menu?

Oh yes ! If you can. :)

v3x 04-22-2006 04:00

1 Attachment(s)
Done.

Added pink glowing, name locking, and a player menu ( amx_upmenu ).

You may test this version.

Arkshine 04-22-2006 04:02

+karma for you. I love your plugins. :lol:

Guenhwyvar 04-22-2006 04:11

Nice idea!

Quote:

Originally Posted by v3x
2. Should I add a player menu?

Could you alter the amxmodmenu-banmenu and add an option "add to vault"? If an admin detects a cheater and enters the banmenu, he could choose between the different bantimes and adding him to the vault. E.g.:
He cycles with the key "8" through these options:
add to vault/5/60/6000/perm

NedStar 04-22-2006 04:16

Will give it a try, sounds very usefull.
+ karma

v3x 04-22-2006 06:04

I have to fix a few things in the current version. It'd be best if you would wait til then.


All times are GMT -4. The time now is 09:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.