Bukkit.getScheduler().scheduleAsyncRepeatingTask(Main.plugin, new Runnable() { @Override...
I want to store some data in my config file. But suddenly I have problems saving the UUID of the player. It actually always worked with...
No, suprisingly not :/
ok
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm"); Date expireDate = sdf.parse(getConfig().getString(uuid + ".end")); //Unhandled...
if(getConfig().getString(uuid + ".end") > sdf.format(new Date()))) That should work. I just cannot compare dates in the format dd/MM/yyyy HH:mm...
Thank you. That is what I've done: ArrayList<UUID> uuids = new ArrayList<UUID>(); @Override public void onEnable() {...
else if(sign.getLine(0).equals("[Rent]")) { long rentTime = 0; String rts = sign.getLine(2);...
The problem with BukkitRunnables is that the time wouldn't count when the server is offline. Well, I'll try something with switch. I don't find a...
The bukkit servers were lagging to that moment. That could be the reason why the thread was posted twice. However, sorry that was not my...
Ouh.. that's gonna be very hard for a beginner like me. I don't need the config for other stuff, so I thought I could use that file to store the...
I'm making a region market plugin for my server and want to add a rent function. You create a sign and one of the lines means the time you will...
fuuu... of course. How couldn't I think about that. I hope set line 0 to "[Kaufen]" does not trigger the signchangeevent ;D thank you :)
fireblast709 Sorry, I don't understand O.o Maybe you try explaining what you mean in a code?
Separate names with a comma.