Commit Graph

230 Commits

Author SHA1 Message Date
Jesse Boyd
a2589d4493 More work on optimized MCA reader
+ Fix for 1.7.10 gson import error
2016-08-17 12:10:03 +10:00
Jesse Boyd
aeb13960a4 *Will work on this later 2016-08-16 20:55:26 +10:00
Jesse Boyd
08f35d420a Fix strange schem load issue + start work on MCRExtent 2016-08-16 18:49:56 +10:00
Jesse Boyd
424bcc5d05 Fix 1.8 tile sending 2016-08-16 16:41:29 +10:00
Jesse Boyd
fb33ecf71e *Fix for other clipboard implementations 2016-08-15 11:39:44 +10:00
Jesse Boyd
fb9bdeca7d Fix writing tiles to schematics 2016-08-15 10:09:05 +10:00
Jesse Boyd
8ab28115a4 Fixes #236 2016-08-15 09:20:56 +10:00
Jesse Boyd
eb62377c0f Optimizations for BukkitQueue_All
This queue is used to place blocks when no (fast) NMS one is found.
- Exploits a bug in vanilla relight algorithm for faster placement
2016-08-14 20:55:17 +10:00
Jesse Boyd
80045cfa6c Properly wait for queue to flush
- Ensuring the queue is flushed may wait slightly longer than necessary
2016-08-14 14:26:46 +10:00
Jesse Boyd
3a3fcca8b0 Various
Remove numerical versioning
Fix queue relighting concurrency
Fixed fixlighting async error
Fixes for 1.7.10 + thermos
Fixed non disk schematic loading
2016-08-14 10:26:51 +10:00
Jesse Boyd
4ccfab5908 Use original prefix for system messages 2016-08-12 15:14:47 +10:00
Jesse Boyd
9519fde6bd Fixes #209 2016-08-12 11:28:51 +10:00
Jesse Boyd
600219eb08 Fixes #214 2016-08-12 10:57:09 +10:00
Jesse Boyd
d0b5dab2a0 Various
Rename Favs jar and print error on failed load
LocalSession history on disk size limit per player (in MB)
Possible fix for ForgeEssentials incompatibility
2016-08-11 21:34:56 +10:00
Jesse Boyd
35883cfb16 Fixes #228 2016-08-10 17:32:05 +10:00
Jesse Boyd
5c0ae62b17 Various
Keep chunks loaded for at least 10s
Optimizations for 1.10
Fix cast for 1.8
Memory/Disk Optimizations for relighting large areas in unloaded chunks
Fix for clipboard entities
2016-08-10 17:18:55 +10:00
Jesse Boyd
1ed87eabbc Various
Per world session history index when using disk
Configurable clipboard/history save locations
Fixed and optimized packet sending
History caching optimizations (instant now)
2016-08-09 14:32:51 +10:00
Jesse Boyd
7cf334d881 Fixes #224 2016-08-07 17:19:08 +10:00
Jesse Boyd
514b28caa4 Rollback changes 2016-08-07 07:19:02 +10:00
Jesse Boyd
c98d07039d Buffered random access clipboard compression + schematic -> clipboard streaming
Also adds CPUOptimizedClipboard which has no extra compression
Note: Performance degrades if access is actually random (the buffering
optimizes sequential r/w)
Removing stream in favor of clipboard compression / disk
- In order to stream a schematic, it would need to be fully read 3 times
as  tags are not ordered (dimensions -> block ids -> data + tiles +
entities)
- Much faster just using disk / memory as an intermediate step
2016-08-06 16:42:40 +10:00
Jesse Boyd
c11087334f Fix inspect alias 2016-08-05 17:37:17 +10:00
Jesse Boyd
8e5e2ccafa Don't wrap null player 2016-08-05 10:39:20 +10:00
Jesse Boyd
bde226e7cd Fix NPE 2016-08-05 10:31:16 +10:00
Jesse Boyd
5eff53f1f8 Remove duplicate method 2016-08-04 20:01:47 +10:00
Jesse Boyd
5725e3bdd3 * Wrong limit used 2016-08-04 19:48:11 +10:00
Jesse Boyd
895de11a09 Fix entity mask + More work on rollback 2016-08-04 19:46:38 +10:00
Jesse Boyd
e5ebccd053 All commands translatable + Start on inspect brush
+ Disable AWE if present as otherwise both don't load
2016-08-03 19:23:31 +10:00
Jesse Boyd
1ca5798e9d Begin rollback optimizations + other
Store rollback summary in database (option)
API improvements
Load before AWE
2016-08-03 14:43:27 +10:00
Jesse Boyd
39acae08aa Minor API changes 2016-08-02 17:00:01 +10:00
Jesse Boyd
7c06899111 Fix fixliquid. 2016-08-01 16:41:21 +10:00
Jesse Boyd
ffc23f4020 Minor PS fix + undo fastmode error 2016-07-31 09:58:28 +10:00
Jesse Boyd
1835748d85 1 seems to have issues right now 2016-07-27 08:29:59 +10:00
Jesse Boyd
3d15022167 *remove debug msg 2016-07-27 08:04:56 +10:00
Jesse Boyd
ff60177dcc Working async relighting 2016-07-27 08:03:51 +10:00
Jesse Boyd
23b67b3f56 [BREAKING] Is it breaking if it's already broken? 2016-07-26 10:08:32 +10:00
Jesse Boyd
06275e8d3d [Bleeding] Lighting changes + broken 2016-07-26 10:04:19 +10:00
Jesse Boyd
4bde477206 Various
Fix forge multiworld
Add NMS setLight (sky/block)
Fix clipboard on disk start index
Fix cmd block data
2016-07-25 08:25:07 +10:00
Jesse Boyd
d562b6cf66 Update forge classes 2016-07-23 08:57:15 +10:00
Jesse Boyd
0849948f77 Minor change to relight chunk load 2016-07-16 04:38:45 +10:00
Jesse Boyd
c52c1bee27 Relight improvements + ports
6 lighting modes (0-5), see config
forge194
forge110
bukkit1710
(untested)
2016-07-15 09:53:30 +10:00
Jesse Boyd
ef06ca3b19 Proper NBT streaming + random access optimizations 2016-07-13 19:00:15 +10:00
Jesse Boyd
342c106e8c Increase default history size 2016-07-12 18:08:26 +10:00
Jesse Boyd
87f79f9fa6 Various fixes
Fix undo
Fix blockshub hook
API improvements
Added worldedit from console
Fixed async world loading for paperspigot
Some minor optimizations
Added some extra translations
2016-07-12 17:54:00 +10:00
Jesse Boyd
9ed6880d1d Various 2016-07-10 23:37:18 +10:00
Jesse Boyd
f202a563fc Tweak no region message 2016-06-30 22:40:19 +10:00
Jesse Boyd
227ac22d15 Fix data for id=9 2016-06-30 22:11:58 +10:00
Jesse Boyd
51a8b41399 Translate navigation 2016-06-29 20:44:04 +10:00
Jesse Boyd
af6c80901a Update some classes 2016-06-29 15:25:27 +10:00
Jesse Boyd
b56a6d4b7c Fixes #168 2016-06-29 03:15:06 +10:00
Jesse Boyd
1867a41d8a Fixes #166 2016-06-29 03:03:27 +10:00
Jesse Boyd
ff59a61046 *Fix history limit 2016-06-29 01:56:56 +10:00
Jesse Boyd
a521cb9ac3 Prevent chunk unload during async relight + delay tasks 2016-06-28 22:09:47 +10:00
Jesse Boyd
478cbbf393 Per player history size (in MB) 2016-06-28 20:22:31 +10:00
Jesse Boyd
e8ae5ca119 Fixes #166 2016-06-27 23:56:11 +10:00
Jesse Boyd
a21390c9cf Minor fix 2016-06-27 18:40:19 +10:00
Jesse Boyd
3f6abb1c6f Close after write 2016-06-24 16:22:38 +10:00
Jesse Boyd
2c0a47c60f Fix chunk listener items and tweak p2 mask. 2016-06-24 15:38:30 +10:00
Jesse Boyd
cf397524ff Fix other forge compile issues 2016-06-22 16:02:50 +10:00
Jesse Boyd
27d5e9e1aa Add cmd brush 2016-06-21 23:47:40 +10:00
Jesse Boyd
2e0a37c1de * 2016-06-21 22:28:22 +10:00
Jesse Boyd
615c51d948 Add voxel shortperm 2016-06-21 21:38:58 +10:00
Jesse Boyd
e4b1cc376b Document some stuff 2016-06-21 20:35:09 +10:00
Jesse Boyd
52024b4c2e Compression tweak 2016-06-21 17:03:43 +10:00
Jesse Boyd
8555276a78 Various
Fixed slow bukkit api placer (if no NMS placer exists) (it will try to
stay above 18.5 TPS)
Added more messages to translations
Added copy brush
Added resizable clipboard builder (API)
Added image download
2016-06-21 15:53:52 +10:00
Jesse Boyd
990d2fcbb0 Fix logging 2016-06-20 15:36:10 +10:00
Jesse Boyd
598928053d Fix rollback 2016-06-20 14:57:39 +10:00
Jesse Boyd
0d7c0474cc Various fixes 2016-06-20 14:06:14 +10:00
Jesse Boyd
706b44a26a Fixed schematic exporting (mostly) 2016-06-20 01:34:02 +10:00
Jesse Boyd
4c59ffc371 Various
Fixed entity copy, tree gen, snow height, reload history limit,
2016-06-19 12:24:28 +10:00
Jesse Boyd
fa090ee6bf Fixes #135 (superpickaxe) 2016-06-18 11:13:06 +10:00
Jesse Boyd
d6da78251e Tweak parallel startset 2016-06-17 23:20:49 +10:00
Jesse Boyd
3bab344656 Fix hasFastMode and combine stages 2016-06-17 16:38:29 +10:00
Jesse Boyd
97a0126fd1 Sync regen to the calling thread 2016-06-17 15:26:18 +10:00
Jesse Boyd
9bf2d2b0c3 Various
Update to PS 3.4.1
- Added various optimizations for PlotSquared
- Support full schematic exporting (includes NBT now)

Added compression level option:
0 is no compression
1-9 = varying levels of compression at the expense of CPU
3 = Good fast compression
5 = Good high compression
8 = Lots of compression (going further has diminishing returns)

Add EditSession builder (for extra control over optimizations)
Added compression option to FaweChangeSet constructor
Added FAWE format (used for history / clipboard on disk)

Various minor optimizations

TODO bug fixes
2016-06-16 20:25:21 +10:00
Jesse Boyd
7bc7f5841f Clipboard upload/download 2016-06-10 18:47:55 +10:00
Jesse Boyd
942e32d827 Add size restrictions 2016-06-10 13:16:10 +10:00
Jesse Boyd
d6902866c4 Add structure format
(for structure blocks)
2016-06-10 13:10:40 +10:00
Jesse Boyd
92ccbfcdcd Fixes #147 2016-06-10 05:10:56 +10:00
Jesse Boyd
40c6e781a6 Update to 1.10 2016-06-09 17:50:19 +10:00
Jesse Boyd
0c8291bbc8 forge message color 2016-06-07 07:50:12 +10:00
Jesse Boyd
b30007a4e4 Fix for forge 2016-06-06 18:46:02 +10:00
Jesse Boyd
ed08bf8a9c Fixes fixlighting
Relates to #140
2016-06-06 17:04:16 +10:00
Jesse Boyd
62e40bd9b6 Fixes for unused EditSessions clogging queue 2016-06-06 10:58:13 +10:00
Jesse Boyd
c1b22fbb21 Fixes #136 2016-06-04 03:33:28 +10:00
Jesse Boyd
3c0a2bd67e Superpickaxe async 2016-05-31 00:30:16 +10:00
Jesse Boyd
cc4f654941 debug failed queue initialization 2016-05-30 00:24:24 +10:00
Jesse Boyd
a05ae2e550 Various fixes for VS / WE 2016-05-28 08:37:16 +10:00
Jesse Boyd
b168d1b336 Various
Fix entity y value not within chunk
Fix combined stages CPUOptimizedHistory not restoring air in existing
sections on undo
Change EditSession to wait for completion on flush (you should be
flushing it async)
Added setting for edit session history with no session
2016-05-26 05:29:55 +10:00
Jesse Boyd
4ac02d6297 Fixes #121 2016-05-23 23:00:33 +10:00
Jesse Boyd
e8d76e3f3a VS history on disk/undo/rename perform to //p 2016-05-23 06:38:59 +10:00
Jesse Boyd
8a91f09192 Fix vs mask 2016-05-23 05:01:29 +10:00
Jesse Boyd
c950b7554d async bukkit wrappers / vs hook / api changes 2016-05-23 03:37:55 +10:00
Jesse Boyd
a4353bb760 Forge fix
Fixes #119
Close #120
2016-05-22 20:36:05 +10:00
Jesse Boyd
958f40fcbf Make API methods static 2016-05-22 17:51:28 +10:00
Jesse Boyd
ba2f9159b6 Get entities sync 2016-05-20 23:49:09 +10:00
Jesse Boyd
6993e4d8ed Fixes #111 2016-05-20 18:20:53 +10:00
Jesse Boyd
987ea4110a *forgot this 2016-05-20 18:17:19 +10:00
Jesse Boyd
37f2ef9765 Avoid duplicate wrapping 2016-05-20 18:16:26 +10:00
Jesse Boyd
6c14c13ceb Fix move / 19R2 entity packet sending 2016-05-20 18:14:21 +10:00
Jesse Boyd
9e128b8d0c Fix entity create/remove 2016-05-20 04:43:28 +10:00