Commit Graph

654 Commits

Author SHA1 Message Date
Jesse Boyd
4210ec0479
Print failed permissions for commands 2016-12-23 03:10:15 +11:00
Jesse Boyd
025ffcc8e7
Only create an edit session for specific commands
There's no reason why non operations need to create an edit session
2016-12-23 03:08:02 +11:00
Jesse Boyd
94831c6fa2
Vector2D & BlockVector2D are incompatible
BlockVector2D extends Vector2D, yet implements an incompatible hashcode,
making the class unsafe/incompatible.
2016-12-23 02:38:07 +11:00
Jesse Boyd
4434f3d128
Worldedit shouldn't be checking every permission
For some reason worldedit devs thought it was a good idea to
unnecessarily check every permission in a class when executing a
command.
2016-12-23 02:32:39 +11:00
Jesse Boyd
76e037492b
Add speicifying biome/seed for regen command
//regen
//regen forest
//regen desert 5336
2016-12-23 02:31:00 +11:00
Jesse Boyd
dcc0c15c03
BREAKS OLD UNDO FILES + better compression
Reduce block position entropy by encoding coordinates relative to last
position
2016-12-21 06:22:03 +11:00
Jesse Boyd
0e26ce6e1e
Add message prefix to the worldedit commands 2016-12-21 05:56:41 +11:00
Jesse Boyd
f5f326bf89
Better mask parsing + optimize mask union/intersect 2016-12-21 05:44:01 +11:00
Jesse Boyd
ba62563b72
Tweak some default settings 2016-12-21 05:41:34 +11:00
Jesse Boyd
812816e4e4
* 2016-12-15 18:48:35 +11:00
Jesse Boyd
30700559db
Masking changes
Add light related masks
- #opacity
- #brightness
- #blocklight
- #skylight
- #light
- #nolight
- #haslight
Add mask tab completion
Add source masks
- `/gsmask` and `/smask`
- Masking the source instead of the destination (e.g. with //paste)
- if there is no source, the current block/extent will be used
2016-12-15 18:36:04 +11:00
Jesse Boyd
bde4749e2c
Only instantiate packets for the required versions 2016-12-15 18:32:19 +11:00
Jesse Boyd
1b07dbae1d
* 2016-12-14 09:36:28 +11:00
Jesse Boyd
e7297199c1
Send client version packet 2016-12-14 09:23:07 +11:00
Jesse Boyd
64d7052d5f
Some tweaks to fuzzy region select 2016-12-13 15:02:05 +11:00
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
Jesse Boyd
79041d7671 Merge pull request #368 from EvilOlaf/patch-1
Enhancements
2016-12-13 01:32:49 +11:00
Very Evil Olaf
540428f6b0 Enhancements 2016-12-12 15:28:51 +01:00
Jesse Boyd
049e4f1c6c Merge pull request #367 from HexoCraft/master
Added getWorldSelection.
2016-12-13 01:02:50 +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
78640aef1c
Change vault message 2016-12-12 17:37:16 +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
98b79e7ccc Merge pull request #363 from LaxWasHere/patch-1
Minor text fixes.
2016-12-06 15:58:09 +11:00
Lax
165690f80e Minor text fixes.
http://i.imgur.com/0uMMZUt.png
2016-12-04 23:39:35 -08: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
158ed391b4
Fix for 1.7.10 2016-12-02 11:50:54 +11:00
Jesse Boyd
04509e43ab
Forgot this 2016-12-01 15:16:20 +11:00
Jesse Boyd
4e1aacb566
Potentially fixes #348 2016-12-01 13:58:31 +11:00