Hi, I have a plugin on my server that I made myself. It essentialy finds a random, fresh chunk on the server and teleports a new player to that place. The system works very well and is becoming very popular. My server has been getting lag spikes where no one can place blocks, chat ect for about 30 seconds. After investigating the server log I can tell it happens whenever someone teleports to a random location. How can I reduce the lag caused by it? Right now whenever a player enters the command it just executes the random home method. The method checks that the random location is safe (no water, lava, trees ect) so usually 4 or 5 different random locations are calculated. Is it a good idea to do it in a seperate thread, although I heard you can't access Bukkit API's when doing this. I believe my code is as efficient as possible. What's the best route to go down? Thanks in advance, Josh.