@Corndogoz Thanks for adding that, I wasn't aware of that. Although, I don't actually use setContents() anywhere that has been a problem (or at...
@HoeMC @mine-care @Lordloss @FisheyLP I actually got it working perfectly just by doing this int clearSize = player.getInventory().getSize() - 5;...
@HoeMC That was my problem, although we don't use getContents(). In this case, we simply use player.getInventory().clear(). It only started...
Hey everyone, I wanted to ask if anyone could give some specifics on the changes to the inventory in 1.9, for developers. Before 1.9, our...
@OhYes Sure, I'll pm you my skype. So, the original issue, the config is now solved? That's good to hear, you can send me a pm on skype about the...
Can you please give us the stack? We can't really do anything without seeing the error or knowing where it is occurring.
@OhYes saveDefaultConfig() should only be in your onEnable(). You should have the getConfig().options().copyDefaults(true) before it, like you...
What @HoeMC said is a much easier way of doing it that didn't cross my mind earlier, I'd try that instead of my code suggestion. Rather than...
@Liam Townsley There's a couple different ways you could do it for every sword, including running it again for every sword. However, it would be...
I'm not exactly sure what you want to do due to lack of detail in your post, but I can tell you this: You could easily get an ItemStack from an...
@OhYes Try saveDefaultConfig() in your onEnable instead of saveConfig()
@OhYes Swap lines 21 and 22. The reason your full config isn't loading in your server is because you're saving the config file before you load its...
@Bayside308 On line 62 in your screenshot you need a closing bracket, you didn't close your onBlockBreak method. You also need to remove the open...
@Konato_K I actually just figured it out, silly tbh, the command I'm trying to prevent the spam of was an alias written into a different plugin,...
Bump
Separate names with a comma.