Commit Graph

310 Commits

Author SHA1 Message Date
Jesse Boyd dc686c45d0
* 2017-08-29 22:44:31 +10:00
Jesse Boyd 81850daa0d
Remove title fade in + minor texture fix 2017-08-29 22:43:00 +10:00
Jesse Boyd 8c4d8dbcc2
Fix compile 2017-08-29 21:37:09 +10:00
Jesse Boyd c7c425cab1
Possibly fixes #563 2017-08-29 21:23:19 +10:00
Jesse Boyd 356c5431ec
Fixes #715 2017-08-29 19:48:23 +10:00
Jesse Boyd ee0a09e132
Optimize async -> sync task execution 2017-08-27 20:18:31 +10:00
Jesse Boyd b979db514e
Fix hooking metrics with obfuscated plugins 2017-08-22 20:05:34 +10:00
Jesse Boyd a73e44c88c
Fixes #668 2017-08-21 23:39:20 +10:00
Jesse Boyd 65442c886a
Fixes #705 2017-08-20 22:09:38 +10:00
Jesse Boyd 7359100159
Anvil undo/region restrictions 2017-08-20 14:54:10 +10:00
Jesse Boyd d37e44e395
Fixes #1701 2017-08-19 15:45:57 +10:00
Jesse Boyd 81ffd52e9f
Fixes #695 2017-08-18 15:05:38 +10:00
Jesse Boyd 891f50a7c7
Various
Fixes #694
Fixes #691
Closes #693
2017-08-18 00:35:15 +10:00
Jesse Boyd e9db802e2d
Hook with other bukkit metrics 2017-08-16 17:27:56 +10:00
Jesse Boyd 8a50c27ebc
* 2017-08-16 00:04:45 +10:00
Jesse Boyd b0a82a4cd7
Update metrics 2017-08-15 19:43:17 +10:00
Jesse Boyd f0553f80ae
* 2017-08-13 16:30:31 +10:00
Jesse Boyd ae1e05fda4
Support entities with non nms placer 2017-08-13 16:07:34 +10:00
Jesse Boyd f0066bbd26
Don't use relighter for non nms placer 2017-08-13 13:13:03 +10:00
Jesse Boyd 92bf3f702b
Future proofing
This is working towards making sure all parts of FAWE will work on newer
versions of minecraft without the plugin needing to update. (it'll still
be slower until proper support is added)
- Adds version agnostic bukkit adapter
- Adds version agnostic bukkit anvil mode
2017-08-13 12:38:19 +10:00
Jesse Boyd 113c625122
Don't check for parrots on unknown version 2017-08-13 12:15:56 +10:00
Jesse Boyd 2b0f1e62b7
Fixes #686 2017-08-10 00:41:19 +10:00
Jesse Boyd 71306cb749
Various
Anvil API can now be used fully async
- The underlying code still schedules things on the main thread
plotsquared + plotme perms now default to true
Minor optimization for DownwardVisitor
2017-08-08 17:36:17 +10:00
Jesse Boyd 755103a558
Fix block meta issues 1.7.10 bukkit
Fixes #655
Closes #679 (duplicate)
2017-08-07 23:27:31 +10:00
Jesse Boyd 3d2f939377
*forgot to commit all 2017-08-04 14:22:56 +10:00
Jesse Boyd db524acc3d
Fix compat with spigot 1.12.1 2017-08-04 14:17:18 +10:00
xnrand e20f03d72e Verify integrity of downloaded jars
The bukkit plugins download jar files from Curse and then load those
as plugins, i.e. they're running downloaded code.

In order to increase security, this commit adds logic to verify the
SHA-256 hash of the downloaded jar files.
2017-07-30 15:25:37 +02:00
Jesse Boyd 8dfcb0f914
Various
Start work on interactive commands (//help, //biomelist, //pos1/2)
Added clipboard and world remapping (between mcpe/pe)
//schematic remap
//anvil remapall
Added anvil -> leveldb converter (run Nukkit jar or /anvil2leveldb)
Added safe zstd decompressor
Angle mask fixes
Fix paste air issues with fawe format (which no-one uses anyway)
Fix cfi file:// with an absolute path
FIx schematic format and addBlocks
Update forge to 1.12
Fixes #663
2017-07-28 15:12:58 +10:00
Jesse Boyd 090eda1d0d
Better //wand 2017-07-26 15:46:52 +10:00
Jesse Boyd aa6dbc9040
Fix compile 2017-07-26 14:49:56 +10:00
Jesse Boyd b07d72808b
Might fix #652 2017-07-22 17:48:10 +10:00
Jesse Boyd 70c0838602
Fixes #650 2017-07-22 16:55:33 +10:00
Jesse Boyd d8e756a74e
Fixes #649 2017-07-22 16:50:30 +10:00
Jesse Boyd 94a7834917
* 2017-07-18 00:48:49 +10:00
Jesse Boyd 8c6e24a3e5
Fix fallback command registration (worldedit bug) 2017-07-17 23:51:01 +10:00
Jesse Boyd 6b6f285972
Closes #617 2017-07-12 20:32:07 +10:00
Jesse Boyd 843fd98d4e
Fixes #642 2017-07-12 13:50:13 +10:00
Jesse Boyd 65c6702d94
Various minor
Fixes #620
Fixes VS pattern region restrictions
Fix some bukkit 1.7.10 issues
tweak debugpaste formatting
2017-07-11 22:37:41 +10:00
Jesse Boyd f20a1002bb
Fixes language option and Fixes #633 2017-07-10 16:00:17 +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 ded70ab9e0
Various minor
Add extra info to debugpaste
Optimize nmsrelighter
2017-07-06 15:49:56 +10:00
Jesse Boyd e6e1a3c45f
update WE/VS auto-install jars 2017-07-05 19:14:57 +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 448dd3721a
tweak tick limiter 2017-07-01 15:16:10 +10:00
Jesse Boyd 1bd44b270c
minor tweaks 2017-06-30 17:38:54 +10:00
Jesse Boyd 2e84248cbc
Fixes butcher parrots + tweak brush/paste aliases 2017-06-28 21:20:00 +10:00
Jesse Boyd d7d897d11b
Various minor
add debug command moveto512
main command aliases are now configurable
clean thread pools when discarded
switch to BaseBlock and deprecate BlockPattern
Add SparseBlockSet
- uncompressed, memory efficient set of arbitrary bit length numbers
- if access is sequencial, use a compressed data structure instead
change SetQueue time allocation algorithm
2017-06-26 17:56:07 +10:00
Jesse Boyd 043f1e6002
minor cleanup 2017-06-20 19:00:30 +10:00
Jesse Boyd 33e162eafd
Fixes #602 2017-06-20 18:25:37 +10:00
Jesse Boyd 455353ec51
Fixes #591 2017-06-18 06:09:36 +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 0f3138e894
Recover from BrushListener error 2017-06-09 17:37:26 +10:00
Jesse Boyd da3f1eabda
Merge branch 'master' of https://github.com/boy0001/FastAsyncWorldedit 2017-06-09 17:09:05 +10:00
Jesse Boyd ac0e255a93
Tweak buildscript 2017-06-09 17:08:57 +10:00
Aikar 822eb0bae2 Fix Bukkit 1.12 support 2017-06-08 23:23:23 -04:00
Jesse Boyd b3e0125c71
Possible fix for VS entity brushes
close #564
close #565
close #566
2017-06-07 07:34:11 +10:00
Jesse Boyd 8b9c1b7563
properly fix #473 2017-06-03 19:35:28 +10:00
Jesse Boyd b3ee619d70
Include arm lz4 binding + fix timings recheck 2017-05-28 17:43:23 +10:00
Jesse Boyd 31d43b27d8
Various minor
forge 1710 - fix block extra
optimize expressions
better texture util error
memory optimize PrimitiveList
don't clear brush settings on assignment (affected craftscripts)
2017-05-21 23:40:24 +10:00
Jesse Boyd ef6ad05c2e
Fixes #473 (chest issue) 2017-05-21 23:25:43 +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 f8199a3b43
Various minor
cfi smooth
image command
fix perm typo
fix mask typo
fix random offset transform
2017-05-09 21:02:44 +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 f9174ffb56
Fixes #513 2017-04-23 16:10:39 +10:00
Jesse Boyd aa3e8e3815
Work on #436 2017-04-23 02:09:15 +10:00
Jesse Boyd 76032f7d63
Possible fix for invis blocks in 1.7 2017-04-22 22:20:45 +10:00
Jesse Boyd bc2879df99
Fixes #486 2017-04-20 17:04:07 +10:00
Jesse Boyd 87341ab4fe
Styling and documentation improvements 2017-04-19 05:23:02 +10:00
Jesse Boyd b5e500e716
Fixes #502 2017-04-18 22:56:38 +10:00
Jesse Boyd 1c844bc5db
Fixes #504 2017-04-18 16:02:06 +10:00
Jesse Boyd bd6eb2b7b8
Fix 1.7 get id 2017-04-10 22:40:49 +10:00
Jesse Boyd 4229665e14
Minor cleanup 2017-04-09 14:19:03 +10:00
Jesse Boyd 6a6387256b
Anvil commands for bukkit 1.10, 1.9 2017-04-05 09:59:40 +10:00
Jesse Boyd 30f37000e4
Cleanup bukkit queue 0 2017-04-04 13:15:24 +10:00
Jesse Boyd c7d959d6dc
Anvil replace + masking extent biomes 2017-04-03 20:07:57 +10:00
Jesse Boyd fda69a4f33
Fix hay rotation + remove duplicate perms 2017-04-02 05:55:34 +10:00
Jesse Boyd df15ba6cd7
Simplify config comments, messages, add permpack.
fawe.permpack.basic
2017-03-31 13:12:23 +11:00
Jesse Boyd c474917ec2
Fix error when visualizing outside view distance 2017-03-31 12:27:33 +11:00
Jesse Boyd ca8bd77a78
Optimize block sending for spigot 1.9, 1.10, 1.11 2017-03-31 12:02:36 +11:00
Jesse Boyd 6ce16714d8
Switch back to to fastutil lite + tweak ore gen 2017-03-27 06:16:27 +11:00
Jesse Boyd 4cab0b223d
Various
will document in next commit
2017-03-27 05:14:28 +11:00
Jesse Boyd 54642914e5
Various minor
Optimize Vector2D
Optimize HeightMap
Optimize biome changes
Reformatting of the MCA classes
2017-03-15 00:42:28 +11:00
Jesse Boyd 91450e569b
Fixes for thermos 2017-03-13 18:55:33 +11:00
Jesse Boyd b20120a1f2
Multi clipboard pattern 2017-03-13 02:44:29 +11:00
Jesse Boyd 36f973e36c
Add `fawe.worldguard.member` 2017-03-11 14:07:01 +11:00
Jesse Boyd b4e4ffa0fc
Fixes #438 2017-03-08 04:59:38 +11:00
Jesse Boyd 29c5f65840
Fixes #455 2017-03-06 22:05:06 +11:00
Jesse Boyd bc46688a98
Fixes #450 2017-03-06 21:37:16 +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 4007155b8f
Fix index bounds error 2017-03-05 15:30:21 +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 9c805f2de2
Fix for 1.10 2017-03-05 00:43:32 +11:00
Jesse Boyd 5ead47ba2f
Possibly fixes #438 2017-03-04 18:22:11 +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 01a7c9c388
Async flush AsyncWorld 2017-02-20 11:11:28 +11:00
Jesse Boyd 84af1bf65a
Update default WorldEdit jar 2017-02-18 20:54:15 +11:00
Jesse Boyd b9fdfb8b01
Fixes #427 Fixes #426 2017-02-18 16:12:42 +11:00
Jesse Boyd ce7110b6f9
Accidentally removed fallback adapter 2017-02-16 22:54:15 +11:00
Jesse Boyd 1fac6b710d
Debug no adapter 2017-02-16 22:31:52 +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 1cd090ce01
use different method for history flushing/close 2017-02-16 01:57:03 +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 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 0427771b7e
Re-add the forge/sponge modules 2017-02-06 13:09:44 +11:00
Jesse Boyd 81dcf26a2a
Fixes #407 2017-02-04 17:44:33 +11:00
Jesse Boyd a9cafb13a2
Fix entity iteration/removal 2017-02-01 08:35:29 +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 a7b29ab82f
Tweak some stuff 2017-01-15 22:15:22 +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 11cb7d1671
Fixes #392 2017-01-11 11:54:20 +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 8a47424bc5
Fixes #385
Not sure what causes the problem though
2017-01-08 23:50:43 +11:00
Jesse Boyd a8e18b885f
Fixes #373 2017-01-03 08:00:50 +11:00
Jesse Boyd 95715da039
Toggle worldedit /tips 2017-01-03 07:29:14 +11:00
Jesse Boyd 70812e78c8
Fix combine stages getPrevious 2017-01-03 07:10:09 +11:00
Jesse Boyd ede846f894
Init empty section with skylight array 2016-12-30 02:09:02 +11:00
Jesse Boyd 850bb533cb
Fix packet sending for null chunk sections 2016-12-29 11:53:07 +11:00
Jesse Boyd 80417bdc2b
*revert 1.11 optimizations for now 2016-12-29 10:22:46 +11:00
Jesse Boyd 8dba2a5620
Combined stages optimizations for bukkit 1.11 2016-12-29 10:19:48 +11:00
Jesse Boyd 39f12be5f9
Update residence dependency 2016-12-29 07:44:41 +11:00
Jesse Boyd d43dbab7c5
DL WorldEdit bukkit if they forget 2016-12-27 23:28:43 +11:00
Jesse Boyd 9d920a5510
Optimize set air for more versions 2016-12-27 05:58:14 +11:00
Jesse Boyd 32ae0f1d48
Update sponge jar 2016-12-26 18:42:33 +11:00
Jesse Boyd 59c45f0fa7
Optimize set air for 1.11 2016-12-23 17:45:04 +11:00
Jesse Boyd 5fe9aff4e4
Fix compile 2016-12-23 16:11:55 +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 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 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 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
Lax 165690f80e Minor text fixes.
http://i.imgur.com/0uMMZUt.png
2016-12-04 23:39:35 -08: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 158ed391b4
Fix for 1.7.10 2016-12-02 11:50:54 +11:00
Jesse Boyd 4e1aacb566
Potentially fixes #348 2016-12-01 13:58:31 +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 0df745c399
Force FAWE adapter as WE for 1.11 broke entities
good job WorldEdit
2016-11-29 13:17:48 +11:00
Jesse Boyd 5b0ce58f6b
Fix removal of light sources 2016-11-28 14:34:12 +11:00