Commit Graph

468 Commits

Author SHA1 Message Date
Jesse Boyd
492d5ea07f bump preciousstones version 2016-04-19 15:41:12 +10:00
Jesse Boyd
e535f8adc9 Lastmask / preciousstones fix 2016-04-19 06:48:58 +10:00
Jesse Boyd
f8e1bb0b71 Use blocking queue 2016-04-19 05:07:50 +10:00
Jesse Boyd
d2128ab045 Bump version 2016-04-19 04:33:00 +10:00
Jesse Boyd
8c7b431e10 Possible invis block fix 2016-04-19 02:28:06 +10:00
Jesse Boyd
9cf4f6c9f0 More optimizations!
Schematics now load in a fraction of a time. (took me 5.13 seconds to
load a 102,572,228 block schematic)

Also made some minor optimizations here and there.
2016-04-18 04:54:27 +10:00
Jesse Boyd
d6ad027fc8 Fix block rotation corrupting block cache 2016-04-17 05:15:21 +10:00
Jesse Boyd
e413318fb7 Fix regen for non cuboid / vp2 / clear sessions on logout 2016-04-16 22:31:20 +10:00
Jesse Boyd
72933df640 Add allowed extents section to config 2016-04-16 19:31:18 +10:00
Jesse Boyd
04e281e72d Fix deform 2016-04-16 18:16:08 +10:00
Jesse Boyd
3f9e202f3a clipboard optimizations
Encode the block as a single byte if possible
Don't bother storing air
Use the block cache where possible
2016-04-15 18:39:36 +10:00
Jesse Boyd
f55f767e2f Bump version 2016-04-15 06:31:00 +10:00
Jesse Boyd
aa06bc19d2 Workaround for WorldEdit's sign bug 2016-04-15 06:29:30 +10:00
Jesse Boyd
2012d56900 Remove version from build 2016-04-15 03:27:50 +10:00
Jesse Boyd
b546a75e00 v3.3.11 2016-04-15 02:35:20 +10:00
Jesse Boyd
e87f804236 Fixes #28 2016-04-15 02:30:02 +10:00
Jesse Boyd
969c800509 Fixes #32 2016-04-15 02:22:20 +10:00
Jesse Boyd
f3db4be8ae Bump version 2016-04-15 00:20:11 +10:00
Jesse Boyd
5097f0cf63 Fixes #30
The CuboidRegion class will now queue blocks in layers for a chunk
before moving onto the next chunk. This results in higher cache hits for
history enabled queues. It also allows the block placer to start earlier
during preprocessing with edits affecting > 64 (configurable) chunks.

Note: with history on disk enabled, this means near unlimited sized
edits (for certain commands) might be feasible.
2016-04-15 00:18:22 +10:00
Jesse Boyd
caa0e475ad Have regen respect protection 2016-04-14 19:22:13 +10:00
Jesse Boyd
9f57b89756 Fixes #27 (/up and /ceil)
Also change the commands to go through the editSession so it can be
restricted/undone
2016-04-14 18:27:02 +10:00
Jesse Boyd
04dab97460 Added regen for forge (#23) 2016-04-14 18:07:51 +10:00
Jesse Boyd
fff311a99f Fixes #23 2016-04-14 07:31:02 +10:00
Jesse Boyd
5b3e0973f2 Fixes #21 2016-04-13 20:04:01 +10:00
Jesse Boyd
42654bd784 Various
fix a few async issues (nbt setting/cut/plotsquared hook)
fixes #1
allow some debug options to be configurable (chunk wait / buffer size)
add region restriction option
2016-04-07 06:19:17 +10:00
Jesse Boyd
fabdf0b08a Fixes #18 2016-04-06 03:51:52 +10:00
Jesse Boyd
ab4af2741f Prefix 2016-04-06 03:02:15 +10:00
Jesse Boyd
fb4ed9362d Various
per player limits
- max blocks
- max checks
- max fails
- max entities
- max blockstates
Also add command limit
Fix negative coord compression issue
2016-04-06 01:11:24 +10:00
Jesse Boyd
ba04eb9fc8 Cleanup / persistent history 2016-04-05 02:07:36 +10:00
Jesse Boyd
0dfbd44c72 Faster compression
Using java's inbuilt compression algorithms (gzip or deflator both)  was
a bit too slow for me.

Fawe is now using the LZ4 compression algorithm, which is super fast. So
fast that I decided to add a default 1 pass of compression to history.
Enabling further compression will do an additional high LZ4 compression.
2016-04-04 18:39:00 +10:00
Jesse Boyd
fb15a425a7 Queue, editsession and history optimizations
Streamlined the queue so now the queue doesn't need to be fetched on
each block
Removed block reording from editsession as it alone takes half a
second/million blocks
Replaced block fetch from history extent with optimized algorithm.
2016-04-04 04:03:35 +10:00
Jesse Boyd
491b6bc646 BUmp version, add check for op 2016-04-03 17:26:17 +10:00
Jesse Boyd
0c55e3c7cb Clipboard compression
Reduce the size of the clipboard by encoding the BaseBlock as a short
array, with an accompanying map for nbt.
2016-04-03 17:13:22 +10:00
Jesse Boyd
d11bb1ac0a Fix for nbt 2016-04-03 05:19:14 +10:00
Jesse Boyd
ed50071901 Change default directory 2016-04-03 04:29:31 +10:00
Jesse Boyd
789098dc79 Finish with sponge depend
Also fix 1.8 issue for kh498
2016-04-03 02:50:50 +10:00
Jesse Boyd
fb8863cd06 Start work on forge port 2016-04-02 16:58:42 +11:00
Jesse Boyd
a924dcd66a Fix errors 2016-04-02 15:25:04 +11:00
Jesse Boyd
e71fd64e9c Add gradle project 2016-04-02 15:06:24 +11:00
Jesse Boyd
51c7b29f51 Readme + history tweak
Switched to MemoryOptimizedHistory without compression by default. The
increase in cpu is negligable but the reduction in memory is
substantial. Further compression can still be enabled.
2016-04-02 06:03:21 +11:00
Jesse Boyd
d7f8b3dc3b fixing formatting 2016-04-02 02:36:35 +11:00
Jesse Boyd
466739e31d Finish disk storage history and memory optimized history
history.compress: Enables compression of player history (slower, but
reduced memory usage)
history.use-disk: Player history is saved to disk (slower, but saves a
lot of memory)
2016-04-02 02:34:47 +11:00
Jesse Boyd
3cf106842d Started work on disk storage for history 2016-04-01 22:35:17 +11:00
Jesse Boyd
d9d806ac4a Finish tile entities / some documentation 2016-04-01 16:20:35 +11:00
Jesse Boyd
74a03b2b19 cleanup 2016-03-31 20:23:10 +11:00
Jesse Boyd
c2749bc3af Fix compatibility with worldguard (snapshot) 2016-03-31 20:21:47 +11:00
Jesse Boyd
24f0cb9bcf Fixes #13 2016-03-27 07:39:48 +11:00
Jesse Boyd
198392c033 Fixes #11 2016-03-27 00:44:39 +11:00
Jesse Boyd
00ecbe538a Fix PlotSquared region 2016-03-27 00:33:39 +11:00
Jesse Boyd
18f1e90ca5 Fixes
Fixes startup for 1.8
Fixes tile entity crash (1.8/1.9)
2016-03-27 00:29:36 +11:00