1.6.1 update with the old structure (not tested) import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import...
@SuppressWarnings("deprecation") public void TickAFKLoop(){ int TaskID =...
Ok, i will rewrite my loop method, thanks.
It can not duplicate because PlayerQuit and PlayerKick calls the Dispose function, which means that the AFK instance is removed from the list....
I have an afk system with 2 files, AFK.java public class AFK { public String PlayerName; public int LastAction; public AFK(Player...
desht Yeah, you are right. Thanks!
Rprrr The links are to the github repos, without examples.
1. I need the plugin. 2. I can't find any good examples, can you please show one? Rprrr
Hello! In one of my codes i set the player's velocity p.setVelocity(new Vector(0, 1, 2)); but NoCheatsPlus says that the player uses a fly hack....
world.spawnEntity
maybe getVelocity and setVelocity .... how surprising...
Or you can get the old vehicle's velocity and set it on the new one.
https://github.com/KillerMinecraft/killer
If you stored the Sign Block as a Block then you can use it like this: Block gameSign; Sign s = gameSign.getState(); s.setLine(0, "...");...
This is a null chunk generator, maybe its what you are looking for. public class NullChunkGenerator extends ChunkGenerator{ public byte[]...
Adamki11s My last post was trying to say its solved. With the code i attached i am able to delete my world from a simple IO function.
I was struggling with same problem. Look at my thread: http://forums.bukkit.org/threads/world-unloading.125193/
The problem was with 2 functions: 1.forceUnloadWorld did not work properly for me. Finally here is my new code to unload a world:...
Adamki11s Yes, the only one i found was "Killer", and part of my code is copied from that plugin, but it still doesn't work. If you know any other...
Adamki11s I already tried the default way, it wasn't working, so i was searching for like 2 days when i found this way, none of them works, i am...
Separate names with a comma.