1
0
forked from xjboss/KCauldronX
Commit Graph

99 Commits

Author SHA1 Message Date
8b33262701 add new class 2017-06-25 20:22:28 +08:00
Sergey Shatunov
8d2ba00f70 Cap chunk generation to 1 chunk per tick (configurable) 2016-03-16 12:01:28 +07:00
Sergey Shatunov
232bc98881 Implement deprecated get/set shooter bukkit's methods
fix #368
2016-02-14 22:46:12 +07:00
Sergey Shatunov
ff7d6f4137 Whoops, chunk coords stored in other order (fix #360) 2016-02-11 16:52:32 +07:00
Sergey Shatunov
cdc6bcae21 Fix command crash when world has no tps info (meh? plugins? broken
mods?) [ci skip]
2016-02-10 22:38:05 +07:00
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
962807f835 Fix #343 2016-02-07 14:40:26 +07:00
Sergey Shatunov
db3a8c3045 Pass net handler during reverse cloning due to some mods could transmit some packets in cloning 2016-02-06 23:21:56 +07:00
Sergey Shatunov
84276822ea Fix inventory wiping on keepInventory=true 2016-02-06 15:19:45 +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
7b03a5c0d1 Add out-of-box fast leaves decay 2016-02-04 22:55:51 +07:00
Sergey Shatunov
3926aa3878 Allow pseudo-real semi-infernal chunks for trees, fix #273 2016-02-04 22:35:14 +07:00
Sergey Shatunov
3b321e3116 Implement custom bukkit's entity for modded projectiles
Fix #150
2016-02-03 22:45:12 +07:00
Sergey Shatunov
7114a28fc6 Implement thread-safe, async-like and not buggy BlockUpdatesTracker
close #320
2016-02-03 10:55:26 +07:00
Sergey Shatunov
412dab0029 Update references to inventory for CraftPlayer during cloning
Fix #321
2016-02-02 14:45:32 +07:00
Sergey Shatunov
0d3b4e763c Forward bukkit's CraftPlayer during cloning player
Fix #318
2016-02-01 22:45:16 +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 Shatunov
6c2be10dc9 Implement Bukkit's inventory for modded inventories, fix #257 2016-02-01 04:54:40 +07:00
Sergey Shatunov
097252b5bf Add expermintal feature: tileEnitity list recreation each tick 2016-01-17 17:15:55 +07:00
Prototik
be83aa26fc Fix broken commands.yml (close #276) 2016-01-07 21:12:06 +07:00
Sergey Shatunov
eb49ce845d Make light asynchronous (close #231) 2016-01-06 01:53:42 +07:00
Sergey Shatunov
99915acb8b Use player cache for skulls 2016-01-05 15:06:32 +07:00
Sergey Shatunov
6911f3485a Fix for map decoration 2016-01-05 14:48:56 +07:00
Sergey Shatunov
0011dd0d9a Limit TNT detonations per world per tick 2016-01-05 14:20:01 +07:00
Sergey Shatunov
0aad7977fc Make configurable messages, close #244 2016-01-05 13:54:34 +07:00
Sergey Shatunov
955af15697 Make Server.getOnlinePlayers returns immutable collection, like it said
in docs. This is also fix crash with /stop and /restart commands while
any players had been online.
2016-01-05 02:00:44 +07:00
Sergey Shatunov
664be786d4 Update to forge 1614 2016-01-04 22:45:30 +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
1ec4cf134d Remove health scaling 2015-10-24 17:31:46 +07:00
Prototik
1d94d55290 Update forge to 1517 2015-10-23 20:54:39 +07:00
Prototik
30960fd721 Fix #222 2015-10-23 20:04:48 +07:00
Prototik
d3c359b26d Fix #218, fix #217 2015-10-23 01:33:13 +07:00
Prototik
4cfa07d415 Fix #214 2015-10-22 14:25:47 +07:00
Prototik
ad909f2788 Return empty chunk in case of null and come back indent for ProcessingQueue, sorry! :) 2015-10-22 01:45:44 +07:00
Prototik
6458549af6 Fix #211 2015-10-21 23:40:50 +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
299cf0ed96 Fix broken commands.yml (close #97) 2015-10-16 02:16:24 +07:00
Prototik
98f4f02f55 Introduced World Save Thread and some refractoring 2015-10-14 20:31:35 +07:00
Prototik
a5b10b36ab Added /kc dump command for some debug reports 2015-10-06 21:00:35 +07:00
ChrisLane
8cda6fb6c4 Small spelling fix quite -> quiet 2015-09-10 00:21:43 +02: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
923b9e81a0 First attempt to fix #141 2015-09-03 18:05:12 +07:00
Prototik
1e51ceeb31 Fix broken stop command, added /kc tps command, better integration bukkit worlds with forge worlds 2015-09-03 00:22:30 +07:00
Prototik
497d437a37 Add list wrapper for tileentities 2015-08-29 18:21:31 +07:00
Prototik
9ba84893f3 Use iterator for entities loop 2015-08-29 17:37:03 +07:00
Prototik
4a63dcacca Transparent unloading {,tile}entities from world 2015-08-29 14:49:22 +07:00
Prototik
1488e0fdc4 Meh, #130 2015-08-14 03:34:11 +07:00
Prototik
ac8700f8a6 Reduce calls of System.currentTimeMillis() in TickLimiter, close #130 2015-08-14 03:15:53 +07:00
Prototik
043978c113 Fix for unschemed urls with using ip:port definition 2015-07-25 22:17:43 +07:00