Releases: timsixth/MinigameAPI
v2.0.0-rc1
v2.0.0-alpha1
JavaDocs: https://timsixth.pl/javadocs/minigame_api/2.0.0-alpha1/
Documentation: https://timsixths-plugins.gitbook.io/minigameapi-docs/v/2.0.0-alpha1
Full Changelog: v1.4.0...v2.0.0-alpha1
Changes:
- From now commands module is separated module
- Addons system marked as deprecated (for removal in 2.0.0)
- Added modules system
- Added SQL Module (Support for MySQL and SQLite as separated module)
- Library configuration is simpler
- From now not more calling
init
method in constructor - Arenas models has been optimized
v2.0.0-beta1
Full Changelog: v1.4.0...v2.0.0-beta1
JavaDocs: https://timsixth.pl/javadocs/minigame_api/2.0.0-beta1/
Documentation: https://timsixths-plugins.gitbook.io/minigameapi-docs/v/2.0.0-beta1
Changes:
- Added onMiniGameEnable,onMiniGameLoad and onMiniGameDisable methods
- Added rejoin feature
- Added ability to hide and show online players for players who are playing in the game
v1.4.1
v1.4.0
Changelog:
Added separated interface for CustomOptions
Added getOptionsOrCreate method
Full Changelog: v1.3.0...v1.4.0
v1.3.0
Change log:
Added timers (XpTimer and SimpleTimer)
Added custom options to the arena
Deleted deprecated files and methods
What are the timers?
Timer or task is BukkitRunnable
implementation.
There are two types of timers XPTimer, the countdown is displayed on the player level bar
In the second SimpleTimer, the countdown is displayed on the player's chat
What's Changed
Full Changelog: v1.2.1...v1.3.0
v1.2.1
Changes
- Fixed out-of-range error with the coin system
- Fixed error with default stats system is disabled
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Changes:
- Added new stats system
- Added a new cosmetics system
- Added a new coin system
- Added model factories
- Added loaders factories
- Added api, addons-api modules
- Added lite version of the library (without addons system)
- Added
ModelUtil
(class to find fields to models' system) - Added
IgnoredFileds
annotation (Thanks to this annotation you can ignore all class's fields) - Fixed issue with
useDataBase
option in PluginConfiguration - UserStatsImpl, UserCosmeticsImpl, UserCoinsImpl, ArenaFileLoader, AbstractArenaFileLoader marked as deprecated
A few words about new systems.
From now the stats, cosmetics, and coin systems work with an Adapter design pattern, thanks to this systems are extendable very easily.
From now these systems support YAML files, when using a database is disabled.
Creating users is the same for all these systems.
How to create new users, thanks to new systems?
UserCosmetics userCosmetics = MiniGame.getUserCosmeticsFactory().createUserCosmetics(player.getUniqueId());
What's Changed
Full Changelog: v1.1.0...v1.2.0
v1.1.0
Changes:
- Fixed loading cosmetics
- Fixed inserting data to the database
- Added ArenaFactory
- Added ArenaSaveType
- Added loader to load arenas from many files
Full Changelog: v1.0.0...v1.1.0