▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/RegenSystem
RegenSystem

RegenSystem

Efficiently regenerates defined zones using snapshots stored in a database. Say goodbye to laggy file-based regen systems. A new-generation plugin !

395
3

RegenSystem

Modrinth Downloads JitPack version Monthly download statistics License : DL Group Public License

A powerful, flexible block regeneration system designed for PvP Box, survival zones, or mining zones. Define cuboid areas and let them regenerate automatically over time – all with a single command.


✅ Versions

  • 🟢 Actively developed on Paper API 1.20.6+
  • ⚡ Compatible with Paper / Spigot / Folia from 1.20.x → 1.21.x
  • ⏳ Support for older Minecraft versions may arrive in the future

✅ Server Compatibility

  • Paper — Fully supported and recommended
  • Folia — Fully supported (region-safe scheduler, async-safe operations)
  • Spigot — Supported (automatic fallbacks for missing APIs)

ℹ️ The plugin automatically adapts its behavior depending on the server platform
(Paper / Folia / Spigot) to ensure maximum compatibility and stability.


📚 Documentation


✅ Commands

CommandDescription
/regen pos1Set the first corner of the zone at your current location.
/regen pos2Set the second corner of the zone at your current location.
/regen save <name> [delay] [f:flag=value]...Save a new zone with an optional regen delay (seconds) and optional flags.
/regen reload [zone]Reload all zones, or a specific one if a name is provided.
/regen delete <name>Delete a zone and its stored data.
/regen snapshot <name>Update the stored state of a zone with the current blocks.
/regen wandReceive a diamond axe to select pos1/pos2 with left/right click.
/regen enable <all\name>Enable regen globally or for a specific zone.
/regen disable <all\name>Disable regen globally or for a specific zone.
/regen menuOpens the menu to modify options.
/regen help [page]Show the help menu (3 pages available).
/regen flagShow all available flags and their descriptions.
/regen flag <zone>List all flags of a specific zone with their status.
/regen flag <zone> <flag> <on\off>Enable or disable a specific flag for a zone.
/regen lang <language>Set the plugin language.

✅ Permissions

PermissionDescriptionDefault
regensystem.*Grants all permissions aboveOP
regensystem.commandUse the base /regen commandOP
regensystem.posSet pos1 and pos2 using /regen pos1/pos2OP
regensystem.saveSave zones via /regen saveOP
regensystem.reloadReload zones via /regen reloadOP
regensystem.deleteDelete zones via /regen deleteOP
regensystem.snapshotUpdate zone data with /regen snapshotOP
regensystem.wandGive yourself the selection axe via /regen wandOP
regensystem.toggleEnable/disable regen with /regen enable/disableOP
regensystem.menuOpen menu via /regen menuOP
regensystem.updateReceive an update message on connectionOP
regensystem.flagAllows you to manage flags with /regen flagOP
regensystem.langAllows you to set the language of the plugin with /regen langOP

💡 Use regensystem.* to quickly give full access to the plugin.


🔁 Dependencies

  • ✅ PlaceholderAPI (soft-depend, optional)

To enable placeholders, simply install PlaceholderAPI – the plugin will auto-detect it.


✅ Placeholders (via PlaceholderAPI)

If PlaceholderAPI is installed, you can use the following placeholders :

PlaceholderDescription
%regen_zone_count%Total number of zones defined
%regen_regen_enabled%Global regen status (enabled or disabled)
%regen_enabled_<zone>%If regen is enabled for a specific zone
%regen_delay_<zone>%Regen delay (in seconds) for a specific zone
%regen_exists_<zone>%Returns "true" if the zone exists
%regen_block_count_<zone>%Number of original blocks in zone
%regen_corner1_<zone>%Coordinates of the first corner of the zone
%regen_corner2_<zone>%Coordinates of the second corner of the zone
%regen_timer_<zone>%Time remaining before next regeneration (mm:ss)
%regen_name_<zone>%Official zone name

⚠️ Placeholders are auto-registered if PlaceholderAPI is present. No extra config needed.


✅ bStats

RegenSystem uses bStats to collect basic stats like server count and version. This helps the developer improve the plugin over time.


✅ File Structure

plugins/
└── RegenSystem/
    ├── config.yml     # Plugin messages & prefix (do NOT edit version !)
    ├── zone.yml       # Zones definition : positions, delays, enabled flags
    ├── version.cache  # Don't touch this file
    └── zone.db        # 🔥 Block data storage (SQLite, auto-managed)

✅ zone.yml

This file contains the definitions for your zones : their position, delay, and status.

global:
  regen-enabled: true      # Enable or disable regeneration globally

zones:
  zone1:                   # Replace with your own zone names
    pos1: world,100,64,100 # First corner of the cuboid (x, y, z)
    pos2: world,110,70,110 # Second corner of the cuboid (x, y, z)
    regenDelay: 60         # Delay in seconds
    enabled: true          # If false, the zone won't regenerate
    flags:                 # Zone-specific flags
      BLOCK_BREAK: true
      ITEM_DROP: true
      MOB_SPAWN: true
      PVP: true
      BLOCK_PLACE: true
      MOB_DAMAGE: true
      EXPLOSION: true
      ITEM_PICKUP: true

✅ config.yml

⚠️ Do not edit the version field – it’s used internally for updates.

version: 3                    # ⚠️ Do not modify!
debug: false                  # For more information in the logs
prefix: "&6[RegenSystem] &r"  # Prefix used in plugin messages
updates:
  check-interval: 12          # In hours
  notify-admins: true         # To notify the admins

✅ zone.db (SQLite)

Stores block snapshots for each zone – fast, optimized, and safe. Do not edit manually – managed automatically by the plugin.


📌 Installation

  1. Drop RegenSystem-VERSION.jar into your plugins/ folder.

  2. (Optional) Install PlaceholderAPI for placeholder support.

  3. Start your server.

  4. Use /regen wand to define zones and /regen save <name> to activate.


Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:LicenseRef-DLGPL-RegenSystem
Опубликован:8 месяцев назад
Обновлён:1 месяц назад
Главная