I have made a few test plugins as my first few steps into Java script. I have watched 10 plus tutorials following instructions perfectly and I still can't get my plugins to work! I export them from Eclipse and NetBeans and they still dont work. One of my plugins will be attached in like 15 min. Can anyone explain or help me with how to make it work? Link to my JAR I uploaded. http://www.megaupload.com/?d=2XOXDGX7 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@tjs238 So I think your commands don't work right? You have to register the commands in the plugin.yml. For example: Code: commands: vip: description: Your command description permission: Your permission node (maybe vip.use) usage: | /<command> <pass> With this in your plugin yml it should work
@Master24 I have something like that. But wouldn't I need to call in permissions into the class files? Code: name: HelloWorld author: Tjs238 main: me.tylerludka.plugins.helloworld version: 1.0.0 commands: vip: description: Teleport yourself to the main vip area usage: | /<command> <pass> Thats my plugin.yml
@tjs238 No you don't. Just add this to the plugin.yml Code: commands: vip: description: Your command description permission: Your permission node (maybe vip.use) usage: | /<command> <pass> EDIT: Tried it out. Now the vip command will work.
No not the old. I mean the new where you added this code in your plugin.yml Code: commands: vip: description: Your command description permission: Your permission node (maybe vip.use) usage: | /<command> <pass>
Are you sure?? Because when I open your plugin.yml it's still without the commands. Did you really add the code i gave you in your plugin.yml?
@Master24 Forsure this is the updated one. It is larger than the other http://www.megaupload.com/?d=29D97REG Reuploaded it.
Yes now it's a different one but the plugin.yml is still the same. Please replace your plugin.yml with this one here : plugin.yml Then it should work
@Master24 Thank you so much! It works now! I dont know what you did to make it work! I hit save and i guess it never saved! Oh well thanks so much master! Now i can finish my other plugin.