This pull request completes two issues that I submitted, #346 and #452. It is a fix for enchantments being removed when items with these enchantments are used in spawn. It also adds a feature that removes permissions as defined in the war configuration, and re-adds them after the match is over.
Closes #452. Enchantments are re-added to the item.
Closes #346. Removes permissions from players as defined in the config
Take a look at https://github.com/taoneill/war/tree/cma-perms-enchant. :)
I can't get this to work without a "addpermissionscommand" and "removepermissionscommand" just like in Karma. :/ Sucks.
I'll work on getting the perms stuff working later. I published the branch on my repo if you still feel like working on it. :)
Closing this old pull request due to age. I may in the future finish up this feature, but I need to be able to actually use the master branch in my fork :)