Config
Here you will be able to see and get more insight of how to configure the many options NexGens provide in its config.yml
# If disabled, we will use SQLite
mysql:
enabled: false
host: localhost
port: 3306
database: db_nextgens
user: root
password: ''
useSSL: false# List of interaction needed to do certain things such as
# picking up, upgrading, fix generator
# Interaction Type: LEFT, SHIFT_LEFT, RIGHT, SHIFT_RIGHT
interaction:
gens-pickup: LEFT
gens-upgrade: SHIFT_RIGHT
gens-fix: SHIFT_RIGHTcorruption:
enabled: true
# How often should corruption happen (in minutes)
interval: 30
# How many generators can possibly corrupt
# Default: 10 (If there are 100 generators, 10 of them will be randomly chosen and tested for corruption)
percentage: 40
# Should we use gui to fix the corrupted generator?
gui-fix: true
# Broadcast when the corruption wave happen, leave empty to disable it
broadcast:
- '&7'
- ' &c&lPower Outages'
- ' &fDue to recent power outages, &c&n{amount}&f generators'
- ' &fhave been broken, please fix them immediately!'
- ' &7&o(( You will be notified if you got affected ))'
- '&7'
notify:
interval: 5
messages:
- '&7'
- ' &e&lGenerator Notification'
- ' &fThere are &e&n{amount}&f of your generator that''s broken'
- ' &ffind them and fix them by shift + right-clicking it.'
- '&7'Last updated