realweather/src/main/resources/config.yml

74 lines
1.9 KiB
YAML
Raw Normal View History

2022-04-23 18:49:02 +02:00
weather:
enabled: true
2022-04-23 18:49:02 +02:00
worlds:
- world
- second_world
- third_world
provider:
# Weather provider
choice: openweathermap
# Configure it here
openweathermap:
apiKey: 'd3d37fd3511ef1d4b44c7d574e9b56b8' # PLEASE get your own @ https://home.openweathermap.org/users/sign_up
# More providers soon!
map:
2022-04-25 19:34:22 +02:00
# "point" - static location
# "player" - player's IP location (fake weather)
# "globe" - world resembles a real-world globe
type: point
2022-04-23 18:49:02 +02:00
point:
latitude: 41.84201
longitude: -89.485937
2022-04-24 11:49:22 +02:00
player:
# Get your own @ https://www.maxmind.com/en/geolite2/signup
2022-04-24 11:49:22 +02:00
geolite2_accountId: 710438
geolite2_api_key: 'qLeseHp4QNQcqRGn'
globe:
2022-04-25 19:34:22 +02:00
# Valid latitude range: -90 to 90
# Valid longitude range: -180 to 180
# 1 degree of latitude and longitude is about 111 km
# The defaults here assume 1 block = ~1 km
# 1 block = <scale> degrees
scale_latitude: 0.009
scale_longitude: 0.009
2022-04-25 19:34:22 +02:00
# What to do if player exceeds the range specified above
# false - do nothing (clamp to nearest allowed value)
# true - wrap the number
# for example; if a player's position on map converts to 94 degrees (out of bounds), it becomes -86 degrees
wrap: true
2022-04-23 18:49:02 +02:00
2022-06-11 16:49:25 +02:00
realtime:
# warning: this removes sleep
2022-06-11 18:39:34 +02:00
enabled: false
2022-06-11 16:49:25 +02:00
worlds:
- world
2022-06-11 16:49:25 +02:00
# "auto" to use server's timezone
# Alternatively choose one of these: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# if "real" each player's timezone is varied based on where they are
# config from map.globe is used, also forces virtual
# WARNING: it is purely cosmetical
2022-06-11 16:49:25 +02:00
timezone: 'auto'
2022-06-11 16:49:25 +02:00
# x day cycles / 24 hrs
timeScale: 1.0
2022-06-11 16:49:25 +02:00
# How often should we recalculate the time (in ticks)
# Very minimal impact on performance
2022-06-11 16:49:25 +02:00
interval: 1
# makes time visible to players not in sync with server
virtual: false
2022-06-11 11:26:53 +02:00
# if above true, locks the server's time (in ticks)
# -1 to disable
lock: 0