3
0
Commit Graph

29 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
0dd6c7efdf Jline's ConsoleReader reads empty string instead of null in stdin-less
environment, like exec() from many languages. Add empty check.
2016-02-09 21:19:36 +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
313adcfbb0 Fix PlayerCloneEvent.wasDeath (close #335) 2016-02-06 00:09:26 +07:00
Sergey Shatunov
30d7378fda Okay, remove full cloning of player during respawn and just post forge's
event for required mods. Close #331
2016-02-05 03:43:24 +07:00
Sergey Shatunov
07698c433a Fix inventory erase when player respawns by mods or plugins
Close #301
2016-02-01 18:50:41 +07:00
Sergey
8c5b2f7229 Do fully player cloning to avoid duping of items (probably related to #301) 2016-01-31 20:08:36 +07:00
Sergey Shatunov
1817b56ba3 Fix player doesn't cloning after death/teleport, fix #282 2016-01-11 18:50:13 +07:00
Sergey Shatunov
0aad7977fc Make configurable messages, close #244 2016-01-05 13:54:34 +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
30960fd721 Fix #222 2015-10-23 20:04:48 +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
98f4f02f55 Introduced World Save Thread and some refractoring 2015-10-14 20:31:35 +07:00
Prototik
9d56192606 Some improvements in spigot timings and fix #179 2015-09-05 23:31:58 +07:00
Prototik
9ba84893f3 Use iterator for entities loop 2015-08-29 17:37:03 +07:00
Prototik
8c50b9899f Finally fix #67 2015-06-27 16:32:21 +07:00
Prototik
f6ba538998 Fix Thaumcraft bucket dupe (close #64) 2015-06-26 22:42:30 +07:00
Prototik
33633471ca Normalize patches 2015-06-08 23:18:24 +07:00
Prototik
c427f60e15 Normalize patches 2015-06-01 21:32:10 +07:00
Prototik
de86e3c9f6 Initial autoupdater 2015-05-31 18:21:26 +07:00
Prototik
8c7ff941cf Add ability to configure max tab player list (#10) 2015-05-29 19:54:43 +07:00
Prototik
2c219227af Fix bukkit's world name 2015-05-21 19:20:26 +07:00
Prototik
cfda3c2dca Fix Railcraft's minecart dupe 2015-05-21 16:26:17 +07:00
Prototik
72ee9c24f6 Add logs for user login process 2015-05-17 20:14:24 +07:00
Prototik
e6ac67c28c Disable eula, because... hm... No real reason, just for fun. 2015-05-14 20:35: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