Commit Graph

95 Commits

Author SHA1 Message Date
Jesse Boyd 134daefa24
Various unfinished
Start work on command GUI
Code cleanup
Add new lighting mode (see config)
Rename sponge -> sponge112
Fix sponge compile issues
Fix fuzzy region min/max not being set on first use
Fix clipboard on disk not closing on java 9
Start work on CFI chunk simplifier (for loading existing worlds)
Minor tile fixes for bukkit 1.12
2018-01-16 11:30:55 +11:00
Jesse Boyd 5be72dd5d7
Quicker tick-limiter detection and lower timings 2018-01-11 20:16:10 +11:00
Jesse Boyd 4b7c1e987b
Fixes #870 Fixes #872 2018-01-11 18:08:15 +11:00
Jesse Boyd 9366acd6dc
Fixes #870 2018-01-11 14:26:33 +11:00
Jesse Boyd e1e31beff0
Fixes #847 2018-01-07 21:25:49 +11:00
Jesse Boyd 395b46c842
Various major
New building mode (using CFI):
- CFI world is generated around the player in realtime
- Use WorldEdit/VS brushes while editing
- This is still being optimized
- Use a 1K radius height brush with near instant results
- https://github.com/boy0001/FastAsyncWorldedit/wiki/CreateFromImage

Early example: https://www.youtube.com/watch?v=jp1SjanWN70
2017-12-26 22:15:24 +11:00
Jesse Boyd ee38f856e4
Fixes #738 2017-09-14 15:31:25 +10:00
Jesse Boyd eddb4d8b2d
CUI using structure blocks (config option) 2017-09-13 17:25:44 +10:00
Jesse Boyd ba195c40a1
* 2017-09-12 04:06:27 +10:00
Jesse Boyd 8ac2bf6da3
Interactive CFI 2017-09-12 03:02:44 +10:00
Jesse Boyd 4d02548b04
(Experimental) Persistent brushes (config option)
Brushes can be bound to the item instead of being stored in the player's
LocalSession.
- Brushes can be shared by dropping the item
- Hasn't been fully tested, there may be bugs or performance issues
2017-08-31 16:04:03 +10:00
Jesse Boyd 7ba4e51a22
Various minor
fix parallel threads for sponge
remove static modifier for some fields
2017-08-08 22:25:22 +10:00
Jesse Boyd 1cc9a37520
Some more message interaction 2017-08-01 15:42:42 +10:00
Jesse Boyd 03b4aaad3c
Various
FAVS
- Support for //gmask
- Support for //gsmask
- Support for //gtransform
- Suport for /v <pattern>
improved ingame changelog info
Increase tick limiter default item spawn limit
Fixes #632
Fixes #629
Fixes #627
Fixes #628
2017-07-09 22:54:04 +10:00
Jesse Boyd 7f01ac7790
Various minor
Fix nukkit compile
Fix setBlocks with BlockPattern
MCAQueue filterCopy API (performs operations on a copy of the world)
Add //anvil trimallplots
2017-07-05 18:53:05 +10:00
Jesse Boyd 043f1e6002
minor cleanup 2017-06-20 19:00:30 +10:00
Jesse Boyd edd8dcc552
Various minor
Tweak some messages
Add command confirmation
Optimize surface mask
Optimize angle mask (further)
Fix help formatting
Fix rollback import from disk being a shallow summary
2017-06-19 16:38:07 +10:00
Jesse Boyd 7ae2d65607
Various
Dynamic chunk rendering (experimental section in config)
Use local files for CFI heightmaps: file://<file-path>
- Root directory is plugins/FastAsyncWorldEdit/heightmap
Optimize anvil for 1.12
Add safety checks to anvil commands
Move anvil command implementation to com.boydti.fawe.jnbt.anvil.filters
Add anvil chunk delete
Add MCAWriter mca offset method
Fix count -d
Fix taskbuilder split task concurrency issue
2017-06-16 15:28:10 +10:00
Jesse Boyd b9c056c879
Various
Optimize for 1.12
Refactor commands / style / cleanup
Brush saving/loading
Tweak / improve ChunkListener
2017-05-15 21:33:03 +10:00
Jesse Boyd 17fb559f10
Various
FAWE texture support
- Put any mods or client jars in `FastAsyncWorldEdit/textures`
- These textures can be used in patterns and commands (WIP)
- Adds #color:color pattern
Added random flip to #fullcopy:<schem>:<random-rotate>:<random-flip>
Improved parsing for clipboard loading
FRB now only works in regions you are the owner of (or if you have admin
bypass)
2017-04-28 05:28:03 +10:00
Jesse Boyd 81b60f75cf
* 2017-04-24 00:06:54 +10:00
Jesse Boyd df15ba6cd7
Simplify config comments, messages, add permpack.
fawe.permpack.basic
2017-03-31 13:12:23 +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 c325f0745c
Add async relighting option 2017-03-05 02:57:59 +11:00
Jesse Boyd 8c592d1506
Assets 2017-03-04 21:33:45 +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 e6dfdf0ecf
Chat progress tracker 2017-02-20 11:10:23 +11:00
Jesse Boyd d1682d6938
Fixes #430 2017-02-19 14:44:13 +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 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 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 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 ba62563b72
Tweak some default settings 2016-12-21 05:41:34 +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 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 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 5a914513b9
Updating option 2016-12-02 12:49:40 +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 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 8090bf9f1d Various
Increase chunk-wait
Sync packet sending
Allow up outside region
2016-09-27 02:58:16 +10:00
Jesse Boyd 50504a0fe5 Setting for disabling the physics limiter 2016-09-26 14:05:58 +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 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 35b37ac8e9 Allow multiple actions at a time
Closes #287
2016-09-16 17:47:53 +10:00