- Made a major refactor on the codebase. If you use the API and use anything outside of the me.c7dev.lobbygames.api package, you must refresh your package imports! This includes if you're doing anything with Leaderboards, specific instances of games, etc. If are only using custom events, no action is required.
- Deprecated the GameType API class, replacing with GameMetadata:
Code (Text):
// LEGACY - Please refactor if your API uses this:
if (game.getGameType() == GameType.SNAKE) ...
// Updated examples
if (game.getClass().equals(Snake.class)) ...
if (game.getMetadata().gameClass().equals(Snake.class)) ...
Documentation and javadocs will be updated/published shortly
- Fixed a bug where the leaderboard for a game could be corrupted in some cases when a new entry is added for a new UUID
- Fixed a bug where players could potentially keep their fly after sudoku ended depending on the plugin configuration
- Added a tag "round-y" that goes in the definition of a snake arena in arenas.yml to manually disable rounding the y-level of the spawn, such as if players are standing on a block that is not exactly 1 in height.
- Cleaned up the codebase. As always, if you find any bugs, please report them in the discord server!