| Author |
Message |
 Vulturboy
|
Date sent: 2015/08/08 06:20:21
As of now, there are 3,469 warps. With the removal of the old world, I think that we should have the staff team go through the warp list and delete all of the warps that say "Invalid World" when used. It would clear up a lot of clutter when using /warps and has the potential to reduce lag. |
 Beetlejuice71
|
Date sent: 2015/08/08 07:02:50
I was just about to make a topic like this
|
 stojan44
|
Date sent: 2015/08/08 11:21:11
I think that we should delete all warps and re-add 'em. |
 Helperforever
|
Date sent: 2015/08/08 12:56:56
+994288943354454 |
 ArcticCougar
|
Date sent: 2015/08/14 21:42:32
+1 Since 3,469 is ALOT of warps and yes it should reduce lag. |
 luigiofthebakery
Moderator |
Date sent: 2015/08/15 07:27:31
It won't really reduce lag that much, as each warp is dynamically loaded in each time someone tries to use it (if it isn't already cached from a previous use). If the warp isn't found it says invalid warp. This is the same with the Essentials userdata files. Currently there are over 80000 of those but there isn't much lag because they are each individual files being accessed individually whenever needed, not all loaded in at the same time.
For example, if sometime tried to do /warp warpname on the server, it runs the command method which tries to load
File("plugins/Essentials/warps/" + warpname + ".yml");
No matter how many files are in the warps directory, only the single file that is needed will be loaded in to get the location of where the player will be teleported to. If no such file is found, the File() method will throw a not found exception and this is returned to the user. |
 Helperforever
|
Date sent: 2015/08/15 15:31:11
^ true but still all those warps are messy |
 stojan44
|
Date sent: 2015/08/15 18:58:11
Yah. Its confusing a f. |