AreaReloader - Reload and rebuild your areas! icon

AreaReloader - Reload and rebuild your areas! -----

Easily restore destroyed areas




  • Fixed issue where areas would not be loaded correctly when running the command from console.
  • Improved events management.
  • Improved general methods.
  • Improved data usage.
  • Improved debug to provide the full stack trace when printing commands issues.
  • Removed unused messages and methods.
  • Fixed issue with missing message from the load command.
  • Fixed issue where an error would be thrown when running the location command from console.
  • Fixed issue where an error would be thrown when using async creation and saving entities at the same time, if both conditions are true the creation will be overriden and run synchronously by default.
----------, Sep 1, 2023

WITH THIS UPDATE YOU MUST RECREATE YOUR AREAS.
IT IS ALSO HIGLY RECOMMENDED TO RESET YOUR config.yml FILE.

  • Added events for area's loading and completition.
  • Added Safe Location function:
    This mechanic allows you to createa a safe spot for players to be teleported to when they're standing in an area that is being loaded.
    As the area progressively loads, all players inside of it will be teleported to the designated destination.
  • Added /ar location command, this allows you to set a safe spot and teleport yourself to it.
  • Improved and updated areas' details.
  • Improved /ar hook command interface.
  • Updated /ar info command.
  • Fixed issues with AreaScheduler not working as intended.
  • Fixed issue with AreaScheduler not updating properly areas from configurations, fixed issue where areas would still automatically load after disabling the function and using the /ar reload command.
  • Improved /ar cancel command, fixed issue where areas would keep on loading from an old status process.
  • Added the option to create areas asynchronously.
    This function allows you to take off the main thread the creation of areas.
    When creating big areas this can help prevent lag spikes by moving off the server's load; note that this will not fix the lag spikes, it will just be "hidden".
  • Fixed issues with the /ar display command not updating correctly on reload command and not showing confirmation messages correctly.
  • Improved /ar help command to now show the suggestion tab.
  • Fixed issue where /ar help help would not show the correct messages.
  • Adjusted timings, now showing a more precise elapsed time of area loading.
  • Added sound effects when the creation of an area is successful or fails.
  • Removed "area stacking" when loading multiple areas at the same time when using fast mode, every area now uses a global interval or its own interval between runs.
  • Reorganised configuration files for config.yml and areas.yml
  • Added a warning message when a config version mismatch is found.
  • Improved code readability, general code cleanup, improved memory management.
  • Fixed error being thrown when an area would finish loading.
  • Improved AreaScheduler to now fetch areas when the plugin is reloaded through the /ar reload command.
  • Improved /ar display command to now display multiple areas at the same time.
  • Fixed issue where /ar help command would not display the list of commands correctly.
  • Fixed mispelling issue in /ar version command.
----------, Aug 5, 2023

  • Added compatibility with minecraft versions 1.17.x and 1.18.x.
  • Added compatibility with Java 17.
  • Reworked Display command:
    It is now possible to display multiple areas at once.
    Added possibility to edit the particle effect option to customize the display in your own way!
    Fixed issue where an error would be thrown when deleting an area that was still being displayed.
  • Reworked information command:
    Simplified UI and shown information.
    When an area is being loaded, the command will now show the currently built percentage.
  • Removed TPS checker and command as it was outdated and unable to run correctly.
  • Improved plugin's descriptions and protocols' versions (version command).
  • Added new /ar cancel <area, ALL> command to cancel one or all loading areas.
    *Usage for the name "all" has been restricted when creating areas due to conflicts with the cancel command.
  • Area Loading:
    Improved mechanic to only activate upon area loading, to improve server's performance and consume less resources.
    When fast mode is enabled all loading areas will merge their intervals for a faster area loading (default: true).
    Formatted time at the end of the area's loading.
  • Improved Queue system for a better and smoother area management.
    *Generally speaking, area loading is now supposed to be smoother and less resource consuming than it is in versions below 2.0.0.
  • Improved functions for a safe shut down on plugin's disable.
  • Fixed the issue where an error would be thrown when incorrect arguments would be provided when running a command.
  • Increased interval between automatic reloads to prevent overloading and unncessary resources' consuption.
  • Added Update checker to verify if a new plugin's version is available.
  • Reworked debugging system to now print messages to a file (path AreaReloader\debug.txt) for a better way of reading through the plugin's procedures.
  • Added Metrics functionalities.
  • Smoothened and cleaned out the base code.
  • Removed unused and old settings from the config file.
    *I suggest to re-create your config.yml file to clear all old and unused settings.
----------, Mar 28, 2022

- Improved interval system.
The interval now acts on the area's updates, each update and load will now respect the given interval.
The default value for the interval has been set to 1500 milliseconds (1.5 seconds) and can be changed in the main config file.
- Removed unnecessary config features.
- Improved configs' initializations.
- Updated versions for protocols.
- Added default protocol for when the version is not found but the plugin is still compatible with the server.
- Added message on startup whenever the plugin's dependency is found.
- General code formatting.
----------, Apr 17, 2021

- Added compatibility for minecraft 1.16.x.
- Fixed mispelling issues.
- Added new blocks' changes count on load success, use %count% as the placeholder (or reset the line in the configuration file).
- Added possibility to disable the tps command and checker;
This was mainly implemented to prevent the tps checker from starting when it's not needed.
If the required tps function for area loading is enabled, the checker must be enabled as well.
This value is set to false by default, it can be found in the configuration file under the "TpsMonitorCommand" lines.
- Implemented PaperLib for graceful fallbacks when using Paper.
----------, Aug 19, 2020

Areas can now be displayed using blocks.
This features allows a smoother and more accurate representation of your areas' corners.
This feature is automatically enabled by default, you can change the setting and switch back to particles by setting to true "useParticles" in the config.yml
The blocks which will display the corners are configurable and you will be able to choose the blocks to display.
Additionally, if "RestrictVision" setting is enabled, only the command caster (player) will be able to see areas' corners.
----------, Jul 9, 2020

- Fixed issue with AreaScheduler not registering areas.
- Fixed issue with AreaScheduler throwing errors.
- Fixed issue with AreaScheduler not reloading areas at the right locations.
----------, Jun 30, 2020

- Fixed issue with help message on /ar create command whenever the arguments provided weren't correct.
- Redefined and improved ways of initializing AreaLoader and AreaScheduler classes.
- Fixed issue with the area loading interval not being respected.
- Added a different and configurable interval for AreaScheduler.
- Added option to disable and enable the (still on developmenting) TPS checker; due to the fast and big amount of tasks and blocks changes happening at the same moment, the TPS checker may results into an increase of lag, for this reason it is now configurable.
The TPS checker is now disabled by default.
- Areas now respect Ys levels and won't affect blocks out of the cuboid region selected.
I highly recommend to create your areas again for a smoother and faster way of loading and storing your areas.
- Updated display command, now using the Ys levels of the area itself.
- Updated info command, now showing Y coordinates.
- Added configuration option for AreaScheduler to enable or disable notifications on reloads for console as well.
----------, Jun 7, 2020

- Added new TPS feature: AreaReloader now has its own method to calculate server's ticks per second.
With this addition you will be able to set the required TPS to load an area; if the actual TPS are lower than the required TPS, the loading will be paused and then resumed until needed TPS are met.
- Added new /ar tps <time> command to check the server's live TPS.
<time> stands for how long the monitoring will be running in milliseconds (Ex. /ar tps 5000 - will run a TPS scan for five seconds).
AreaReloader's TPS shall not be compared to other ways of monitoring TPS like /gc.
While AreaReloader provides live TPS on its own way, other plugins/commands may only show the average amount of your server's TPS.
- Improved area loading, added "FastMode" option set true by default.
Use the "FastMode" at your will, as it replaces more blocks at a time by speeding up the session it may slow down your server's performance.
- Reworked "IgnoreAirBlocks" option, now using a mask for air blocks instead, this feature is now set to false by default as it does not store air blocks inside areas and will not reload them upon loading.
- Optimized /ar info command
- Optimized /ar list command, now lists all areas in multiple pages to provide an easier way of reading the existing areas
- Added new Queue system to prevent the same areas from loading multiple times at the same time
- Added more configuration possibilites
- Fixed mispelling issues
- Fixed issues with "HasCopiedEntities" which would be mispelled and show wrong values
- Improved /ar reload command: Fixed issue where AreaScheduler would start multiple tasks for the same area which would make scheduler run multiple times Github-Issue#5
- /ar reload command now creates missing files in the plugin's directory
- /ar reload command now clears running tasks (to prevent AreaScheduler's overflowing and better options updating from configurations)
- Fixed issues with AreaScheduler's delays upon /ar reload command
----------, May 13, 2020

Fixed issue where the protocol's version wouldn't display correctly
Fixed issue where particles would still display after an area being displayed was deleted
Fixed issue where you wouldn't be able to re-create an area with the same name as a deleted one without restarting/reloading your server (Thanks to
STKzica for letting me notice and for the hotfix!)
Fixed issues with percentages, now showing the proper percentage amount per block set when an area is being loaded
Added configurable Ys for display command, in order to set the minimum and maximum values in accordance to your server's performance and your likings
Added option to skip air blocks when loading areas, configurable in config.yml (I suggest to keep this value on true as it can cut down the loading time and decrease possible lag when loading areas; default: true)
Modified area create command, added possibility create areas with or without entities, proper usage now is: /ar create <area> <copyEntities: true|false> (the value of entities is stored inside the areas.yml config, for no reason you should change the value)
Adjusted info command to the new features (copy entities and skip air blocks)
Improved config reload command


----------, Mar 24, 2020

Added compatibility for MC version 1.15.x
Fixed mispelling in code
Improved /ar reload command to throw an exception when configurations are corrupted
Added onReload() - onFail() methods for language configuration
Reduced insane lag produced by /ar display <area> - added a longer delay between each task and cut down the Y level
Improved /ar version command
----------, Mar 13, 2020

Improved areas' scheduling
Removed dev's debugging
New display command
Improved details for list and info commands
Now printing real maxX and maxZ in areas.yml
Fixed AreaReloader's tab not showing at all in console on server's start-up
----------, Jan 28, 2020

* AreaScheduler: With this brand new function, you will be able to automatically reload areas after x amount of time which can be set for each existing area in the areas.yml config. In order to use this function the global checker must be true (set true by default) and the AutoReload function under "Areas" in the areas.yml configuration file must be enabled for each area that has to automatically restore.
The amount of time is set in milliseconds.
* Fixed mispelling issues
* Improved /ar reload command
* Added checks to debug function
* BETA-Function to check whenever areas are deleted (this prevents console error spam when loading deleted areas)
----------, Jan 3, 2020

Added compatibility with minecraft versions which go from 1.13 to 1.14.4
Added sound effects on area reloading completition (on success and on failure)
Added particles effects utils for future use
----------, Nov 11, 2019

Fixed issue where an area could only be loaded from the in-game player, now allowing console.
Fixed error thrown when insufficent arguments were provided to /ar load <area>
General code formatting.
Added /ar info command.
Added /ar reload command.
Surrounded methods with more checks to avoid issues and potential damage to the server.
----------, Nov 10, 2019

Resource Information
Author:
----------
Total Downloads: 1,718
First Release: Aug 22, 2019
Last Update: Sep 1, 2023
Category: ---------------
All-Time Rating:
13 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings