Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Configuration

MoonLight_ edited this page Feb 2, 2021 · 2 revisions

Configuration

The plugin config file (located in plugins/ServerStonker/config.yml) should look like this:

blocks-radius: 48 # Prevent mobs getting killed while players are in the radius (Default: 48 / 3 Chunks)
auto-save: 1 # Save Progress automatically every x Minutes
schedule-duration: 30 # Kill entities in unloaded chunks automatically every x Seconds
schedule-log: false # Logs the schedule
mob-movement: false # Enable Mob Move
mob-interaction: false # Enable Mob Interact
natural-spawn: false # Enable Mob Spawn Naturally
chunk-spawn: false # Enable Mob Spawn while player generates a chunk
spawner-spawn: false # Enable Mob spawn from spawner
worlds: # Enable Entity Cleaner at specified world
- world
whitelist-mob: # Prevent specified Mob getting killed or removed while plugin is running
- VILLAGER
whitelist-tamed-mob: # Prevent specified Tamed Mob getting killed or mob movement's getting removed while plugin is running
- WOLF
- HORSE
whitelist-mob-ai: [] # Prevent specified Mob's AI getting removed while plugin is running
whitelist-tamed-mob-ai: # Prevent specified Tamed Mob's AI getting removed while plugin is running
- WOLF
- HORSE
unload-chunk: true # Unload chunk when they're no players in the radius
# More information at https://github.com/Raznar-Lab/ServerStonker/wiki
  • block-radius - this determines how much block around every online player should the plugin disables mob despawning.
    Example: If this is set to 100, then the plugin will not despawn entities if a player is standing 100 blocks around the entity.
    Default: 48 blocks or 3 chunks
    Type: Integer (NUMBERS)
  • auto-save - this determines how many minutes should the plugin save every world in the server.
    Example: If this is set to 3 minutes, then the plugin will save every world every 3 minutes.
    Default: 1 (minute)
    Type: Integer (NUMBERS)
  • schedule-duration - this determines how many seconds should the plugin despawn every entity in an unloaded chunk (or if the mob is not near a player).
    Example: If this is set to 10, then the plugin will despawn every entity in an unloaded chunk every 10 seconds.
    Default: 30 (seconds)
    Type: Integer (NUMBERS)
  • schedule-log - this determines if the plugin should log a message to the console everytime the plugin clear entities in an unloaded chunk.
    Example: true = log a message when the plugin clear entities in an unloaded chunk, and vice versa.
    Default: false
    Type: Boolean (true or false)
  • mob-movement - this determines whether or not the plugin should enable mob movement on entity spawn.
    Example: false = enable mob movement, true = disable mob movement when an entity spawn.
    Default: false
    Type: Boolean (true or false)
  • mob-interaction- this determines if the plugin should enable mob interacting with it's environment.
    Example: false = disable mob interacting with it's environment, and vice versa.
    Default: false
    Type: Boolean (true or false)
  • natural-spawn - this determines if the plugin should enable natural mob spawning
    Example: false = disable natural mob spawning, and vice versa
    Default: false
    Type: Boolean (true or false)
  • chunk-spawn - this determines if the plugin should enable mob spawning while a player generates a chunks
    Example: false = disable mob spawning while a player generates a chunk, and vice versa
    Default: false
    Type: Boolean (true or false)
  • spawner-spawn - this determines if the plugin should enable mob spawning if the mob is spawned by a spawner.
    Example: false = disable mob spawning from spawners, true = enable mob spawning from spawners
    Default: false
    Type: Boolean (true or false)
  • worlds - this is the list of world(s) that the plugin should enable entity clearing
    Example: if you add the world - someworldname, the plugin will clear the entities from that world.
    Default: world
    Type: String
  • whitelist-mob - this is the list of entity names, or we call it entity types that the plugin won't kill/remove/clear.
    Example: if you add ARMOR_STAND, the plugin will prevent despawning/killing armor stands.
    Default: VILLAGER
    Type: EntityType
  • whitelist-tamed-mob - this will prevent the specified tamed mob(s) from getting killed and will prevent it's movement from getting removed.
    Example: if you add WOLF, the plugin will not kill the entity or remove the entity's movement
    Default: WOLF, HORSE
    Type: EntityType
  • whitelist-mob-ai - this will prevent the specified mob(s) from getting it's AI (or movement) removed.
    Example: if you add ZOMBIE, the plugin will ignore zombies from getting it's AI or movement removed.
    Default: []
    Type: EntityType
  • whitelist-tamed-mob-ai - this is the same with whitelist-mob-ai above ^ but with tamed mobs.
    Example: if you add WOLF, the plugin will ignore wolfs from getting it's AI or movement removed.
    Default: WOLF, HORSE
    Type: EntityType
  • unload-chunk - this enable/disable the unloading chunk system. (see)
    Example: false = disables the unloading chunk system, true = enables the unloading chunk system
    Default: true
    Type: Boolean (true or false)

🎉 You've made it to the end of the config! Yaay 🎉

Clone this wiki locally