Testing player permissions
You can test the new addition to the plugin by building the jar
file and installing it on your server, as discussed in Chapter 4, Testing on the Spigot Server. Ensure that you reload or restart the server so that the newest version of the plugin is used. Remember that the version number is printed on the console when the plugin is enabled.
By testing on your server, you will find out that you can enchant items through the plugin. Since you are an OP, you have the enchanter.enchant
node by default. De-OP yourself by using the following console command:
>deop Codisimus
Now, you will no longer be able to use the /enchant
command.