LobbyGames [1.8.x-1.21.x] ✅ High Quality Minigames ✅ 100% Customizable ⭕

VIP Plugins LobbyGames [1.8.x-1.21.x] ✅ High Quality Minigames ✅ 100% Customizable ⭕

Version: 2.5.6
- Added spectators to spleef! Similar to soccer, if a spleef game is running and a player walks into the arena, they will be made invisible and allowed to fly until they leave the arena.
- Fixed a bug in spleef where the remaining player count was off by 1
- By doing /lg join spleef, you will now be teleported to the center of the spleef arena rather than the spleef spawn.
- Added a cooldown for the quit arrow item of approximately 1 second after joining. In the case that a player is using the 9th item slot and clicks an NPC to join, this will prevent them from immediately quitting.
- If the game is not yet started, API functions Game#getPlayTime() will now return "0m 0s" and Game#getDuration() will return the number of seconds since the game was first initialized. Nothing has changed for if the game is already active/started.
- Fixed the plugin permissions list so that it will show all permissions in a LuckPerms editor for example.
- Added comments in the config.yml for soccer's game-max-time entry that explain how to use the %timer% placeholder, for example in the action bar entry.
- Added an option in the config to let soccer win after a set period of time instead of after a certain number of goals are reached. To enable this option, the soccer.game-max-time must be set to a positive number of seconds, it will then ignore the soccer.point-win-threshold entry. You can use the new %timer% placeholder in the soccer messages, such as in the action bar.

This adds the following lines to the config:
Code (Text):
soccer: #add the following to the soccer section...
- Added an ability to change the action bar shown in soccer/football when the game is active
- Fixed a small bug where where after a player's armor was temporarily cleared when they clicked the arrow to quit but before they confirm

This update adds the following to the config:
Code (Text):
soccer: #add the indented line to the soccer section with indent
action-bar: "%score%"
- If you have plugin conflicts with CMI or otherwise are using PlaceholderAPI to create the leaderboard holograms, you can add the line 'disable-holograms: true' to the config to disable the ones created by LobbyGames
- The /lgjoinplayer command will now tab-complete the game name.
- Added the config entry 'snake.action-bar' to allow a way to show the score during a snake game
- Changed the error-no-arenas-available config message to clarify that no arenas are open, not that none are set up.
- Made small changes to config comments to be more clarifying

This update adds the following line to the config:
Code:
snake.action-bar: "&b%score% Apple(s)"
You can add the line to the 'snake' section of the config with indenting before the 'action-bar' text.
- Added a way to specify a command to run per-player for the winning team in a soccer game. This way, the regular console-command-on-end config entry will run once (such as to broadcast), and the console-command-on-end-per-player will run per player (such as to award currency).
- Added the /lg leaderboard clearplayer <player> <game> command. This will clear a specific player's entries off of a specific game type's leaderboard.

The following lines were added to the config:
Code:
soccer:
  console-command-on-end-per-player: "" #Runs once for each player on winning team. Example: "eco give %player% 25"
- Fixed a bug that was causing eliminated spleef players to see messages twice
- Added a protection that, when loading an arena, checks that the world it is in is valid. If it is not valid, a warning will be shown in the console. This can happen if the world was renamed while the server was offline.
- Added 'wager-cost' as an entry under each game in the config to set an amount that will be take from the player's balance upon joining. Recommended to only use this for wagering, where there is a custom reward that is greater than the cost if they win. This feature will require Vault.
- Added configurable messages for errors such as when a player tries to join an arena that does not exist or is in the wrong world.
- Fixed a bug where armor stands were cleared that weren't inside the defined arena space when a game resets

This version adds the following lines to the config:
Code:
error-arena-not-exist: "&4Error: &cThis arena does not exist!"
error-wrong-world: "&4Error: &cYou cannot access this arena from this world!"
not-enough-balance: "&cThis game costs $%cost% to play!"

connect4:
    wager-cost: 0 #requires Vault, make sure to set an 'eco give' command in console-command-on-end for %winner%
minesweeper:
    wager-cost: 0 #requires Vault, make sure to set an 'eco give' command in console-command-on-end for %winner%
pool:
    wager-cost: 0 #requires Vault, make sure to set an 'eco give' command in console-command-on-end for %winner%
soccer:
    wager-cost: 0 #requires Vault, make sure to set an 'eco give' command in console-command-on-end for %winner%
spleef:
    wager-cost: 0 #requires Vault, make sure to set an 'eco give' command in console-command-on-end for %winner%
sudoku:
    wager-cost: 0 #requires Vault, make sure to set an 'eco give' command in console-command-on-end for %winner%
tictactoe:
    wager-cost: 0 #requires Vault, make sure to set an 'eco give' command in console-command-on-end for %winner%