BlockRegenerator : No more extra resources world! No more crappy world! 1.6.1

for Spigot - supports WorldGuard, Factions, GriefPrevention, Residence, Towny, ...

  1. Hazae41
    Tested Minecraft Versions:
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/RHazDev/BlockRegenerator
    Contributors:
    MeMuffin, Playcoco, Sidias
    [​IMG]

    [​IMG]
    What is it for?

    BlockRegenerator is an essential plugin for every Factions or Survival server, it simply regenerates blocks. Most Factions servers you play on have a world with an useless world unless you go very far. Resources are increasingly scarce as time goes by.
    A large part of the nature is ruins of battles or factions now destroyed. This plugin solves this problem by regenerating the world.

    [​IMG]

    How does it work?

    BlockRegenerator logs broken and placed blocks, and when the conditions are met, takes the X first blocks and regenerates them.
    Seen by a player, it seems as if nature is taking over the constructions and resources regenerate naturally.

    Why doesn't it regenerate the chunks instead of blocks?

    BlockRegenerator aims to be precise in its selection of blocks to regenerate. It wont regenerate an used area, no matter how small this area is.

    [​IMG]

    [​IMG]
    Code (YAML):
    paused: false
    # While this is true blocks will not be regenerated and any blocks broken during it
    # won't be restored by this plugin. But blocks broken before and after it will.

    regen-delay
    : "30 minutes"
    # Delay between each regeneration
    # Can be [seconds, minutes, hours, days]

    alert
    :
      before
    : "&a[BlockRegenerator] Regeneration in 10 seconds..."
      # Message displayed before the regeneration
      # empty to disable
      before-delay
    : "10 seconds"
      # Can be [seconds, minutes, hours, days]
      after
    : "&a[BlockRegenerator] Regeneration done!"
      # Message displayed just after the regeneration
      # empty to disable

    min-time
    : "2 days"
    # Minimum time after which a block is considered as "old" and will be regenerated
    # Can be [seconds, minutes, hours, days]

    max-blocks
    : "10"
    # Number of blocks restored at each regeneration
    # Can be of the format "X%" if you want it to be proportional to the amount of blocks saved
    # Can be of the format "X" if you want it to be static

    percentage-efficiency
    : 90
    # X% of blocks will be restored, the rest will be ignored

    storage
    :
      type
    : "sqlite"
      # Can be [sqlite, mysql]
      mysql
    : # In case of mysql
        host
    : localhost:3306
        database
    : blockregen
        user
    : admin
        password
    : pass

    events
    :
      broken
    :
        enabled
    : true
        # Should this plugin restore broken blocks?
        ignore-creative
    : false
        # Should NOT this plugin restore blocks broken by players in creative gamemode?
      placed
    :
        enabled
    : true
        # Should this plugin restore placed blocks?
        ignore-creative
    : false
        # Should NOT this plugin restore blocks placed by players in creative gamemode?
      burnt
    :
        enabled
    : true
        # Should this plugin restore burnt blocks?
      exploded
    :
        enabled
    : true
        # Should this plugin restore explosions?
        type
    : whitelist
        # Whitelist: only restore explosions caused by these entities
        # Blacklist: do not restore explosions caused by these entities
        entities
    :
       - creeper
        - tnt


    worlds
    :
      enabled
    : true
      type
    : whitelist
      # Whitelist: only restore blocks in these worlds
      # Blacklist: do not restore blocks in these worlds
      worlds
    :
     - world
      - world_nether
      - world_the_end

    materials
    :
      enabled
    : true
      type
    : blacklist
      # Whitelist: only restore blocks materials in these materials
      # Blacklist: do not restore blocks materials in these materials
      materials
    :
     - bedrock
      - "minecraft:chest" # Explicit names are only available for 1.13

    worldguard
    : # WorldGuard plugin
      enabled
    : false
      # If you do not have WorldGuard leave this disabled
      type
    : whitelist
      # Whitelist: only restore blocks in these regions
      # Blacklist: do not restore blocks in these regions
      regions
    :
     - "region_name"

    factions
    : # Factions plugin
      enabled
    : false
      name
    : "Factions"
      # Plugin used
      # Can be [Factions, SavageFactions, FactionsUUID, LegacyFactions, FactionsOne]
      type
    : whitelist
      # Whitelist: only restore blocks in these factions
      # Blacklist: do not restore blocks in these factions
      factions
    :
     - "Wilderness"

    griefprevention
    : # GriefPrevention plugin
      enabled
    : false
      admins-claims
    : false
      # Should this plugin restore admins claims?
      players-claims
    : true
      # Should this plugin restore players claims?

    residence
    : # Residence plugin
      enabled
    : false
      type
    : blacklist
      # Whitelist: only restore blocks in these residences
      # Blacklist: do not restore blocks in these residences
      residences
    :
     - "residence_name"

    towny
    : # Towny plugin
      enabled
    : false
      type
    : blacklist
      # Whitelist: only restore blocks in these towns
      # Blacklist: do not restore blocks in these towns
      towns
    :
     - "ExampleCity"

    lands
    : # Lands plugin
      enabled
    : false
      # This won't restore a block in a land

    extras
    :
      debugging
    : false
      # Debug this plugin
      force-log
    : false
      # True: the plugin logs/saves the block in attempt to rollback it when it will match the filter
      # False: the plugin simply ignores blocks that does not match the filter
      # aka "If you want achieve rollback in now unclaimed areas"
    [​IMG]


    [​IMG]
    Code (Text):
    commands:
        blockregen, br:
            force, f: Force regeneration now
            info, i: Get amount of blocks processed
            toggle, t: Disable/enable block regeneration
            clear, c: Clear processed blocks
            debug, d: Get more logs
            reload, r: Reload the config and the dependencies

    permissions:
        blockregen.*:
            children:
                blockregen.help: true
                blockregen.force: true
                blockregen.toggle: true
                blockregen.clear: true
                blockregen.info: true
                blockregen.debug: true
                blockregen.reload: true
    [​IMG]
    [​IMG]


    [​IMG]
    Due to the lack of donations, some additionnal services are now paid

    Donators:

    - MeMuffin donated 5$USD
    - Playcoco donated 3$USD
    - Sidias donated 10$USD

    Additionnal services:
    ♦ Bug fix/help: free
    You have a problem with this plugin? Let's fix it​
    ♦ Plugin support request: paid
    I will add support for a plugin you want
    Example: LegacyFactions, Towny
    ♦ Feature/change request: paid
    I will add a feature or improve an already existing feature​
    ♦ Port to another system: paid
    I will port this plugin to another system like Sponge or Nukkit​

    If you do not want any of these services, you can still donate in order to support this plugin ;)



    [​IMG]

    [​IMG]

Recent Updates

  1. 1.6.1
  2. 1.6.0
  3. 1.6.0

Recent Reviews

  1. Gustavo_Player
  2. paul0665
    paul0665
    3/5,
    Version: 1.5.19
    will it restore the residence claim in default?
    and if i update 1.12.2 server to 1.13 the way to restore will be 1.12.2 or 1.13?
  3. WHiZSTA
    WHiZSTA
    1/5,
    Version: 1.5.19
    Plugin + Dependency is over 12megs in size, and causes poor server performance. The plugin this replaces is only 17kb in size. While this is a great plugin in concept, the execution of it is fatally flawed. Don't get it until the author fixes the bloatware and performance issues. I'll happily update my review once that is done.
  4. abc1434967947
    abc1434967947
    5/5,
    Version: 1.5.11
    Great plugin and thanks for supporting residence
    You know sometime we might just want to regenerate a specific Chunk
    so Why don't you add a command to regenerate a specific Chunk
    and please add support for LegacyFactions
  5. abc1434967947
    abc1434967947
    5/5,
    Version: 1.5.9
    why not add residence support ? there are part of server using residence as antigrief plugin
    1. Hazae41
  6. millmilla
    millmilla
    5/5,
    Version: 1.5.8
    I believe it's extremely rare to find both a manteined and useful plugin and an awesome dev working for a free resource.
    This plugin is all of that plus it's not the only awesome resource from this developer.
    1. Hazae41
      Author's Response
      Thank you! Maybe you could think about donating :)