File Details
SaplingAssist v0.7.2
- B
- Aug 24, 2013
- 54.14 KB
- 490
- CB 1.6.2-R0.1+2
File Name
SaplingAssist.jar
Supported Versions
- CB 1.6.2-R0.1
- CB 1.6.2-R1.0
- CB 1.6.4-R1.0
- v0.7.2
- Now compiled for bukkit 1.6.2 (still java7 though).
- Pending sapling-replant tasks now happen instantly on server shutdown.
- Altered the behavior for useCurrentWorld:false so that it uses currentworld anyway if setting already exist for it.
- Removed the example from the in-game command help (it was very confusing before you realized you had to scroll up to see the rest).
- Bug fix: Apparently there was an issue with server-default settings not working on 1.6.2 (delay always became 1 second).
- This would only manifest when there was neither any settings for the player nor any settings for the world, so took some time for me to notice it was broken.
...Was using a config.get(path, defaultValue) - but despite the path existing it always returned the defaultValue.
...The code is now: if config.contains(path) get(path) and returning the default in the else-statement, which works as intended. - Bug fix: Possible null-pointer exception if a player tried to access settings on a player that doesn't exist, without specifying the world.
- (This would not occur if run from console - only if executed from in-game chat.)
- v0.7.1
- Changed Assist for Creative to be true by default. (All modes now true by default.)
- Saving now merges manual changes made to the files on disk with the running config.
- This can be controlled by new MergeOnSave option in the plugin config.
- Added DiscChangesTakePrecedence1/2 to control what changes to keep when both have changed.
- This feature is not 100% perfect, it tries to do an intelligent merge but results may vary.- ...if MergeOnSave is enabled it is recommended to have ValidateOnLoad enabled too
...PS: ^this will cause the config to be cleaned and saved on load!
- ...if MergeOnSave is enabled it is recommended to have ValidateOnLoad enabled too
- Added "on" and "off" as valid parameters for the autosave-command
- Changed the behavior of autosave and renamed it to AutoSaveToDefault:
- If true it behaves like the old Autosave, if false it saves the running config to .autosave-file.
- v0.7.0 - [never released]
- Changed permission structure to a more usable layout.
- Added permission for showexact-command.
- Split config into two files.
- config.yml for general settings (settings previously under the "General"-key).
- sapling.yml for all the world/player/mode-settings.
...reload and loadundo also split to reload1/2 and loadundo1/2.
...backup & restore commands only affect sapling-config. (General config is small - dont need backup functionality.)
...validation / autoclean now also implemented for what previously was the "General"-settings (now config.yml). - Changed the default value of UseCurrentWorldAsDefault to true as the behavior was a little confusing when it is false.
- (Not specifying a world would affect default settings, which may or may not be the settings currently in effect.)
(For instance: using the show-command would not show the effective settings - which can be confusing...)
- v0.6.3 - [never released]
- Added showexact command - similar to "show" but displays the relevant parts of the config used to obtain the result.
- (Intended for use with upcomming remove-command!) - Greatly improved config validation and repair: Checks player names, mode names and setting names and types.
- AutoSave now makes backup of config.yml to config.auto.yml instead of sharing config.prev.yml with save-command.
- Improved show/showexact/on/off/delay/chance-commands when run from console, all filters are now optional here too.
- Not specifying player / world will always use defaults (or target players current world). - Done some minor cosmetic text fixes.
- Added showexact command - similar to "show" but displays the relevant parts of the config used to obtain the result.
- v0.6.2 - [never released]
- Added optional validation of config on load.
- Checks that world-names are valid and that no empty nodes exist (plus partial settings type check).
- Added validate command (and permission) to invoke the validation manually. (Check only - No changes made.)
- Added autoclean command (and permission) to validate and fix issues with the (running) config.- ...autoclean will save an undo-copy of running config before attempting cleanup.
...autoclean changes are made in memory only - use save-command to save to file.
- ...autoclean will save an undo-copy of running config before attempting cleanup.
- AutoSave and Save command now makes a backup of the existing config.yml to config.prev.yml before saving.
- Undo-config name renamed from config.old.yml to config.undo.yml.
- Added optional validation of config on load.
- v0.6.1 - [never released]
- Altered the layout in the config from MODE>PLAYER>WORLD to WORLD>PLAYER>MODE
- Added option in config to choose between W.P.>>W.>>P.>>Default or W.P>>P.>>W.>>Default setting priority.
- Fixed typo that caused reload-command to do a save instead of a reload.
- Also reload wasn't working as intended... fixed.
- Now also saves an undo-copy of running config to config.old.yml. - Added automatic saving of running config to config.old.yml when doing a reload.
- Added backup command (and permission) to save running config to config.bak.yml.
- Added restore command (and permission) to load config from config.bak.yml.
- Now also saves an undo-copy of running config to config.old.yml. - Added loadundo command (and permission) to load the undo-copy of the config.
- (Note that unlike the other config-loading commands this cant be undone!) - Added new .world-permissions to the existing .self- / .others-permissions for changing / showing the default settings for a world. (This was previously part of the .others-permission.)
- Fixed bug with case-sensitive world-names in the config. (The "fix" is making sure the case matches the actual world).
- v0.6.0 - [never released]
- Major upgrade! - Full World & Player support working!
- Switched from fixed ordered arguments to more flexible prefixed arguments (use p: w: m: in any combination and order).
- Fixed missing check before placing sapling:
- Before the replant was scheduled it checked to make sure it would be ok to place one at the location, but the check wasn't performed again once the delay-time expired! This could cause...- ...undesired destruction of placed blocks if you chop down a tree and build something where it used to stand.
- ...delayed tree growth: If the player manually placed a sappling the sappling will reset after the delay-time.
- v0.5.2 - [never released]
- Switched from metadata to saving settings in config to make them persistent.
- (I will probably improve the performance of this in a future versions once I have all the features I want.) - Experimental Player & World support.
- Added show / save / reload / autosave - commands ( + permissions).
- Added several convinient .* -permissions for easier management.
- Switched from metadata to saving settings in config to make them persistent.
- Config merge feature is still experimental (and it will never be 100% perfect - that is impossible).
- It's a little spam-ish in the console on server start (this is the merge being added on-top of previous functions - doing something about it is just low priority since it's mostly cosmetic)

