Hello, I've updated my server to Spigot 1.20.2 using BuildTools, but now my plugin is not sending (correctly) packets anymore. simplified I have...
That's weird. You get a NullPointerException after you check if that object is not null. You sure this error log is from this code?
HashMap<UUID, QuestManager> playerQuests = Main.getQuests(); //get Main instance for static hashmap containing players and their quests Shoudn't...
Another way to do this is by calculating all the points where a particle will spawn and at the end teleport the player to the end location. Or...
at the end do you use 'saveConfig()'? If not, try that. Otherwise I don't know why its set to null. Can you post what you have?
//to save inventory content getConfig().set(path + ".content", inventory.getContents()); //this is an implementation to get the content I've used...
I'm not sure what skull.getRotation() returns, but I suggest that you use that instead of the yaw of the block (b.getLocation().getYaw())
UUID.fromString("data") is wrong, you want UUID.fromString(s). This will get the UUID object of s, otherwise UUID will try to create the UUID...
Most of it, but not all (only from org.bukkit). I got it working when using the server/bundler/libraries and server/bundler/versions folder. In...
The craftbukkit jar has all the other libraries in it. Like json-simple and minecraft self
Hello, I've downloaded craftbukkit-1.18.jar and imported into IntelliJ. IntelliJ cant find anything bukkit related, a quick search into the jar...
This is about the same way I would have done it. But I'd change: private int getDuration(String val) { if (val.length() == 1) return...
is it possible that 'stande1' is null?
This may not be the most effective way, but how I would try this is start in the CommandLocate command from net.minecraft.server. If you look in...
You can use PersistentDataContainer, This way you can give each wand a special function if that is maybe something you want to use but didnt know...
How I use it: make the object: public class ColorTheme implements ConfigurationSerializable { public static ColorTheme...
Can't you just use String.join(" ", args);
@NoU_X2 Shouldn't you implement 'org.bukkit.event.Listener' in stead of 'io.netty.handler.codec.http2.Http2Connection.Listener'?
Prior to Minecraft 1.13 its indeed SULPHUR, in 1.13 Bukkit renamed all its Materials to match the MC name, so its now GUNPOWDER
Nice, thank you. Not what I wanted, but exactly what I needed. To use HEX colors use '§x§R§R§G§G§B§B'
Separate names with a comma.