Commit Graph

407 Commits

Author SHA1 Message Date
Jesse Boyd
f16ebf4f77
fix fastmode set (after refactor) 2016-12-13 15:02:05 +11:00
Jesse Boyd
abb6588c24
use unmasked player location for scripting 2016-12-13 15:02:05 +11:00
Jesse Boyd
23cb3642f1
translate selection commands 2016-12-13 15:02:05 +11:00
Jesse Boyd
84d7da3274
properly reset editsession limit 2016-12-13 15:02:04 +11:00
Jesse Boyd
4044e8772d
Flush regardless of changeset 2016-12-13 15:02:04 +11:00
Jesse Boyd
52c460a32c
Separate lz4/zstd bindings 2016-12-13 15:02:04 +11:00
Jesse Boyd
77be0a3794
Have cancel clear queued actions 2016-12-13 15:02:04 +11:00
Jesse Boyd
67b918b048
Fix relative path 2016-12-13 15:02:04 +11:00
Jesse Boyd
0a3a1c813d
Should probably limit the size, also...
If you want to select some cavity, just use `//sel fuzzy` and `//pos1`
while standing there
2016-12-13 15:02:03 +11:00
hexosse
0faddbc49b Added getWorldSelection.
This is an alias for getSelection.
It enables CraftScripts to get a world selection as it is not possible to use getSelection which have two default implementations.
2016-12-12 15:00:39 +01:00
Jesse Boyd
e7d97d030f
Add fuzzy region selection (with mask support)
`//sel fuzzy` or `//sel fuzzy=<mask>`
- All connected blocks matching the mask (default is same id/data) will
be added.
- Left click to select the region
- Right click to add to the existing region
2016-12-12 20:48:09 +11:00
Jesse Boyd
f0a36ba1fa
Zstd/disk clipboard/version/various
Better compression with Zstd
Fix disk clipboard + minor optimizations
Fix version output
Some various incomplete stuff
2016-12-12 17:41:32 +11:00
Jesse Boyd
9bea95dd22
Configurable tick limiter interval 2016-12-09 22:49:23 +11:00
Jesse Boyd
1e4397c8d1
ChunkListener fixes 2016-12-09 22:37:28 +11:00
Jesse Boyd
502b620bde
*Fix extended tab completion for l3d, linear, mask patterns 2016-12-09 02:03:46 +11:00
Jesse Boyd
551b25baf6
Various (important) changes
Added command tab completion for patterns
Tick limiter:
- Ignore redstone physics
- Per chunk limiting (rather than global)
- Notify console of any limiting
Changes default settings for low memory usage rather than speed:
- Doesn't effect any existing configs, just new installs
- Uses disk and database for undo/redo/clipboard
- Uses compression level 8 instead of 1
Fixes 1.8 queue failing on no isDirty field
Fixes rare chunk skipping
Fixes queue staging issue
Tweak undo/redo failure messages to provide more info
Added sand/gravel sphere message so that people don't ask me "why it no
work!?"
2016-12-09 01:47:50 +11:00
Jesse Boyd
3c75336c9a
Fix delegate changeset logging 2016-12-07 15:57:40 +11:00
Jesse Boyd
57c908bdae
Fix rotate 2016-12-06 18:02:28 +11:00
Jesse Boyd
043da6668d
Fixes #360 2016-12-06 17:04:03 +11:00
Jesse Boyd
1c948cf0ed
Various
Add #clipboard transform
Add #fullcopy pattern
- similar to transform, it pastes the full clipboard at any changed
block
- e.g. //replace <marker> #fullcopy
Async block get optimizations for bukkit by running tasks multiple times
during a single tick
Tweak the OOM message to be more informative
Tweak the max memory config comment to be more informative
Restructured transforms to use resettable extent + reduce code
duplication
Clipboards can now be streamed to a schematic file without significant
memory overhead
- This means you can now load/paste/copy/save arbitrarily large sizes
with fixed memory usage
Optimizations to the various clipboard implementations
Add optimized extent block translation (no additional object creation
for set block)
Optimized forward extent block copy
- use optimized extent transform/translate
- pre calculate required functions/extents outside iterations
- short circuit certain functions depending on input parameters
Use edit session for patterns rather than world (faster/safer)
2016-12-06 15:58:28 +11:00
Jesse Boyd
57d41ae6f7
Add id/data pattern 2016-12-03 16:37:08 +11:00
Jesse Boyd
84fdf8e246
More info in blocks.json 2016-12-03 13:49:07 +11:00
Jesse Boyd
24d61c2ceb
Fixes #357 2016-12-03 13:41:23 +11:00
Jesse Boyd
6b0c2b9ef9
Fix sendBlocks + lever rotation 2016-12-03 12:57:17 +11:00
Jesse Boyd
aa27d01fc4
Tile entity fixes + send block update 2016-12-02 17:03:57 +11:00
Jesse Boyd
5a914513b9
Updating option 2016-12-02 12:49:40 +11:00
Jesse Boyd
04509e43ab
Forgot this 2016-12-01 15:16:20 +11:00
Jesse Boyd
84fa07eec9
Fix some undo/redo tile entity issues 2016-12-01 13:51:59 +11:00
Jesse Boyd
9f8a0456e3
*whoops 2016-11-30 19:58:05 +11:00
Jesse Boyd
90e0ab574d
Load without throwing errors without WorldEdit
It's just functional enough to print a message saying it won't function
without WorldEdit
2016-11-30 18:45:30 +11:00
Jesse Boyd
90ba392692
Fix forge regen 2016-11-29 19:15:45 +11:00
Jesse Boyd
9b7b30ac1b
Fixes #322 2016-11-29 15:20:00 +11:00
Jesse Boyd
fd539a9412
auto updater 2016-11-29 15:05:18 +11:00
Jesse Boyd
57a2bd73dd
More lighting fixes 2016-11-28 17:19:23 +11:00
Jesse Boyd
8122c9d415
Fix setlight and setskylight commands
Fixes #314
2016-11-28 14:48:09 +11:00
Jesse Boyd
5b0ce58f6b
Fix removal of light sources 2016-11-28 14:34:12 +11:00
Jesse Boyd
67f6f11bde
Fix up command 2016-11-25 11:23:35 +11:00
Jesse Boyd
9c1bb58a09
Restructure
Now uses a single jar for bukkit
I'm going to seperate the injector so FAWE can be used (API wise)
without WorldEdit.
2016-11-24 17:36:44 +11:00
Jesse Boyd
091d1ba4f4
Recover incomplete or corrupt schematic files. 2016-11-23 13:25:11 +11:00
Jesse Boyd
4e955ec985
Minor stuff 2016-11-22 13:10:18 +11:00
Jesse Boyd
e16bcae071
Some minor fixes 2016-11-18 08:44:16 +11:00
Jesse Boyd
7df6f2d54f
Update to 1.11 2016-11-18 00:54:51 +11:00
Jesse Boyd
21de2096a9
Fix p2 hook error 2016-11-13 18:23:45 +11:00
Jesse Boyd
705e4f202f
Fix execution error with java 7 2016-11-13 08:35:52 +11:00
Jesse Boyd
8995ce254e
Fix p2 editable area 2016-11-12 00:13:21 +11:00
Jesse Boyd
50ba6427a2
Various
Fix random 1000ms brush delay
Fix brush perform location not using snapshot location
Add fall command
Add getlight debug command
Fix relight NPE
2016-11-08 07:05:42 +11:00
Jesse Boyd
efc0de27d4
Fix debugpaste 2016-11-02 04:52:40 +11:00
Jesse Boyd
60152a5b1f
Various
Fix some brush stuff
Fix issue with editing on main thread
FIx error from misusing AsyncBlock
Tweak some messages
Add TaskBuilder API
2016-11-01 23:35:23 +11:00
Jesse Boyd
1c902bfad3
Adapt ForgeWorld to LocalWorld for LocationMaskedPlayerWrapper 2016-10-29 22:01:55 +11:00
Jesse Boyd
543af87238
Change axis order for transform rotate 2016-10-27 23:40:49 +11:00
Jesse Boyd
30ea572a8e
*use correct yaw/pitch 2016-10-27 19:59:36 +11:00
Jesse Boyd
9d7a5e4344
Mask location for brushes 2016-10-27 06:23:26 +11:00
Jesse Boyd
102468c2fd
* 2016-10-27 06:05:32 +11:00
Jesse Boyd
c3af25ddf7
Allow queue to use cached block value 2016-10-27 05:51:48 +11:00
Jesse Boyd
84f1ee19fc
Fixes #322 2016-10-24 23:43:11 +11:00
Jesse Boyd
3c371d2eb1
Fix rotation
fixes rotation for signs, banners and nbt data
2016-10-24 22:22:55 +11:00
Jesse Boyd
f13c01a177
Fixes #340 2016-10-24 19:38:25 +11:00
Jesse Boyd
b71c3ec43e
Possibly fixes #335 2016-10-22 04:07:41 +11:00
Jesse Boyd
bbb6346aff
Fixes #336 - Though you should also update to Java 8 2016-10-22 00:31:10 +11:00
Jesse Boyd
4cafeb68ca
Flush EditSession on CuboidClipboard paste
- Note that using CuboidClipboard is deprecated, and flushQueue should
heve been called anyway
2016-10-22 00:27:22 +11:00
Jesse Boyd
85133067dd
Fixes #338 2016-10-21 23:19:49 +11:00
Jesse Boyd
f2204fd188
Fixes chunk sending when block placement is really slow
TODO fix this properly later
- This fix works, but isn't very clean
- Queue should have a `done` stage rather than assuming empty = done
2016-10-21 02:59:01 +11:00
Jesse Boyd
0054e432ae
Fix clipboard paste error. 2016-10-21 00:54:02 +11:00
Jesse Boyd
8e91d8a6ad
Potential fix for crash 2016-10-21 00:45:40 +11:00
Jesse Boyd
d5ea46a29c
PGZIP 2016-10-20 18:03:56 +11:00
Jesse Boyd
04164b9064
* 2016-10-17 18:54:35 +11:00
Jesse Boyd
295aad0f2f
Minor inventory + queue management changes 2016-10-17 18:04:33 +11:00
Jesse Boyd
135d936825
* 2016-10-04 01:46:13 +11:00
Jesse Boyd
c22063edb6
Fix identical states being recorded as a change 2016-10-04 01:37:23 +11:00
Jesse Boyd
47cbc2bc8c
Proper support for WorldEdit inventory
- Per player inventory mode (0, 1, 2)
- Use mode 2 for survival (setting air doesn't give you the blocks)
- Fixes several duplications glitches
- Adds speed and placement type option per player

-
2016-10-04 01:21:27 +11:00
Jesse Boyd
7886947061
Disable combine stages for nukkit 2016-10-03 03:16:04 +11:00
Jesse Boyd
d2413daca1
Only owners can rollback 2016-10-02 17:55:24 +11:00
Jesse Boyd
2682540de5
Fixes + Trim
Usage /plot trimchunks <world> <trim-unowned>
Fixes for Anvil
e.g. /plot trimchunks plotworld true
Will output the trimmed world to another folder (you need spare disk
space)
Some minor fixes.
Added WeakFaweQueueMap which will discard changes when low memory
2016-10-02 16:20:12 +11:00
Jesse Boyd
9de370ebc8
Fixes #316 2016-10-01 16:35:12 +10:00
Jesse Boyd
c39f92248f
Fix latest pom output 2016-10-01 16:01:34 +10:00
Jesse Boyd
47fef5b345
Fixed #324 2016-10-01 15:33:45 +10:00
Jesse Boyd
204660d3eb Rebuild (no changes) 2016-09-30 06:18:14 +10:00
Jesse Boyd
0251c193c1 Add transforms 2016-09-30 06:12:08 +10:00
Jesse Boyd
7deeb51ca7 Fix set mask on double action brush tool 2016-09-29 00:58:18 +10:00
Jesse Boyd
5513e4cdc4 Use expression for offset/randomoffset 2016-09-28 23:49:52 +10:00
Jesse Boyd
cb4821078e *Whoops 2016-09-28 23:34:48 +10:00
Jesse Boyd
b414229c91 Add offset pattern 2016-09-28 23:19:00 +10:00
Jesse Boyd
7da883b9d7 Add gmask multiple mask args + fix masked pattern 2016-09-28 23:10:34 +10:00
Jesse Boyd
76b4bb4857 I forgot to commit everything 2016-09-28 22:48:20 +10:00
Jesse Boyd
bd90df7635 Finish new patterns 2016-09-28 17:52:01 +10:00
Jesse Boyd
1e79ae4a0f Various
Optimize spline
Translate spline brush
Add various new patterns (#nox #noy #noz #rel `[stone,wood,blah`
#existing
Can now use percentages with patterns, not just blocks e.g.
50%#clipboard,50%stone
Add resettable patterns
2016-09-28 17:03:08 +10:00
Jesse Boyd
5b96a52e99 Not finished yet (spline brush) 2016-09-28 03:14:05 +10:00
Jesse Boyd
42a3203777 Forgot to flush VS brushes 2016-09-27 20:05:57 +10:00
Jesse Boyd
923bc9909a * 2016-09-27 12:54:45 +10:00
Jesse Boyd
8090bf9f1d Various
Increase chunk-wait
Sync packet sending
Allow up outside region
2016-09-27 02:58:16 +10:00
Jesse Boyd
27149ed67a Fixes #315 2016-09-26 14:42:22 +10:00
Jesse Boyd
50504a0fe5 Setting for disabling the physics limiter 2016-09-26 14:05:58 +10:00
Jesse Boyd
9e6c90430d Catch all progress tracker errors 2016-09-26 13:52:25 +10:00
Jesse Boyd
f8a606c783 Tweak version 2016-09-26 02:42:23 +10:00
Jesse Boyd
3306bd2cdc Performance improvements + Fix packet sending
Async flush the changeset (sync flush for undo when needed)
- Not any faster, but edits will feel significantly faster
Fix incorrect bit mask for fixlighting packet sending
2016-09-26 01:53:13 +10:00
Jesse Boyd
7c96547c68 Separate schem load + url perms 2016-09-25 22:22:40 +10:00
Jesse Boyd
d5e2527150 Fix stack (for real this time) 2016-09-25 22:04:27 +10:00
Jesse Boyd
861b10403d Fix NPE in NMSRelighter 2016-09-25 05:43:42 +10:00
Jesse Boyd
479c6c5172 Adjacent mask range parameter 2016-09-25 05:11:34 +10:00
Jesse Boyd
c676d89aa6 * 2016-09-25 05:02:03 +10:00