Commit Graph

106 Commits

Author SHA1 Message Date
PryPurity
b92f5c8fad
Merge pull request #23 from ParicBat/master
Add a modified chunks warning to the trim command
2021-03-24 16:31:06 -05:00
ParicBat
495293cc40
Add modified chunks warning 2020-12-06 03:47:36 +01:00
vince
176bebac8f add noPlayerToggle option
this adds an option to automatically pause/unpause the worldBorder fill based on players connecting or disconnecting from the server
2020-11-25 18:08:17 +08:00
PryPurity
0ee59f99f4 Multiverse + Hyperverse are now soft dependencies. should resume fill progress upon restart. 2020-09-30 09:13:35 -05:00
PryPurity
8e82108334 whoops 2020-07-18 16:18:36 -05:00
PryPurity
51c8438143 Found a fix, maybe for the saving issues. Checked out some other forks of worldborder, and noticed that this seemed to help @Brokkonaut -> Author who fixed the issue. 2020-07-15 16:26:53 -05:00
PryPurity
30958adec0 Re-added paperlib for stability. Making sure there is always at LEAST one chunk that was processed last second, to kick in gc. 2020-07-07 13:13:59 -05:00
PryPurity
e7ee143e22 Still debugging. 2020-07-05 20:01:17 -05:00
PryPurity
c1969b3f7a Testing commented out Async PaperLib. 2020-07-04 14:28:08 -05:00
PryPurity
14fbac1951 Changed available memory required from 200MB to 400MB, Dynmap is default to false again ( For those who don't update it ); Added campfire & Potted Cactus to Painful blocks, removed duplicate Fire. 2020-07-04 01:58:13 -05:00
PryPurity
c288b18afc Cleaned it up a bit more, went back to 3x3 instead of 4 x 4 2020-07-02 02:57:19 -05:00
PryPurity
b53629e7cf 5GB of Ram, 50 Chunks/sec seems to be the new "safe spot" 2020-07-01 07:08:17 -05:00
PryPurity
8ac70874fa Testing out the 1.16.1 paper shit, don't you dare use this. 2020-06-28 01:25:37 -05:00
PryPurity
cfb818c31b Commented out paperlib till I find a fix. 2020-06-25 14:03:08 -05:00
PryPurity
74cc881077 Added back in paperlib support. Hopefully this fixes the issues with paper. 2020-06-25 06:09:46 -05:00
PryPurity
deb703797f Updated the .gitignore, removed Bukkit API, due to bukkit not being released for 1.16.1. 2020-06-25 05:50:03 -05:00
PryPurity
d9958e50a5 Bit more clean up, turned the auto enable feature for dynmap back on too. 2020-06-23 01:17:11 -05:00
PryPurity
30f9173325 Paper broke it, i swear. ;c 2020-06-21 15:19:52 -05:00
PryPurity
d52cd2e5f5 Undid a few changes so config wouldn't kill itself upon starting. 2020-06-21 05:55:59 -05:00
PryPurity
8a8c5f5440 Updated pom.xml again, also added FIRE to the ouchie blocks. 2020-06-21 05:47:23 -05:00
PryPurity
35f4af67c2 Reformated + Update to support 1.15+ 2020-06-21 04:44:35 -05:00
Brettflan
f88ede397c Fix for incorrect use of World.setChunkForceLoaded, which apparently triggers the chunk to load if it isn't, rather than just setting the "force loaded" flag for it; thanks to SpottedLeaf for pointing this out and providing example code to fix it 2019-07-26 19:52:44 -05:00
Brettflan
0d45093fa6 attempt fix for circular border displaying in DynMap in isometric view with height of 64 instead of actual height of the world (normally would be 256) 2019-06-13 01:05:01 -05:00
Brettflan
9af79183d5 Release 1.9.10 (beta) 2019-05-23 19:52:41 -05:00
Brettflan
e14d526541 Misc 1.14 updates:
* using "force loaded" chunk flag instead of canceling ChunkUnloadEvents, which is no longer possible as of Spigot 1.14
* replaced UUID lookup code with newer and slightly improved implementation
* added new 1.14 wooden sign variations to safe open blocks list
* fix for error if Fill was canceled or finished without actually loading any chunks
* added notice to end of Trim recommending server restart
2019-05-23 19:48:54 -05:00
Brettflan
179d1cfda3 Release 1.9.9 (beta) 2019-04-30 21:00:33 -05:00
Guntram Blohm
ade2ca6352 Fix formatting (spaces/tabs) 2019-03-20 19:27:10 +01:00
Guntram Blohm
12bb4b1da9 Use async Chunk generation, if possible, using PaperLib
This routes all world generation requests through PaperLib, which will generate Chunks asynchronously if the server allows it (Paper does, Spigot doesn't). This means changes to which chunks are still needed, and which can be unloaded, as well; the code keeps a list of Chunks that are needed for others, and will unload them only when the target chunk has been generated. Unloads by the server itself get prevented while the chunk is needed; else the server could decide on a tick that chunk has no players nearby and needs to be unloaded.
2019-03-20 19:02:55 +01:00
Guntram Blohm
e6564300c7 Merge remote-tracking branch 'upstream/master' into asyncFill 2019-03-20 09:54:48 +01:00
Brettflan
8e68e83e3d prevent issue of Fill process potentially making the server unresponsive while skipping over huge numbers of already fully generated chunks, most likely with very large already mostly generated worlds which are stored on old/slow hard drives 2019-03-06 01:26:18 -06:00
Guntram Blohm
ec843cde03 test async fill 2019-02-21 20:39:17 +01:00
Brettflan
af4727d1b6 use ByteBuffer + IntBuffer for reading region file headers, to improve performance of chunk existence checks, as suggested by aikar
https://github.com/Brettflan/WorldBorder/issues/114
2018-10-24 04:14:43 -05:00
Brettflan
1d35e59c0e minor cleanup 2018-09-16 09:39:27 -05:00
Mike Primm
2cd033c808 Alter fully generated prediction to match 1.13.x worldgen behavior 2018-09-03 14:07:13 -05:00
Brettflan
20b4f5ed67 minor cleanup 2018-08-30 00:09:42 -05:00
Brokkonaut
ad97e1f9de Add wooden buttons, double plants and beetroots to the safe blocks list 2018-08-23 04:58:05 +02:00
Brokkonaut
45ef28c8d3 Update for 1.13 + Some cleanup 2018-08-22 16:39:56 +02:00
Brettflan
69895a071d minor cleanup of last commit 2018-04-07 11:40:51 -05:00
joblo.2213
bae30eb52f Make player priority and hide by default for dynmap marker set customizable 2018-04-07 18:03:36 +02:00
Brettflan
d8d1b28b57 Release 1.8.7 - going ahead for boat bugfix since nothing else fixable has come up 2017-05-04 11:39:12 -05:00
Brettflan
ed0c46a557 Fix for boat type being changed in Minecraft 1.9+ when knocked back from the border; note this breaks boat knockback for Minecraft versions older than 1.9 2016-11-29 03:13:06 -06:00
Brettflan
c0d1772418 Release 1.8.6 2016-08-16 17:27:39 -05:00
Brettflan
f9d89034b4 Merge branch 'master' of github.com:Brettflan/WorldBorder 2016-07-10 23:03:52 -05:00
Brettflan
e64defbdeb suppress logging of border-checking task being "stopped" when the task is being restarted (which is done to make sure there's only one such task running at any time), to reduce potential confusion 2016-07-10 23:03:29 -05:00
Marcel Maryniak
a762b95cfe fixes #57 2016-02-26 02:47:03 +01:00
Maxim Van de Wynckel
895bec7061 public percentage methods for fill and trim task
Provides public methods to get the percentage for the fill and trim
task. These can be used by 3rd party plugins to get the calculated
percentage or get the values of the processed/total amount of chunks.

Possible usages I have in mind:
- Boss bar showing a progress of the fill task
- Action bar showing the status
- ...
2016-01-15 12:38:17 +01:00
BuildTools
dd4a8348be World Trim/Fill task start events 2016-01-12 20:47:10 +01:00
Brettflan
9abf6ff938 Release 1.8.5 2016-01-02 04:55:03 -06:00
Brettflan
fd134e4527 Fix for minor bug in border knockback code for worlds that have a single layer bedrock base at Y level 1.
The bug was that locations at Y level 1 were never treated as safe locations for border knockback, even though they can be safe on a world which has only a flat 1-block height layer of bedrock at the bottom. For reference, normal worlds have multiple layers of bedrock at the bottom.
2016-01-02 04:54:10 -06:00
Brettflan
98c98b8618 minor style cleanup of last commit to match project style 2015-09-05 04:13:10 -05:00