I started to work on a B3 plugin called "VIP", and as it's the first b3 i'm working on, i ask if someone used to plugin development can tell me if my code is (or seems ^^) working, or if I need to change everything :).
What I want it to do (and it should do) :
The VIP is a player who is protected by the server : when a player hits him, the server slaps the attacker.
2 ways to configure : random : the server chooses a player, and it changes when he dies or disconnects
admin chosen : admin indicates what player he wants to protect
(there is an "off" argument to turn off plugin)
(I don't know if it's the correct section, please move it if it's not)
Source code :
https://github.com/G...b/master/vip.py
Thanks !
This post has been edited by GcBrothers: 10 May 2014 - 12:58 PM