We just bought a server today running debian 8.1, but when i start up the server it just says "You need to agree to the EULA in order to run the...
@Erestor1999 get the player's line of sight (list of blocks in a straight line) , get the nearby players, check if any of those nearby players...
do not use runnable cooldowns... use system time. you can compare system time and its 1000x more accurate and doesnt use as much cpu. @Chakkar
you better look again @BrickBoy55
@teej107 well im going to have to tune the garbage collector and manual gc every hour
@teej107 yes but that still doesnt change the fact that manual gc is freeing all of that memory... if they had references then a manual gc wouldnt...
@teej107 all of our plugins are custom coded and i have checked every player reference in jprofiler and no player references are found excepting...
@teej107 well its not oom but it gets so close the server starts freezing and lagging. sometimes it gets as low as 50mb of free memory and in that...
@teej107 Are you even reading what i'm saying. the automatic isnt freeing up memory as well as the manual one does. the server runs out of memory...
@teej107 well if they cant be freed then why is manual garbage collection freeing them when the automatic gc isnt?
@teej107 look at the screenshots, the normal gc cycle is not freeing up memory. When i dont call the manual gc command it runs out of memory, but...
ok why was my thread moved to bukkit help this is a plugin development question. ugh i swear these forums are ruined. This is a question involving...
@teej107 look at my edit barely scrapping by with 350 mb of ram in the first cycle, sometimes it even runs out of ram and freezes the server....
This is more of java question but for some reason when i call Runtime.getRuntime().gc(); it frees up so much more ram than the regular garbage...
no still wont work, the client rendering it must also see the entity its riding
@mine-care dont send a destroy packet. that will glitch out the entity riding animation. the entity has to actually exist for you to be a...
@teej107 well they are good to use just a little bit more advanced than storing a uuid
@Signatured gross dont do that, NEVER store the player object or any bukkit objects anywhere as it can cause memory leaks if not handled properly,...
@Mysticate decompile bukkit, then look at the nms World class, the CraftServer class and the CraftWorld class.
@mine-care yea but spigot is 10x better :)
Separate names with a comma.