Config
Here's the default config with key defenitions:
Times:
- 0/24000: sunset
- 6000: mid day
- 12000: sunset
- 18000: mid night
After 23999 ticks the counter will be reset to 0 and start counting up again. If it's still not clear take a look at the MinecraftWiki.
# Default time (in ticks) for groups when lanterns will toggle on night_time: 12500 # Default time (in ticks) for groups when lanterns will toggle off day_time: 23000 # Default value for groups whether redstone lamps toggle on while it's thundering/raining lamps_on_thundering: true # Delay in ticks (1/20 seconds) between the switching of the lanterns toggle_delay: 10 # Settings for the lanterns storage lanternsstorage: # Storage type, either 'file', 'sqlite' or 'mysql' type: file # Path for file if storage type is 'file' filepath: storage.txt # Path for sqlite file if storage type is 'sqlite' sqlitepath: storage.db # Table to save lanterns for sqlite database sqlitetable: lanterns # URI for mysql database if storage type is 'mysql' mysqlurl: jdbc:mysql://localhost:3306/citylanterns?user=username&password=secret # Table to save lanterns for mysql database mysqltable: lanterns groupsstorage: # Storage type, either 'file', 'sqlite' or 'mysql' type: file # Path for file if storage type is 'file' filepath: groups.yml # Path for sqlite file if storage type is 'sqlite' sqlitepath: storage.db # Table to save groups for sqlite database sqlitetable: groups # URI for mysql database if storage type is 'mysql' mysqlurl: jdbc:mysql://localhost:3306/citylanterns?user=username&password=secret # Table to save groups for mysql database mysqltable: groups
Comments