3
0
Commit Graph

18 Commits

Author SHA1 Message Date
Sergey Shatunov
5aaf6c5cbf ChunkManager implementation
ChunkManager optimize chunks handling in small and big worlds

Small worlds gets benefits with using int-object map instead long-object (in area -32768...32767 by x and z)

Large worlds gets benefits by using efficient map by Colt project, which a little (3-6%) slower in writing, but greatly faster
(400-500% from Java's HashMap and 150-180% from Trove's maps) on reading.
2016-02-10 19:17:47 +07:00
Sergey Shatunov
0b251c5440 Implement ReverseClonner, which should fix all issues with teleportation/inventories/crashed after respawning 2016-02-06 04:30:12 +07:00
Sergey Shatunov
0d3b4e763c Forward bukkit's CraftPlayer during cloning player
Fix #318
2016-02-01 22:45:16 +07:00
Sergey Shatunov
6c2be10dc9 Implement Bukkit's inventory for modded inventories, fix #257 2016-02-01 04:54:40 +07:00
Sergey
a5277c151e Fix collision of NextTickListEntry (close #289) 2016-01-31 18:39:40 +07:00
Sergey Shatunov
7f897a021d Allow fake net handlers, fix #268 2016-01-05 15:14:32 +07:00
Sergey Shatunov
f722fccdce Rollback to the state of .152 build with some critical fixes and updates 2016-01-04 12:38:37 +07:00
Prototik
7defe0bb29 Some portion of optimizations:
* Clear outgoing packet queue after player disconnect
* Disable sleep between chunk saving
* Put 2x4096 bytes instead 2048x4 bytes for region file aligment
* Using map to search player by name instead iterating over all players
* Some tweaks for decorations (item frames, maps)
2015-10-18 23:58:28 +07:00
Prototik
b2e14cb247 Return loop iterating over entites on overloaded server 2015-09-06 18:54:03 +07:00
Prototik
9d56192606 Some improvements in spigot timings and fix #179 2015-09-05 23:31:58 +07:00
Prototik
44020ecc25 Support to restart server after update 2015-06-14 19:50:18 +07:00
Prototik
58ea094454 Fix for slotless inventories in packet C08PacketPlayerBlockPlacement 2015-05-26 22:47:20 +07:00
Prototik
ea868d4998 Avoid to use Derived.incrementTotalWorldTickTime 2015-05-25 18:27:17 +07:00
Prototik
66f77f8314 Updated forge 2015-05-08 16:29:14 +07:00
gamerforEA
d5cf443039 Update to Forge 10.13.3.1388. Small fixes. 2015-04-24 15:40:52 +03:00
gamerforEA
6f8f13347d Update to Forge 1343. Small fixes. 2015-03-30 10:25:29 +03:00
gamerforEA
099d1a7732 Apply fixes from binary patches. 2015-03-25 08:24:42 +03:00
gamerforEA
16773ead6a Initial commit (Forge 1291). 2015-03-22 20:38:04 +03:00