AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Admin Troll (https://forums.alliedmods.net/showthread.php?t=216399)

htcarnage 05-20-2013 15:00

[ANY] Admin Troll
 
4 Attachment(s)
Description
This is a PUNISHMENT PLUGIN!!! It provides server admins a way to give players they do not want in their server an extra slap in the face on the way out. Admins can troll players they do not want in the server into kicking or banning themselves, or they can simply apply punishments unto irritating players. Obviously it shouldn't be used on any players that an admin would want to return... Fully configurable, and works with or without SourceBans.

Punishments:
Kick - Trolled players will be kicked when they type the appropriate command
Ban - Trolled players will be banned when they type the appropriate command
Hide - Trolled players will not be able to see players on the opposing team
No Damage - Trolled players bullets will do zero damage
Mirror Damage - Similar to No Damage, any damage trolled players inflict on other players is removed, and returned to the trolled player.

Requirements
SDKTools

CVars
at_bantime; Time to ban players for
at_message; Text message to print to players being trolled;

Commands
sm_troll without an argument will open the troll player menu

sm_untroll <player|@all>; Removes trolling punishment from players.

sm_newadmin; Command trolled player should type to enact the punishment

sm_showtrolls; Lists trolled players in console

683

lyric 05-20-2013 15:41

Re: [ANY] Admin Troll
 
i dont think its so much as trolling as it is being a dick

htcarnage 05-20-2013 15:59

Re: [ANY] Admin Troll
 
Quote:

Allows admins to troll douchey players
key word being douchey
perhaps I should note that only players that an admin specifies will be able to use the command, otherwise it will give a "No access" error. This keeps other players from mimicking the target player and getting punished as well.

friagram 05-21-2013 08:44

Re: [ANY] Admin Troll
 
I always preferred the sm_happy command.

That or just force spawning said troll in the spot of my choice with 1 hp and having them instantly respawn in the exact same place every half second or so when they die. I used to do it faster, but it wold crash some of them.
Trolls don't like getting dominated by every single player on the enemy team in under a minute. But it is hilarious to watch every time it does happen. And it does happen... every time.

DarthNinja 05-25-2013 01:13

Re: [ANY] Admin Troll
 
PHP Code:

GetClientName(clientnamesizeof(name));

ServerCommand("sm_ban %s %i Trolled"nameGetConVarInt(BanTime));

ServerCommand("sm_kick %s Trolled"name); 

Show me a server running this plugin and I'll show you a server I can run arbitrary commands on.

Dr. McKay 05-25-2013 02:11

Re: [ANY] Admin Troll
 
Quote:

Originally Posted by DarthNinja (Post 1957957)
PHP Code:

GetClientName(clientnamesizeof(name));

ServerCommand("sm_ban %s %i Trolled"nameGetConVarInt(BanTime));

ServerCommand("sm_kick %s Trolled"name); 

Show me a server running this plugin and I'll show you a server I can run arbitrary commands on.

More specifically, you'd want to use something like this:

PHP Code:

ServerCommand("sm_ban #%d %d Trolled"GetClientUserId(client), GetConVarInt(BanTime));
ServerCommand("sm_kick #%d Trolled"GetClientUserId(client)); 

Although ServerCommand is evil. For kicking, use KickClient. For banning, use BanClient or SBBanPlayer (if using SourceBans).

Also, what does this plugin do? I wasn't able to discern what it does from reading the original post.

Drixevel 05-25-2013 05:39

Re: [ANY] Admin Troll
 
Quote:

Originally Posted by Dr. McKay (Post 1957968)
More specifically, you'd want to use something like this:

PHP Code:

ServerCommand("sm_ban #%d %d Trolled"GetClientUserId(client), GetConVarInt(BanTime));
ServerCommand("sm_kick #%d Trolled"GetClientUserId(client)); 

Although ServerCommand is evil. For kicking, use KickClient. For banning, use BanClient or SBBanPlayer (if using SourceBans).

Also, what does this plugin do? I wasn't able to discern what it does from reading the original post.

Assuming you haven't read the source code, the command is used by an admin which selects a certain player and that player receives a message on their screen saying they now have admin, type this command to open the menu and when they do, it bans them on the spot for the reason 'douche'.

htcarnage 05-26-2013 05:35

Re: [ANY] Admin Troll
 
Updated original with the suggestions and improved the description. I hope it is more clear what the purpose of this plugin is.

friagram 05-27-2013 06:06

Re: [ANY] Admin Troll
 
So name yourself something like rage;quit super troll status

ddhoward 05-27-2013 06:13

Re: [ANY] Admin Troll
 
Quote:

Originally Posted by friagram (Post 1959233)
So name yourself something like rage;quit super troll status

Already been fixed, the plugin no longer references the target's name, nor does it utilize ServerCommand.


All times are GMT -4. The time now is 06:07.

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