Ah yeah, I didn't notice that. Alternatively config could be getConfigurationSection(uuid) Sent from my SM-G903F using Tapatalk
config.getString("Name").equals(yourName) should do it. Obviously change config and yourName to whatever your variables are called. Hope this...
Spigot is different to CraftBukkit. Spigot is like CraftBukkit+1, so you need that in your pom.xml to use Spigot methods...
Don't think that's possible. You could try an action bar with a lot of empty characters at the start, but if that doesn't work then it's...
You're probably thinking of Titles. I believe Player#sendTitle will help here Sent from my SM-G903F using Tapatalk
Looks good :) Getters and setters are part of a concept called Encapsulation (only giving access to bits of code that need to be accessed), so...
Ahhh, I see what you're doing now. I was thinking of a Set<UUID> (make the variable type the interface not the implementation, it doesn't affect...
Not sure a HashSet is what you're looking for. That's just an indexed list of non-duplicate (so it could only store at most 2 things AFAIK)....
That could work, although if lots of people are opening at once it *could* overwrite the Boolean from someone else. What I'd suggest doing (albeit...
StackOverflowError is when something repeats over and over again until the stack runs out of memory. Usually it's when some method calls another...
This is possibly not the most efficient way, but I listen to any events that could change a block (BlockBreakEvent, BlockPlaceEvent, etc) and add...
Oh, really? My bad, never knew that. Sent from my SM-G903F using Tapatalk
Return true instead of false. Returning false assumes that the user typed something wrong, so it shows the usage. Sent from my SM-G903F using...
Yep. Once/if you get into advanced stuff, I like to use a more complex way that doesn't require a plugin.yml, and is much more organised, modular...
Make sure your commands are registered in your plugin.yml, and in your onEnable put this: getCommand("cmdname").setExecutor(this); Sent from my...
Separate names with a comma.