Commit Graph

344 Commits

Author SHA1 Message Date
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
Jesse Boyd
c91971012e Merge pull request #12 from RoboMWM/patch-4
Fix redstone wire status. Fixes #11
2016-03-25 16:00:52 +11:00
RoboMWM
34ffa68e87 Fix redstone wire status. Fixes #11 2016-03-24 12:01:17 -07:00
Jesse Boyd
530566ef2c Fix solid check 2016-03-03 08:55:32 +11:00
Jesse Boyd
5edfcecc69 Update to 1.9 2016-03-03 08:52:02 +11:00
Jesse Boyd
58b6a946de Merge pull request #7 from MattBDev/patch-1
Rotate Chests
2016-02-23 12:24:30 +11:00
Matt
754b0481c5 Rotate Chests 2016-02-22 19:12:40 -05:00
Jesse Boyd
8712672141 Undo plugin.yml perms.
As the message bukkit sends can't be configured by the server owner:
I'm sorry, but you do not have permission to perform this command.
Please contact the server administrators if you believe this is in
error.
2016-02-11 14:22:19 +11:00
Jesse Boyd
a453a0a2ac Properly check perms 2016-02-11 14:19:58 +11:00
Jesse Boyd
4dc9f2ff35 Merge pull request #5 from RoboMWM/patch-2
Restrict usage of /wea
2016-02-11 06:15:03 +11:00
RoboMWM
7fa579a703 Restrict usage of /wea 2016-02-10 10:45:28 -08:00
Jesse Boyd
48cb23d04f Check the entity as well 2016-02-09 22:17:44 +11:00
Jesse Boyd
7cfb33dd3b Add crash-mitigation option. 2016-02-09 21:15:03 +11:00
Jesse Boyd
9f1bf51467 Fix torch direction 2016-01-12 23:07:34 +11:00
Jesse Boyd
d37396716f refactor 2016-01-11 06:54:04 +11:00
Jesse Boyd
1f8d53f8a7 fixes + maven 2015-12-25 21:24:47 +11:00
Jesse Boyd
35fa2bc7df Version 2015-11-18 23:44:52 +11:00
Jesse Boyd
1169b42fab Code cleanup, fixes, optimizations, tweaks and new features
Code cleanup:
- Slight restructure
- FaweAPI class with some useful functions
- Abstracting some components for future port different versions /
platform

Fixes:
- Fixed lighting issues
- Fixed some async exceptions
- Fixed undo/redo having unexpected behavior
- Fixed support for third party extents

Improvements on the relighting algorithm.
- It's slightly slower but results in more reliable lighting

Queue optimizations:
- Decreased overhead, faster block placement and relighting
- Now supports async biome changes

Block logging:
- Now supports block logging (with BlocksHub)

Schematic streaming:
- Completely bypass the clipboard and "//stream <file>" giant schematics
into the world

Region selection:
- Use "//worldeditregion" to select your current region restriction

Manual relighting:
- Use "//fixlighting" to fix the lighting in your current selection
2015-11-18 18:49:57 +11:00
Jesse Boyd
046ab56d30 🎊 Added .gitattributes & .gitignore files 2015-10-29 23:06:55 +11:00