2022-04-23 18:49:02 +02:00
|
|
|
weather:
|
2024-01-13 19:10:41 +01:00
|
|
|
enabled: true
|
|
|
|
|
2022-04-23 18:49:02 +02:00
|
|
|
worlds:
|
|
|
|
- world
|
|
|
|
- second_world
|
|
|
|
- third_world
|
2024-01-13 19:10:41 +01:00
|
|
|
|
|
|
|
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
|
2023-08-29 11:22:40 +02:00
|
|
|
# "player" - player's IP location (fake weather)
|
2024-01-13 19:10:41 +01:00
|
|
|
# "globe" - world resembles a real-world globe
|
|
|
|
type: point
|
|
|
|
|
2022-04-23 18:49:02 +02:00
|
|
|
point:
|
|
|
|
latitude: 41.84201
|
|
|
|
longitude: -89.485937
|
2024-01-13 19:10:41 +01:00
|
|
|
|
2022-04-24 11:49:22 +02:00
|
|
|
player:
|
2023-08-29 11:22:40 +02:00
|
|
|
# Get your own @ https://www.maxmind.com/en/geolite2/signup
|
2022-04-24 11:49:22 +02:00
|
|
|
geolite2_accountId: 710438
|
2024-01-13 19:10:41 +01:00
|
|
|
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
|
2024-01-13 19:10:41 +01:00
|
|
|
# 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
|
2024-01-13 19:10:41 +01:00
|
|
|
# false - do nothing (clamp to nearest allowed value)
|
|
|
|
# true - wrap the number
|
2023-08-29 11:22:40 +02:00
|
|
|
# for example; if a player's position on map converts to 94 degrees (out of bounds), it becomes -86 degrees
|
2024-01-13 19:10:41 +01:00
|
|
|
wrap: true
|
2022-04-23 18:49:02 +02:00
|
|
|
|
2022-06-11 16:49:25 +02:00
|
|
|
realtime:
|
2023-08-29 11:22:40 +02:00
|
|
|
# warning: this removes sleep
|
2022-06-11 18:39:34 +02:00
|
|
|
enabled: false
|
2024-01-13 19:10:41 +01:00
|
|
|
|
2022-06-11 16:49:25 +02:00
|
|
|
worlds:
|
|
|
|
- world
|
2024-01-13 19:10:41 +01:00
|
|
|
|
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
|
2024-01-13 19:10:41 +01:00
|
|
|
# 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'
|
2024-01-13 19:10:41 +01:00
|
|
|
|
2022-06-11 16:49:25 +02:00
|
|
|
# x day cycles / 24 hrs
|
|
|
|
timeScale: 1.0
|
2024-01-13 19:10:41 +01:00
|
|
|
|
2022-06-11 16:49:25 +02:00
|
|
|
# How often should we recalculate the time (in ticks)
|
2023-08-29 11:22:40 +02:00
|
|
|
# Very minimal impact on performance
|
2022-06-11 16:49:25 +02:00
|
|
|
interval: 1
|
|
|
|
|
2024-01-13 19:10:41 +01:00
|
|
|
# makes time visible to players not in sync with server
|
|
|
|
virtual: false
|
2022-06-11 11:26:53 +02:00
|
|
|
|
2024-01-13 19:10:41 +01:00
|
|
|
# if above true, locks the server's time (in ticks)
|
|
|
|
# -1 to disable
|
|
|
|
lock: 0
|