promotional bannermobile promotional banner

SaplingAssist

Auto sapling replant for anti server deforestation

File Details

SaplingAssist v0.7.1

  • B
  • Jul 28, 2013
  • 48.71 KB
  • 396
  • CB 1.5.2-R0.1

File Name

SaplingAssist.jar

Supported Versions

  • CB 1.5.2-R0.1
  • 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!
    • 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.
  • 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.
    • 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.
  • 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.
  • Config merge feature is still experimental (and it will never be 100% perfect - that is impossible).
  • UseCurrentWorldAsDefault: false might not behave as user expects in some cases (not a bug but bad design)
  • Trees chopped down right before a server restart / shutdown wont get replanted if their delay would make them replant past the shutdown time.