Update from Git Manager GUI

This commit is contained in:
2026-02-28 13:36:51 +01:00
parent 9ace86a856
commit fa599de701
3 changed files with 431 additions and 246 deletions

View File

@@ -1,39 +1,61 @@
# OpenWeatherMap API-Key hier eintragen
# ============================================================
# RealTimeWeather config.yml
# ============================================================
# OpenWeatherMap API-Key
# Kostenlos erhältlich unter: https://openweathermap.org/api
api-key: "DEIN_API_KEY_HIER"
# Update-Intervall in Sekunden (Standard: 60)
# Wie oft Wetter & Zeit von der API abgerufen werden (in Sekunden)
# Empfohlen: 60300 (zu niedrige Werte können das API-Limit überschreiten)
update-interval: 60
# ------------------------------------------------------------
# Standard-Einstellungen (gelten wenn keine Welt-spezifischen
# Einstellungen definiert sind)
# ------------------------------------------------------------
defaults:
# Plugin für diese Welt aktiv?
enabled: true
location: "Berlin,de" # Stadt,Land
units: "metric" # metric = °C, imperial = °F
time-format: "24h" # oder "12h"
display-actionbar: true
display-weather-icon: true
display-position: "top-right"
padding-right: 100
# Standort für Wetter & Zeit Format: "Stadt,Länderkürzel"
# Beispiele: "Berlin,de" | "London,gb" | "New York,us"
location: "Berlin,de"
# Temperatureinheit: "metric" (°C) oder "imperial" (°F)
units: "metric"
# Uhrzeitformat: "24h" oder "12h"
time-format: "24h"
# Soll das Ingame-Wetter mit der echten API synchronisiert werden?
# (Regen, Gewitter, Schnee, Klar etc.)
sync-in-game-weather: true
# ------------------------------------------------------------
# Welt-spezifische Einstellungen
# Nicht definierte Felder erben vom "defaults"-Block oben.
# ------------------------------------------------------------
worlds:
world:
enabled: true
location: "Berlin,de"
units: "metric"
time-format: "24h"
display-actionbar: true
display-weather-icon: true
display-position: "top-left"
padding-right: 50
sync-in-game-weather: true
world_nether:
# Nether hat kein Wetter/Tageslicht Plugin hier deaktivieren
enabled: false
location: "Berlin,de"
units: "metric"
time-format: "24h"
sync-in-game-weather: false
world_the_end:
# End hat kein Wetter/Tageslicht Plugin hier deaktivieren
enabled: false
location: "Berlin,de"
units: "metric"
time-format: "24h"
display-actionbar: true
display-weather-icon: false
display-position: "top-right"
padding-right: 150
sync-in-game-weather: false

View File

@@ -1,32 +1,43 @@
name: RealTimeWeather
version: 1.4
version: 1.5
main: dev.viper.weathertime.WeatherTimeSyncPlugin
api-version: 1.21
authors: [M_Viper]
description: Synchronizes real-time weather and time from OpenWeatherMap with your Minecraft world.
commands:
wetter:
description: Manages real-time weather and time synchronization
usage: /<command> reload | setlocation <city,country> | query | info | gui | help
usage: /<command> <reload|setlocation|query|mode|info|gui|help>
permission: realtimeweather.use
weatherforecast:
description: Shows the weather forecast for the player's location
description: Shows the 5-day weather forecast for the player's location
usage: /<command>
permission: realtimeweather.forecast
toggleweather:
description: Toggles the weather display for the current world
description: Toggles the scoreboard weather display for the current world
usage: /<command>
permission: realtimeweather.toggle
permissions:
realtimeweather.use:
description: Allows usage of the /wetter command
description: Allows usage of the /wetter command (query, info, gui, mode, help)
default: true
children:
realtimeweather.setlocation: true
realtimeweather.setlocation:
description: Allows setting a custom weather location via /wetter setlocation
default: true
realtimeweather.forecast:
description: Allows usage of the /weatherforecast command
default: true
realtimeweather.toggle:
description: Allows usage of the /toggleweather command
description: Allows toggling the scoreboard weather display via /toggleweather
default: true
realtimeweather.reload:
description: Allows reloading the plugin configuration
default: op
description: Allows reloading the plugin configuration via /wetter reload
default: op