realweather/src/main/resources/config.yml

39 lines
937 B
YAML
Raw Normal View History

2022-04-23 18:49:02 +02:00
weather:
# In which worlds weather control is allowed?
# If a world doesn't exist nothing will happen
worlds:
- world
- second_world
- third_world
2022-04-24 17:25:16 +02:00
# "point" for a static location
# "player" for using the player's location
2022-04-23 18:49:02 +02:00
source: point
point:
latitude: 41.84201
longitude: -89.485937
2022-04-24 11:49:22 +02:00
player:
geolite2_accountId: 710438
geolite2_apiKey: 'qLeseHp4QNQcqRGn'
2022-04-23 18:49:02 +02:00
provider:
# Your provider choice
# Case insensitive
choice: openweathermap
# Provider settings here
# Unlike the previous option, these are case sensitive
openweathermap:
2022-04-24 11:49:22 +02:00
apiKey: 'd3d37fd3511ef1d4b44c7d574e9b56b8'
2022-04-23 18:49:02 +02:00
# More providers soon!
settings:
2022-04-23 19:57:57 +02:00
# Delay between rechecking weather
2022-04-23 18:49:02 +02:00
# 20 is one second
2022-04-23 19:57:57 +02:00
# Shouldn't affect performance
timeBetweenRecheck: 600
2022-04-24 19:05:51 +02:00
# Whether to broadcast messages about weather updates
broadcast: false
2022-04-23 18:49:02 +02:00
2022-04-23 19:57:57 +02:00
# Advanced options
2022-04-24 19:05:51 +02:00
timeBeforeInitialRun: 0
debug: false
debugAllowDox: false