teozfrank / DuelMe

DuelMe is a bukkit plugin to allow players to duel each other for fun
http://dev.bukkit.org/bukkit-plugins/duelme/
MIT License
9 stars 14 forks source link

Adding new command "duel toggle" #62

Open TheSnoozer opened 8 years ago

TheSnoozer commented 8 years ago

Hi, I thought it would be a good idea to have some sort of command to ignore duel reuqests (like the same as you can ignore tp requests).

Let me know your thoughts :-)

Thanks,

Also cleaned up a bit and prevented some possible NPE's.

teozfrank commented 8 years ago

wow thank you, has it been tested too?

TheSnoozer commented 8 years ago

works fine for me on spigot 1.8.8 server :-) Not sure if the duel toggle will survive a server restart (e.g. when u switched off and the server reboots it may be that u can requests again; however maintaining and keeping a file of toggled player would be to overkill I guess).