Yes, this is the EventHandler that replaces a block when it gets mines, (this plugin is actually a oneblock skyblock). @EventHandler...
I'm coding a SkyBlock Plugin. I want the "island_progress" to increase by 1 every time the player breaks a block. Then when the island_progress...
I solved the problem. The error was somewhere else in the code. I changed the value of the mainBlock location so it didn't return true. Setting...
For version until 1.16 you need to compile in Java 1.8 , for 1.17 and beyond you need at least Java 1.11, or something like that
@CraftCreeper6 ok, I didn't knew thanks
@CraftCreeper6 The problem is that the new block is never replaced when I break it. This plugin has to replace the block you broke with another...
There is not need to cast e.getPlayer() to Player As far as I know, the following symbol == in java compares the address of the 2 variables. If...
Or in just one line String name = event.getPlayer().getName(); If you only need the player's name and not the instance of the player this is way...
Did you change the version the server was running on? Did you write something else to GrandProject.jar? Maybe the plugin is too big and you need...
I know could be ambiguos so I'm going to explain When a player breakes a block I want to check if the block broken is in a specific location. The...
Thanks now it works perfectly. I'll follow your suggestion of UUIDs
I was trying to create a SkyBlock Plugin for my server. When a player types /is go the program checks if the sender has an island. All the islands...
Separate names with a comma.