Commit Graph

683 Commits

Author SHA1 Message Date
Jesse Boyd
eb55f5fd7d
Allow third party command registration 2017-03-07 16:27:41 +11:00
Jesse Boyd
fc8fbbb0c4
Fixes #395 2017-03-07 04:31:54 +11:00
Jesse Boyd
bc46688a98
Fixes #450 2017-03-06 21:37:16 +11:00
Jesse Boyd
4237c6e21a
Fixes #451 2017-03-06 14:46:56 +11:00
Jesse Boyd
400d0319ab
Fixes #452 2017-03-06 14:45:29 +11:00
Jesse Boyd
119a332d83
Slight changes 2017-03-06 14:00:34 +11:00
Andrew Gazelka
8d3b918441 Add option to limit //calc max execute time
This fixes players abusing //calc by spamming it, causing more
calculation threads be created than destroyed.
2017-03-05 19:57:57 -06:00
Jesse Boyd
2a3f92ad18
Fixes #446 2017-03-06 06:25:25 +11:00
Jesse Boyd
61892c50dc
Use player session to allow undo. 2017-03-06 04:41:26 +11:00
Jesse Boyd
150a5b16db
Remove clipboard load message 2017-03-06 03:22:53 +11:00
Jesse Boyd
6c505c8c02
Clean up brushes 2017-03-06 03:19:14 +11:00
Jesse Boyd
0775b55fbb
Allow binding by data 2017-03-05 15:46:48 +11:00
Jesse Boyd
c10520c010
Clear visualizer on item change 2017-03-05 15:34:26 +11:00
Jesse Boyd
4007155b8f
Fix index bounds error 2017-03-05 15:30:21 +11:00
Jesse Boyd
e7e833789a
Fix clipboard scroll with 1 entry 2017-03-05 03:04:10 +11:00
Jesse Boyd
c325f0745c
Add async relighting option 2017-03-05 02:57:59 +11:00
Jesse Boyd
b3b86bd3df
Various
Fix brush scroll
Fix spline reset
Allow setting offhand brush settings (use -h flag)
2017-03-05 01:48:04 +11:00
Jesse Boyd
52740d1e1c
*Wrong url 2017-03-05 01:36:34 +11:00
Jesse Boyd
9c805f2de2
Fix for 1.10 2017-03-05 00:43:32 +11:00
Jesse Boyd
e9250d6e7c
Add flag for copy brush random rotate 2017-03-04 22:07:03 +11:00
Jesse Boyd
8c592d1506
Assets 2017-03-04 21:33:45 +11:00
Jesse Boyd
5ead47ba2f
Possibly fixes #438 2017-03-04 18:22:11 +11:00
Jesse Boyd
cb2f9ebf11
Move class 2017-03-04 17:19:23 +11:00
Jesse Boyd
9e9339b9ab
*Rename command 2017-03-04 17:03:32 +11:00
Jesse Boyd
04603b7cee
Various
Improved web integrated clipboard
Fully fledged brush visualization (modes 0-2): //br vis
Brush targeting modes (0-3): //br target
Brush scroll actions: //br scroll
- change clipboard from directory or web
- change mask
- change pattern
- change range
- change size
- change target mode
Build multi-brushes (choose the brush for left click and right click
individually)
- //br primary
- //br secondary
- Changing the pattern/mask will affect the currently selected brush,
not both
Changes to brush behavior
- spline connects by clicking the same spot twice
- line/copy brush tweaks
Schematics now default per user
- To save/load globally use "../" before the filename
Easily save a schematic to a directory
- `//schem save folder/` will choose save a the next lowest free number
Improved block parsing
Add resettable brushes
- e.g. line brush resets points by shift + left click
2017-03-04 00:54:50 +11:00
Jesse Boyd
9c74d0b981
Various (unfinished)
Fixes #439
Update to Java 8
Adds scrollable brushes to the API (action on brush scroll)
- Clipboard
- Mask
- Pattern
- Range
- Size
Adds movable brushes to the API (action on brush move)
Adds different targeting modes for brushes (see enum TargetMode)
Adds VisualBrush to API (sends client block changes instead of changing
the world)
Updater now checks every 30m for updates
Adds in game updater changelog (/fawe changelog)
Adds language option to config
Adds german translations
Adds CircleBrush (WIP)
Simplify DoubleActionBrush and DoubleActionBrushTool to extend
Brush/BrushTool
Use ImmutableBlock instead of anonymous BaseBlock for cache
Fixes CuboidRegion iteration (affected some commands)
Fixes WorldCopyClipboard schematic saving
Optimize FawePlayer -> Player by caching value
Simplified pattern and mask API by extending legacy versions
Optimize sphere, cylinder and deform
Added brush cancellation by SHIFT + LEFT CLICK
Probably some other stuff
2017-02-26 16:39:00 +11:00
Jesse Boyd
74baf5fee8
Fixes #442 2017-02-26 16:23:55 +11:00
Jesse Boyd
01a7c9c388
Async flush AsyncWorld 2017-02-20 11:11:28 +11:00
Jesse Boyd
e6dfdf0ecf
Chat progress tracker 2017-02-20 11:10:23 +11:00
Jesse Boyd
a080735b83
Fix stack outside region 2017-02-20 07:46:30 +11:00
Jesse Boyd
32808dfc81
Some fixes to the erode brush 2017-02-20 01:50:05 +11:00
Jesse Boyd
d1682d6938
Fixes #430 2017-02-19 14:44:13 +11:00
Jesse Boyd
b9fdfb8b01
Fixes #427 Fixes #426 2017-02-18 16:12:42 +11:00
Jesse Boyd
3d81e98a2a
Fix remove message 2017-02-17 12:52:23 +11:00
Jesse Boyd
2637cbc9cd
Include Javassist (bytecode manipulation)
Will be used to optimize the server jar
2017-02-16 20:32:16 +11:00
Jesse Boyd
e3a56fcc50
Fix center + tweak updater 2017-02-16 13:25:48 +11:00
Jesse Boyd
79f7a95fc6
Fix cuboid iteration 2017-02-16 02:21:58 +11:00
Jesse Boyd
1cd090ce01
use different method for history flushing/close 2017-02-16 01:57:03 +11:00
Jesse Boyd
0af82fd31f
Fixes #421 2017-02-15 14:26:40 +11:00
Jesse Boyd
47b7e858ff
Optimize BFS and ellipsoid iteration 2017-02-15 14:25:48 +11:00
Jesse Boyd
4caadb8ab9
Probably fixes #423 2017-02-14 09:06:44 +11:00
Jesse Boyd
686e932943
Timed expression evaluation 2017-02-14 09:01:32 +11:00
Jesse Boyd
760de4af24
Fix the flatmap scaling issues 2017-02-13 21:16:53 +11:00
Jesse Boyd
861ebad1ea
Forgot to flush undo/redo 2017-02-13 15:08:57 +11:00
Jesse Boyd
8168c08ab6
Fix heightmap scaling 2017-02-13 15:08:32 +11:00
Jesse Boyd
2c119c468c
Possibly fixes #422 2017-02-13 15:08:09 +11:00
Jesse Boyd
4d09354bd4
Flat brush shapes 2017-02-13 05:34:27 +11:00
Jesse Boyd
7069966f5f
Fix bad cast 2017-02-13 04:39:42 +11:00
Jesse Boyd
47999d323b
Fix some chunk loading issues
Affected 1.8/1.7
Also improves performance for various operations
2017-02-13 02:55:19 +11:00
Jesse Boyd
897d86b5cb
Only update if using java 8 2017-02-12 14:19:25 +11:00
Jesse Boyd
f95190bf51
Forgot to smooth/fix scaling 2017-02-08 16:26:37 +11:00
Jesse Boyd
49fc44bb4d
Add flatten brush (needs testing) 2017-02-08 15:44:21 +11:00
Jesse Boyd
85ac3dff41
preloading chunks is significantly faster
The RegionVisitor loads (default: 32) expected chunks just in time for
the operation.

TODO rewrite operations to use the new RegionVisitor
2017-02-08 14:43:34 +11:00
Jesse Boyd
d5d5b47cdb
tweak the syntax 2017-02-08 12:12:55 +11:00
Jesse Boyd
a3b8f4c917
Add heightmap from imgur 2017-02-08 12:01:44 +11:00
Jesse Boyd
295baa4217
Fixes #418 2017-02-07 19:23:26 +11:00
Jesse Boyd
8fd908232e
Add memory/CPU optimized BlockVectorSet
Which internally it uses a map of LocalBlockVectorSet
2017-02-06 13:13:18 +11:00
Jesse Boyd
0427771b7e
Re-add the forge/sponge modules 2017-02-06 13:09:44 +11:00
Jesse Boyd
1fdc0a59ec
*Use player limit rather than int max 2017-02-02 10:33:07 +11:00
Jesse Boyd
6439f28c0c
Add restrictions to region copy 2017-02-02 10:29:37 +11:00
Jesse Boyd
479d92b573
synchronize NMSRelighter map as switched to fastutil 2017-01-30 20:42:14 +11:00
Jesse Boyd
6408320843
synchronize on block map access 2017-01-30 06:26:47 +11:00
Jesse Boyd
116a1869b1
Fixes #400 2017-01-29 13:31:08 +11:00
Jesse Boyd
ebc7ba43e6
Various
Fix biome change not sending packet
Add optimized biome get and set (AsyncWorld, EditSession etc.)
Add undo for biome changes
Fix tile entities for slow (non NMS) bukkit queue
Translate some stuff
Fix some concurrency issues with autoqueue
cuboid region geChunks() now has fixed memory cost (applies to commands
e.g. //listchunks)
Fix some undo issues
2017-01-29 09:25:53 +11:00
Jesse Boyd
7f1390803f
Override BlockWorldVector 2017-01-16 01:44:34 +11:00
Jesse Boyd
8ac81b51e5
Check if web url is configured before download 2017-01-15 22:38:22 +11:00
Jesse Boyd
a7b29ab82f
Tweak some stuff 2017-01-15 22:15:22 +11:00
Jesse Boyd
55f95e5022
ignore EOF 2017-01-15 20:26:51 +11:00
Jesse Boyd
812c12fce4
Undo/Settings
Fix some disk and undo issues
FaweQueue uses Settings instance
2017-01-15 18:45:12 +11:00
Jesse Boyd
9d2e9212fa
Add option to send packets before relight 2017-01-15 15:50:12 +11:00
Jesse Boyd
5e2d3b2523
Fixes distr region bypass 2017-01-13 16:53:55 +11:00
Jesse Boyd
ef145dbbc4
Fixes #394 2017-01-13 16:45:20 +11:00
Jesse Boyd
90e381a132
Minor vector optimizations
For the MutableBlockVector, use int instead of double
- Should reduce how quickly memory is used/collected
2017-01-13 06:05:32 +11:00
Jesse Boyd
4dc6cadc5d
Fixes #387 2017-01-11 18:08:12 +11:00
Jesse Boyd
de7c0bb013
* 2017-01-11 07:54:07 +11:00
Jesse Boyd
bc677f823e
Various
Fix for Vector/BlockVector
Use optimized LocalBlockVectorSet for various operations
- Ideally I'd like the operations to use O(1) memory, but for now it'll
use substantially reduced O(n)
Some message tweaks
Some minor entity placement optimizations
Refactor set optimization to be in the EditSession class
Fix and minor optimizations for for countBlocks()
Minor optimizations for affine transforms (//rotate etc.)
Optimizations for fuzzy block mask
2017-01-11 07:47:59 +11:00
Jesse Boyd
674d40f19c
Add optimized Set<Vector>
The LocalBlockVectorSet implements Set<Vector>
- Faster than a HashSet and uses 100-800x less memory
- Limited to vectors all within a 2048x256x2048 area
2017-01-11 07:29:34 +11:00
Jesse Boyd
21c77a2fc8
Fixes #391 2017-01-09 14:39:55 +11:00
Jesse Boyd
f6db2cf7d3
I should probably have a perm for that 2017-01-09 04:47:55 +11:00
Jesse Boyd
ea637dbbfd
Allow specifying nbt in block pattern 2017-01-09 04:34:31 +11:00
Jesse Boyd
22c89ce33a
*This should probably also have nbt 2017-01-09 03:41:00 +11:00
Jesse Boyd
ffd3275904
Fixes #320 2017-01-09 03:34:43 +11:00
Jesse Boyd
c0cbe8b4cd
Clean up the brush class 2017-01-08 23:53:46 +11:00
Jesse Boyd
1f83319c8f
Fix FakePlayer error (API usage) 2017-01-08 23:52:44 +11:00
Jesse Boyd
c2dec27fae
LocalSession transform should be transient 2017-01-08 23:51:59 +11:00
Jesse Boyd
b340ebff0f
Fixes #389 2017-01-08 23:50:16 +11:00
Jesse Boyd
0103706ce7
Better block parsing + Fixes #386 2017-01-08 23:49:29 +11:00
Jesse Boyd
08586dc022
Fix compass passthrough 2017-01-03 07:50:43 +11:00
Jesse Boyd
1c30bc6c58
Fixes #381 2017-01-03 07:42:28 +11:00
Jesse Boyd
95715da039
Toggle worldedit /tips 2017-01-03 07:29:14 +11:00
Jesse Boyd
75b0d5512c
Fixes #377 2017-01-01 23:29:52 +11:00
Jesse Boyd
e46613ce02
Fixes #382 2017-01-01 23:23:18 +11:00
Jesse Boyd
6230188646
Minor rollback command changes 2017-01-01 23:23:02 +11:00
Jesse Boyd
3f70fb6585
Add rollback by id 2016-12-31 18:46:55 +11:00
Jesse Boyd
142fad42cd
Rebuild - no changes 2016-12-31 17:46:31 +11:00
Jesse Boyd
ca8b161e4c
Fix fake player inter world teleport 2016-12-31 17:23:01 +11:00
Jesse Boyd
8229fddb5e
Fix debugpaste 2016-12-31 17:22:32 +11:00
Jesse Boyd
270b7986ac
Fix air count calculation error 2016-12-31 17:22:20 +11:00
Jesse Boyd
96cdf1230e
rebuild - no changes 2016-12-30 17:07:16 +11:00
Jesse Boyd
0c14dfdf9a
rebuild - no changes 2016-12-30 02:58:13 +11:00
Jesse Boyd
8a40320a64
Fix changeset NPE 2016-12-29 19:43:27 +11:00
Jesse Boyd
850bb533cb
Fix packet sending for null chunk sections 2016-12-29 11:53:07 +11:00
Jesse Boyd
362067f90d
Use correct time for progress task 2016-12-29 11:52:20 +11:00
Jesse Boyd
04bdec3e76
Optimize set when not region restricted 2016-12-29 10:20:37 +11:00
Jesse Boyd
0c33e84e6b
Tweak some messages 2016-12-29 10:20:11 +11:00
Jesse Boyd
5ffacaaf12
Fix progres tracking spam 2016-12-29 10:18:48 +11:00
Jesse Boyd
77ea4fa37c
Update web installer urls 2016-12-29 10:18:12 +11:00
Jesse Boyd
d43dbab7c5
DL WorldEdit bukkit if they forget 2016-12-27 23:28:43 +11:00
Jesse Boyd
2d295effee
forge installer 2016-12-27 21:56:37 +11:00
Jesse Boyd
32ae0f1d48
Update sponge jar 2016-12-26 18:42:33 +11:00
Jesse Boyd
4ea09c11de
Optimize distr 2016-12-24 17:38:46 +11:00
Jesse Boyd
1987f7c34a
Add direction for logs/stuff + tweak messages 2016-12-24 07:46:52 +11:00
Jesse Boyd
65c0a0e06d
*forgot to set the perm 2016-12-23 16:28:02 +11:00
Jesse Boyd
50ac6c86a0
Add lazycut 2016-12-23 16:25:42 +11:00
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
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
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
Jesse Boyd
fca33e5e87 Fix radius mask 2016-09-25 05:00:47 +10:00
Jesse Boyd
f2e576a14f Fix adjacent mask 2016-09-25 04:50:11 +10:00
Jesse Boyd
cbade2cec0 Superpickaxe + Masks
Add radius mask
Add adjacent mask
Fix superpickaxe error
Fix BFS
2016-09-25 03:37:29 +10:00
Jesse Boyd
d5b7605f5e Allow third parties to register custom masks 2016-09-25 02:31:18 +10:00
Jesse Boyd
4430f14677 Possible fix for packet sending 2016-09-25 00:24:51 +10:00
Jesse Boyd
8d5fc88844 Fix stack being slow 2016-09-25 00:22:45 +10:00
Jesse Boyd
4f6abeaaff Add getClipboard() method to Schematic class 2016-09-24 23:25:15 +10:00
Jesse Boyd
64c00e4c3b Fix flushing on main thread 2016-09-24 17:55:15 +10:00
Jesse Boyd
f9ee91f192 Remove debug message 2016-09-24 15:19:47 +10:00
Jesse Boyd
8461f406cf Fix region caching 2016-09-24 14:57:49 +10:00
Jesse Boyd
d61c21f60e Fix error from flushing on different thread 2016-09-24 14:41:33 +10:00
Jesse Boyd
889efdcc45 Fix lastMask meta (typo) 2016-09-24 13:02:27 +10:00
Jesse Boyd
b202adb2ce Fix progress tracking 2016-09-24 12:52:34 +10:00
Jesse Boyd
8a4c399b53 Fix angle mask 2016-09-24 02:55:00 +10:00
Jesse Boyd
2cb1485553 Various
Fixes #305 //sel extend bug
Translate a few messages
Add option `store-redo: true`, disabling will result in smaller history
but cannot use redo
Add option `small-edits: false` will reduce history by assuming edits <
4096x256x4096
Change FaweStreamChangeSet to use new settings, but be backwards
compatible (uses mode byte)
Add auto generated semantic version (may not be accurate)
Add recursive brush
Optimize undo/redo using mutable change objects
Tweak several classes to implement HasFaweQueue
Fix wrong cancel message for entity/biome changes
Optimized offset mask
Fixed masks not being reset after edit
Added interface ResettableMask used to reset masks after being used for
an EditSession
Added MaskTraverser for traversing and resetting inherited masks after
use
Added angle mask \#,#
Added id,data,combined mask #id #data #iddata (Must match starting block
id/data)
Added x,y,z axis mask #xaxis #yaxis #zaxis
Add mode 4 FAWE format (short location prefix + no combined from bytes)
Fix `/frb` command not respecting regions
Tweak permission for `/frb` -> worldedit.history.rollback
Translated ToolUtil commands
2016-09-23 17:11:41 +10:00
Jesse Boyd
b2ef1cbc50 Fixes #302 2016-09-21 15:01:37 +10:00
Jesse Boyd
07f4f61cc2 Refactor + Fixes #300 2016-09-20 18:46:49 +10:00
Jesse Boyd
87e03f835c Fix region contains 2016-09-18 23:55:10 +10:00
Jesse Boyd
2d67aa5b9d This should work
queue commands if over limit (default = 1)
fix caclulating history size (in memory)
fix relighting in parallel
2016-09-18 23:48:16 +10:00
Jesse Boyd
35b37ac8e9 Allow multiple actions at a time
Closes #287
2016-09-16 17:47:53 +10:00
Jesse Boyd
58a1fb183e Minor tweaks| 2016-09-16 01:30:45 +10:00
Jesse Boyd
f55a58a3f3 Various
Reduce max memory allocation size
- Uses multiple byte arrays instead of one large one for streams
- Faster read/write as less dependent on arraycopy
Remove world compression (it was buggy / there was no interest)\
EditSession can now be used as a world
Fix pos1/pos2 being allowed outside the world
Fixed liquid mask not being thread safe
Fixed plot upload
Reduce packet sending
- Increase delay to being able to see blocks, but more efficient
2016-09-15 19:49:29 +10:00
Jesse Boyd
911e7e7751 Fix downloaded schems + mcedit 2016-09-14 10:12:09 +10:00
Jesse Boyd
6dfea0364a * 2016-09-13 17:37:28 +10:00