• Block Trading when not in setup
    12 replies, posted
Remember the times when all your team used to sit in respawn and trade? This doesn't exist anymore. I present you, my new plugin that I didn't even test but it should work in theory: Block Trading If a player effectuates a trade when not in setup, he is banned for 5 minutes. By default, the players aren't banned if they are in spectator. Download it for your server here: [url]http://forums.alliedmods.net/showthread.php?p=1348239[/url] The only way to detect that a player traded is after the trade has been completed, the rest of the process is all client-side, it is not possible to block trading or anything like that, this is the only way.
Wow this actually might be useful. Good job :)
Huh. Interesting, and possibly useful, but it doesn't seem like it's that much of an issue to me. Most people who are just trading hang out at the main menu or in trading servers.
[QUOTE=Inacio;26022805]Prepare for SPUF raiding your home[/QUOTE] I already installed a machine gun here, ready to defend myself when I make these plugins. [editline]12th November 2010[/editline] [QUOTE=Benstokes;26022795]Huh. Interesting, and possibly useful, but it doesn't seem like it's that much of an issue to me. Most people who are just trading hang out at the main menu or in trading servers.[/QUOTE] I live in Brazil, there are less than 50 servers here, no trade servers, people just spam chat when looking for a trade.
[QUOTE=Inacio;26022805]Prepare for SPUF raiding your home[/QUOTE] [img]http://cdn1.newsone.com/files/2010/08/antoine_dodson.large1.jpg[/img] They're climbin in yo windows and snatchin yo hats up
Well this is really lame. Retard: HEY I NEED A GUNSLINGER Retard: HEY I NEED A GUNSLINGER Retard: HEY I NEED A GUNSLINGER Retard: HEY I NEED A GUNSLINGER Retard: HEY I NEED A GUNSLINGER Retard: HEY I NEED A GUNSLINGER Retard: HEY I NEED A GUNSLINGER Me: FINE HAVE MINE *initiate trade* *BANNED* FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
This is really dumb IMO. The setups for rounds are like 1 minute. If your trade period just extends slightly longer than that, BAN!
Actually, when the trade is completed, but the player is banned. Also, players can go to spec if they want to trade.
can you make it so it only bans if you spend over a minute trading or something?
[QUOTE=M28;26023137]Actually, the trade is completed, but the player is banned. Also, players can go to spec if they want to trade.[/QUOTE] You'd be better off just having players be removed from the game for being idle though. I find it unnecessary that you have to go to spectator for a trade, and the fact you get banned just for not trading fast enough. It's really just a big inconvenience for a simple problem. I see the tool works for it's purposes but honestly it's just not necessary.
This is stupid. Don't ban them, just auto-cancel the trade. This is a good way to clear out your server and make everyone hate you.
You can't cancel trades, plugins can only detect trades after the trade is done, then it's too late to tell the player.
Sorry, you need to Log In to post a reply to this thread.