This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
MoonLight_ edited this page Jan 23, 2021
·
5 revisions
A Lightweight Minecraft 1.12 - 1.16.4x Server Plugin for a server optimization
Server stonker is a Minecraft Optimization plugin,
that makes your TPS (Tick Per Second) goes stonk.
Server Stonker optimizes your server by:
- Clearing entities when they are no players around 3 chunks or 48 blocks
and also unload the chunk to release more free memory cache every 10 seconds - Disables Mob Spawning (Chunk Generates, Natural, Spawners), and Mob AI,
these options can be enabled or disable in the 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 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: If true, then it will log a message, if false then it will not log a message.
Default: false
Type: Boolean (true
orfalse
) -
mob-movement
- this determines whether or not the plugin should enable mob movement on entity spawn.
Example: If false, the plugin will enable mob movement, if false the plugin will disable mob movement when an entity spawn.
Default: false
Type: Boolean (true
orfalse
) -
mob-interaction
- this determines if the plugin should enable mob interacting with it's environment.
Example: If false, the plugin will disable mob interacting with it's environment, and vice versa.
Default: false
Type: Boolean (true
orfalse
) -
natural-spawn
- this determines if the plugin should enable natural mob spawning
Example: If false the plugin will disable natural mob spawning, and vice versa
Default: false
Type: Boolean (true
orfalse
)
Copyright © 2021 ServerStonker by Raznar Lab, or its associates. All Rights Reserved.
Wiki by MoonLight
ServerStonker by BadAccuracyID and RedEpic