
Seasons API
API for creating your own seasons, weathers and challenges!
- Загрузки
- 6K
- Подписчики
- 18
- Обновлён
- 4 мая 2025 г.
- Лицензия
- Apache-2.0
Опубликован 23 августа 2024 г.
Seasons API
Seasons API was developed for creating your own seasons, weathers and challenges!
This mod was developed by analogy with the Spigot plugin "Seasons" specifically for the private Minecraft server "Zixa City" by its administrator (kochkaev, aka kleverdi). The idea of this mod was taken from Harieo.
What is this?
- Season - a certain period of a conditional year that has a certain weather for the current conditional time.
- Weather - daytime conditions for the game that have their own Challenges.
- Challenge - a set of some sort of rules for the player, appropriate to the current season and weather.
Command Syntax:
/seasons get season- get current season./seasons get weather- get the current weather./seasons get lang- get the currently set language./seasons get challenges- get the list of active Challenges./seasons set season <season>- set season./seasons set weather <weather>- set weather./seasons set lang <language>- set language./seasons set challenge [forceAllow|forceDisable] <challenge>- force start or end a challenge./seasons reload- reload configs./seasons actionbar [on|off]- set the display of season information in the action bar for the player executing this command.
For developers
You can create your own set of seasons, weathers and challenges in your mod. More information about implementing the Seasons API in your mod can be found in wiki.
Additional info
Links
Dependencies
- Fabric API (Required)
- Text Placeholder API (Optional)
- Mod Menu (Optional)
- Cloth Config API (Optional)
Idea by Harieo
- Harieo on GitHub: https://github.com/Harieo/
- Original plugin on GitHub: https://github.com/Harieo/Seasons/
- Original plugin on SpigotMC: https://www.spigotmc.org/resources/seasons.39298/
Created by kochkaev
- GitHub: https://github.com/kochkaev/
- VK: https://vk.com/kleverdi/
- YouTube: https://youtube.com/@kochkaev/
- Contact email: kleverdi@vk.com
Ченджлог
1.2-BETA-6Бета1.21.5 · 4 мая 2025 г.
Messages now use the more flexible MiniMessage for formatting instead of the outdated color codes. Read more about MiniMessage. Placeholder API is now a required dependency.
Add-on developers are now encouraged to use Minecraft Text instead of String for any displayed messages (season name, weather name, chat message). Special getText and addTextValue methods have been added to ConfigFileObject and ConfigContentObject for this purpose.
All config files now have a version (default 1). Now you can easily and safely update values in configs to the new format without the user noticing, for this you need to override the update method in your class that extends ConfigFileObject.
MiniMessage is included to the jar!
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.2-BETA-5...1.2-BETA-6
1.2-BETA-5Бета1.21.5 · 2 мая 2025 г.
Updated to Minecraft version 1.21.5.
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.2-BETA-4...1.2-BETA-5
1.2-BETA-4Бета1.21, 1.21.1 · 3 января 2025 г.
Fixed crushes when player returns to the title screen after death.
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.2-BETA-3...1.2-BETA-4
1.2-BETA-3Бета1.21, 1.21.1 · 24 декабря 2024 г.
Players can now customize for themselves whether or not to show the current season and weather information in the action bar.
/seasons actionbar {on/off}
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.2-BETA-2...1.2-BETA-3
1.2-BETA-2Бета1.21, 1.21.1 · 3 ноября 2024 г.
Fixed identifier error when damage player;
Added addSeason(SeasonObject) and removeSeason(SeasonObject) in WeatherObject;
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.2-BETA-1...1.2-BETA-2
1.2-BETA-1Бета1.21, 1.21.1 · 3 ноября 2024 г.
Added Events for mod developers
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.2-BETA-0...1.2-BETA-1
1.1Релиз1.21, 1.21.1 · 25 октября 2024 г.
Fixed known issues
- Now you can skip the thunder by sleeping in a bed;
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.0...1.1
1.0Релиз1.21, 1.21.1 · 19 октября 2024 г.
Комментарии
Загружаем…