Hi there! Glowstone is a fairly ambitious project that's existed in some form for over three years. The basic goal is to be a from-scratch...
The default scoreboard is persisted automatically. Any plugin-created scoreboards must be persisted by that plugin.
Your code won't work and shouldn't be compiling at all. You need to check if the block is a sign and if so perform the cast to...
You're missing the @EventHandler annotation.
Try logging all the parameters at the beginning of the function, to see if maybe cmd.getName() is returning something weird or the method just...
So are you only supplying "/globalbuffs" as your command input? Your code specifically says that shouldn't do anything and returns false (which...
You don't check if args.length == 0 until after you've already tried to access args[0]. If the condition is true you've already errored out, if...
Your post formatting is really broken. What does your plugin.yml contain? What command are you issuing, what do you expect to output, what...
It's a method on Player which takes a Location, sound name, volume, and pitch in that order. player.playSound(location, "path.to.sound", 1.0f, 1.0f)
In "pot.getType().toString() != null && pot.getType().toString().equals(words[0])", the first condition is always false (at least in a sane...
There exists a playSound which takes a String, which presumably is somehow mappable to the sound path in the resource pack.
As an added bonus, configurations offer getInt() so you don't have to parse strings manually.
Your braces are mismatched so you're trying to put one method inside another, which isn't allowed. You just need to rearrange your code and add...
Separate names with a comma.