Skip to content

Configuration

Vecoo edited this page Jul 4, 2025 · 40 revisions

Example main config

location-time: 600 # The amount of seconds time before the pokemon location is announced. 0 to disable.
despawn-time: 1800 # The number of seconds until the legendary pokemon is completely despawn. 0 to disable.
base-chance: 10.0 # Base chance for legendary pokemon.
step-spawn-chance: 5.0 # A chance added to the base chance upon failure.
random-time-spawn-min: 0 # The minimum number of seconds added to display the team time, it only changes the time visually.
random-time-spawn-max: 300 # The maximum number of seconds added to display the team time, it only changes the time visually.
legendary-particle: true # Will legendary pokemon have particles?
particle-name: dragon_breath # The name of the particle to display legendary pokemon.
notify-personal-legendary-spawn: true # Notifying the player about the appearance of a legendary pokemon.
notify-legendary-catch: true # Message about the capture of a legendary pokemon to the entire server.
notify-legendary-defeat: true # Message about the defeat of a legendary pokemon to the entire server.
notify-legendary-despawn: true # Message about the despawn of a legendary pokemon to the entire server.
blacklist-dimensions: false # Will the blacklist of dimension be included?
blacklist-dimension-list: # Names of all excluded dimensions.
- the_nether
- the_end

Example defender config

trust-limit: 15 # Maximum number of players in the trust list. Set to 0 to disable.
protected-time: 300 # The number of seconds before the protection of a legendary pokemon is removed.

Example storage config

storage-type: JSON # Data storage type, you can choose: JSON, MySQL, MariaDB and PostgreSQL.
storage-path-json: /%directory%/storage/LegendControl/ # Directory where mod data will be written if the storage type is JSON.
address: 127.0.0.1:3306
database: minecraft
username: root
password: password
prefix: legendcontrol_
max-pool-size: 10
minimum-idle: 10
max-life-time: 1800000
keep-alive-time: 60000
connection-timeout: 5000
use-ssl: true
thread-pool: 5 # Increasing this parameter will result in more efficient database operation, but will reduce server performance.

Clone this wiki locally