Download the PHP package hazardteam/autoclearchunk without Composer
On this page you can find all versions of the php package hazardteam/autoclearchunk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hazardteam/autoclearchunk
More information about hazardteam/autoclearchunk
Files in hazardteam/autoclearchunk
Package autoclearchunk
Short Description A PocketMine-MP plugin that automatically clears chunks in specified worlds at regular intervals.
License MIT
Informations about the package autoclearchunk
AutoClearChunk
A PocketMine-MP plugin that automatically clears chunks in specified worlds at regular intervals.
Features
- Automated Chunk Management: Automatically clears unloaded chunks in configured worlds to optimize server performance.
- Flexible Scheduling: Allows for a configurable interval to automatically clear chunks, adapting to your server's specific needs.
- Graceful Unloading: Includes a configurable grace period, ensuring chunks without players remain loaded for a specified duration before being considered for unloading.
- Manual Control: Provides commands to manually trigger chunk clearing for immediate action.
- Customizable Player Feedback: Offers configurable messages for different events, enhancing the player experience with clear notifications.
- World Exclusion: Supports a blacklist to exclude specific worlds from the automatic chunk clearing process.
- Stay Up-to-Date: Features an auto-update notifier to inform you of the latest plugin releases.
Default Config
Configuration
The plugin configuration file (config.yml) allows you to customize various aspects of the AutoClearChunk plugin. Here are the configurable options:
enable-auto-schedule(boolean): Set this option totrueif you want to enable the automatic chunk clearing schedule. If set tofalse, chunks will only be cleared manually using commands.clear-interval-duration(string): Specify the duration interval at which chunks should be cleared automatically. The duration should be specified in the format of1h30mfor 1 hour and 30 minutes.chunk-unload-grace-period-duration(string): Defines how long a chunk without players should wait before being considered for unloading. Set to "0s" to disable the grace period and unload instantly. Examples:30s, 5m, 1h.clearchunk-message(string): Customize the message sent to players when chunks are cleared using the/clearchunkcommand.clearchunk-broadcast-message(string): Customize the message broadcasted to all players when chunks are cleared using the/clearchunkcommand.clearallchunk-message(string): Customize the message sent to players when chunks are cleared using the/clearallchunkcommand.clearallchunk-broadcast-message(string): Customize the message broadcasted to all players when chunks are cleared using the/clearallchunkcommand.broadcast-message(boolean): Set this option totrueif you want to enable the broadcasting message when Chunk Clearedblacklisted-worlds(array): Specify a list of worlds to exclude from chunk clearing. Add world names as individual array items.
You can edit the config.yml file using a text editor to adjust the plugin's behavior, customize messages, and define the worlds where chunk clearing should be applied.
Commands
The AutoClearChunk plugin provides the following commands for chunk clearing:
/clearchunk: Clears all chunks in the current world. Players receive a notification message.- Permission:
autoclearchunk.command.clearchunk
- Permission:
/clearallchunk: Clears all chunks in all configured worlds. Players receive a notification message.- Permission:
autoclearchunk.command.clearallchunk
- Permission:
Permissions
To control access to the commands provided by the AutoClearChunk plugin, the following permissions are available:
autoclearchunk.command.clearchunk: Allows players to use the/clearchunkcommand.autoclearchunk.command.clearallchunk: Allows players to use the/clearallchunkcommand.
Grant these permissions to specific player groups or individuals using a permissions management plugin of your choice.
Upcoming Features
- Currently none planned. You can contribute or suggest for new features.
Additional Notes
- If you find bugs or want to give suggestions, please visit here.
- We accept all contributions! If you want to contribute, please make a pull request in here.
- Icons made from icons8.com