I am currently making a plugin where players with a permission can use explosive eggs and it is all working fine expect when I try to load it into my server. I get an error invalid plugin.yml. Does anyone have a solution. Plugin.yml is below if you need class files just ask. name: TpEggBomb version: 1.1.0 main: me.bukkit.TpEggBombJava7.Main author: 3brandon3 commands: eggtoggle: description: turns TpEggBomb on and off permission: egg.bomb.toggle eggbomb: description: tells players if eggbomb is enabled! permission: egg.bomb.tell permissions: egg.bomb.toggle description: Allows owners and admin to disable TpEggBomb default: op egg.bomb.use description: Allows players to use eggbomb default: op egg.bomb.teleport description: allows players to teleport with a golden hoe! default: op egg.bomb.tell description: default: true
baseball23 Hard to check due to the fact that there are no spaces. If you told us the list of commands, it would have been a LOT easier. Here's what I 'tried' to do, it may not be 100% correct. Code: name: TpEggBomb version: 1.1.0 main: me.bukkit.TpEggBombJava7.Main author: 3brandon3 commands: eggtoggle: description: turns TpEggBomb on and off permission: egg.bomb.toggle eggbomb: description: tells players if eggbomb is enabled! permission: egg.bomb.tell egg.bomb.toggle: description: Allows owners and admin to disable TpEggBomb default: op egg.bomb.use: description: Allows players to use eggbomb default: op egg.bomb.teleport: description: allows players to teleport with a golden hoe! default: op egg.bomb.tell: description: default: true
DJSkepter "egg.bomb.use", "egg.bomb.teleport" and "egg.bomb.tell" are supposed to be in the permissions node.
Totom3 Make sure you don't use tabs in this file, or in any YAML file. Only use spaces. If you are using notpad++ do this: http://ess.khhq.net/wiki/YAML_Tutorial If you are not using notepad++, you should download it. Hope this helped
moe097 I'm pretty sure that IDEs come with the option to use spaces instead of tabs. And since most developers use an IDE, there is no need to get notepad++. baseball23 http://yaml-online-parser.appspot.com/
fireblast709 I forgot that you could use the IDE for that. I usually don't use my IDE for my yaml files.
@baseball23is your plugin.yml in the right place? in my first plugin I did that, drove me nuts for days