The variable DiamondDropment is a boolean but the scheduleSyncRepeatingTask method returns an int.
@DaveLillo You might want something like this query: String name = "xyz"; String query = "SELECT * FROM `table_v2` WHERE `playername`=`" + xyz +...
Sorry, ignore this message. Can't seem to delete this post.
String query = "SELECT * FROM `table_v2`"; ResultSet rs = s.executeQuery(query); while (rs.next()) { String playername =...
Whatever library you're using to execute SQL queries should have a method to execute a query and get the results. Oracle docs
I'm pretty sure you cannot just get all data from a database. You would have to get all the data from the tables. This and this might help
This should help.
But then from what I see you are not loading the world back in again.
I skimmed through that code and the only thing I saw was that you're unloading a world.
You should pretty much always use cmd.getName() because thats the actual name of the command that the user executed. The command could have a...
Are you sure the world exists and is loaded? Not sure if this is important but are you also sure the coordinates are valid?
Epicballzy including the "§3§l" before the [Pvpkit] thingy in the if statement
Epicballzy Remember to include the colour codes when checking the first line of the sign in the player interact event.
You must get the BlockState of the block then cast that BlockState to Wool. Something like this.. Block block = theBlock; //obviously change this...
You can see from the stack trace you are trying to cast the block being placed to Wool. You must cast Wool from the block.getState()... I tried...
Separate names with a comma.