Any idea on my Edit?
Is that needed? EDIT: It works, sort of...now it gives me another error: [10:19:06 ERROR]: null org.bukkit.command.CommandException: Unhandled...
Some serious necroposting, but this is a great piece of code.
So I'm developing a plugin that stores the amount of businesses in a custom yml file. Every time I call a certain method, the plugin gets the...
I mean in a config file.
Lol yeah. But how would I get the lores and put them into an ArrayList? Also thanks.
Sorry for bumping old threads, but how would I put these into ArrayLists, and then send them to a player? I have: Drinks: Beer: lore: From...
Can you explain to me how that would work, maybe with code? I don't think that would work considering how nothing I've tried has worked. Thanks.
EDIT: This doesn't work. It always deletes the two spaces on reload. I have no config changing methods in my plugin either. Actually on second...
I have to go now, but how many spaces would there be to list stuff? just 1 between the - and the item? Thanks in advance.
I'm trying to get an ArrayList from config.yml and then send a message to the player that types in a command that gives the first value of the...
It still doesn't work. But thanks for the fast replies. ;) EDIT: I found out the problem is somewhere in the getConfig but I don't know how to...
Sorry if this is a stupid question, but getPluginManager() is apparently "undefined for the type Main". EDIT: It doesn't show any errors with...
Hello, I am developing a plugin where when a player drinks a potion with a specified display name, he will be given effects. However, when I test...
That's weird...my old plugins worked and then i changed the main class and it didnt work or something like that. will try this HeyAwesomePeople...
Separate names with a comma.