po-devs / po-server-goodies

Pokemon Online Server scripts.js and tiers.xml
44 stars 109 forks source link

server punishments & trivia #243

Closed waehofen closed 11 years ago

waehofen commented 11 years ago

Apparently when players in #trivia are kicked/banned from the server, it doesn't affect their status in the game. However, trivia commands that should remove a user from the game do not appear to do anything to users who aren't actually on the server.

Can we have Psyduck do something like what Murkrow does (auto-slaying muted users)?

ghost commented 11 years ago

IIRC Psyduck already removes players from the game who get muted.

All you'd need to do is to call "onPlayerKick" and "onPlayerBan" in the beforePlayerKick/beforePlayerBan events in order for Trivia to be able to remove them from the game when the event occurs.

Once I get git set up I can do that if not done already