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...
Replace getKeys(true) with getKeys(false) - getKeys(true) will return a list like ["TeamName1", "TeamName1.Color", "TeamName1.Players"] while...
I would give PlayerJoinEvent a try rather than PlayerLoginEvent.
It's probably something simpler: the player's scoreboard is reset to the default, you need to set it back to "board" when they join. The team...
You're looking for values in the wrong place: `teamNames.getKeys(false)` vs `teamConfig.getStringList(key + ".Players")`
"Main main = new Main();" all over the place in the TTT class, as pointed out by the stack trace, is the problem. You can't create new instances...
This is a little clunky but generally works for me when I need to use it (which is only occasionally). In IntelliJ, add a "Remote"-type...
"The system cannot find the file specified," and I didn't need to know German or look it up. The problematic line of code (or the first one I...
Separate names with a comma.