GameBox | Inventory games collection 2.2.6

Several inventory games in one GUI -*- 15 games! -*-

  1. Nikl
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/NiklasEi/GameBox
    Languages Supported:
    Mandarin, French, Spanish, German; all messages are configurable
    Support chat on Discord


    gamebox.png

    Play a bunch of inventory games accessible from one GUI

    Cookie Clicker, GemCrush, Minesweeper, Battleship, ConnectFour, Sudoku, Three In A Row, Whac A Mole, MatchIt, Tic Tac Toe, Rock Paper Scissors and 2048
    games without a Spigot link are already included in GameBox by default

    (outdated video)


    Most games are add-ons! Additional games:
    Singleplayer: GemCrush, Minesweeper, Sudoku, Three In A Row, Whac A Mole and 2048
    Multiplayer (2 players): Battleship, Tic Tac Toe, Rock Paper Scissors
    CookieClicker, ConnectFour and MatchIt are included in GameBox by default

    You can find a zip file containing GameBox and all games on GitHub



    Click here for a list of all published, planed and currently worked on games


    [​IMG]
    GameBox on bStats


    about.png

    GameBox provides a gui for all my inventory games to hook into. The goal is for you to be able to customize your own game modes. For example: per default GameBox provides an easy, normal and hard game mode for Minesweeper. But you could easily add your own ones, or modify these default game modes. In the example of minesweeper you can customize the number of mines and the grid size. Be creative with your game modes.​

    To open the main menu players can either use the command /gb (/gamebox, /games) or (if enabled and configured) click with the hub item.

    Each menu includes help buttons with configurable messages in the lore. The default lores explain the games. There is a toggle button for each player to turn on/off sounds in the menus and all games, a token counter (see below) and a shortcut to the shop.

    GameBox also includes a token system which allows you to reward your Players with tokens when winning games. These tokens can then be used to buy configurable items in the shop. The shop can also be used to run commands. An example usage would be to sell timed play permissions for games using pex commands.

    For multi player games there is an invitation system to allow the players to invite anyone over the chat. The invited player will receive a message and can then accept the invitation inside the menu. For easier use a clickable message is send together with the invitation. If the player clicks on it he is taken to the menu with the invitation inside.​





    features.png



    Easy to use and good looking GUI

    All the fun games ;)

    Token system with a directly from the main menu accessible shop

    Highly customizable

    Permissions to use games as donator perks




    What is customizable?

    ➳ All messages via language files (including name and prefix of the plugin!)

    ➳ All buttons, lores, displaynames, Inventory titles and so on...

    ➳ Configure the navigation buttons (back to main menu, exit, back to game menu). You can change their slots or disable them completely by giving them a negative slot.

    ➳ You can add your own game modes to any game
    ⤷ for example: an easy minesweeper game with 5 mines, a normal one with 8 and a hard one with 10.
    ⤷ Additional settings for each game mode are rewards, cost and whether to save high scores for a top list

    ➳ Configure the token shop (in tokenShop.yml):
    ⤷ Make your own categories
    ⤷ Fill the categories with as many items as you want (automatic page system)
    ⤷ Until it was configured the shop will say 'shop is closed at the moment' and will not sell anything by default. This is to ensure that the plugin can't deal damage to a servers economy prior configuration.

    ➳ Turn on/off economy

    ➳ Turn on/off sounds

    ➳ Configure the hub mode for your hub world

    ➳ Disable the plugin in some worlds





    /gamebox or /gb, /games
    Opens the main GUI

    /gb help
    and /gb ?
    Display configurable help messages

    /gb info
    Display configurable information about all installed games. Per default this includes lists of all shortcut commands (see below).


    Shortcut Commands

    /gb gc
    Directly opens the GemCrush GUI

    /gb bs
    Directly opens the Battleship GUI

    /gb ms
    Directly opens the Minesweeper GUI

    /gb 2048
    Directly opens the 2048 GUI

    /gb c4
    Directly opens the ConnectFour GUI

    /gb sudoku
    Directly opens the Sudoku GUI

    /gb wam
    Directly opens the Whac A Mole GUI

    /gb cc
    Directly opens the Cookie Clicker GUI



    Admin Commands

    Main command /gameboxadmin, /gbadmin or /gba
    Permission: "gamebox.admin"

    /gba token [player name]
    Displays the token count of said player

    /gba reload
    Reload GameBox and all the installed games

    /gba token [give|take|set] [player name] [count]
    Manipulate the token count of said player. Works with online and offline players as long as the player has been on the server before.







    permissions.png


    The permission system allows for different people having access to different games. You can take the default permission "gamebox.play.*" from everyone and then give only access to specific games with "gamebox.play.(game ID here)". The IDs are cookieclicker, minesweeper, battleship, 2048, connect4, sudoku, whacamole and gemcrush. To completely forbid players to open the GUI via commands or the hub item, take the permission "gamebox.use" from them.

    With the play permissions the starting of games is controlled. Players can still access the game GUIs and for example look at top lists and the different game modes. To restrict this access you can take the default permission "gamebox.gamegui.*" from everyone and then give only access to specific game GUIs with "gamebox.gamegui.(game ID here)".

    To forbid specific players to use the token shop, take "gamebox.shop" from them. If you do not want anyone to use the shop, you should disable tokens in generall (can be done in the configuration file). This will lead to the shop and tokens not being displayed and no tokens will be payed when winning games.

    Other permissions:

    "gamebox.admin"
    Permission needed for admin commands

    "gamebox.info"
    Gives access to /gb info
    Default: true

    "gamebox.help"
    Gives access to /gb help and /gb ?
    Default: true​




    PlaceholderAPI:

    - %gamebox_game_name% will be replaced by the game the player is currently playing
    Code (Java):
    @EventHandler
    public void onInvClick(InventoryClickEvent event) {
        Bukkit.getConsoleSender().sendMessage(PlaceholderAPI.setPlaceholders((Player)event.getWhoClicked(), event.getWhoClicked().getName() + " is currently playing %gamebox_game_name%"));
    }
    If you want more placeholders please write in the discussion.



    ToDo:
    • Add command to run in console that will open the gamebox gui for a player (@ethanrws )
    • Add win commands / fireworks @Number3504
    • Add more Games...
    • Tell me what to do ;)

    Planed games: Complete and up-to-date game list
    If you have any game idea that is not on that list, please tell me about it :)



    Please report any problems in the discussion, via GitHub or on Discord. I am always interested in improving GameBox and the games.
    Reviews are not for bug reports :rolleyes:

Recent Reviews

  1. dinoboss2001
    dinoboss2001
    5/5,
    Version: 2.2.6
    buen plugin xddd saludos desde uruguay bro espero tu atualizasion 1.14.x xdddddddddddddddddd
  2. Ngials
    Ngials
    5/5,
    Version: 2.2.6
    Text in spanish:

    Oye, tu plugin es demasiado bueno, pero tengo una duda, dice que hay 15 minijuegos hechos, pero en la lista solo veo 12, puedes pasarme la lista con links si puedes o con los jar de los 15 minijuegos, te lo agradeceria mucho, soy fan de tu plugin desde hace mucho xD, pero apenas volvi a los servers y me acorde de tu plugin
  3. Zappedzilla
    Zappedzilla
    5/5,
    Version: 2.2.6
    Very good plugin! I use it for my 1.12.2 server and I have a suggestion. Could you, by any chance, make a game that's like Plants Vs Zombies? I think it would be a good addition to the plugin. I hope you keep updating!
    1. Nikl
      Author's Response
      Thank you
      I think PvZ would nedd more slots than just the the 9x6 or 9x9 I can get in MC. Think about PvZ without the animated bullets coming from the plants...
  4. dgargano
    dgargano
    4/5,
    Version: 2.2.6
    Very good and fun plugin for <1.14, anything at 1.14 or higher doesn't work, please update to 1.14 if you can!
  5. Matocolotoe
    Matocolotoe
    5/5,
    Version: 2.2.4
    Incredible plugin, works perfectly and brings so much fun to server lobbies ! :)
  6. TopicDogg
    TopicDogg
    5/5,
    Version: 2.2.4
    10 out of 10 plugin! Would recommend to any server that is trying to add a fun but light feature to their server.
    1. Nikl
      Author's Response
      Thank you very much. I am glad that you like it.
  7. SuperHori
    SuperHori
    5/5,
    Version: 2.2.4
    Hello. I would like your discord to contact you about a problem I have with translating this plugin. I'm sorry I had a negative review, that was deleted. If you could help me I would be very grateful.
    1. Nikl
      Author's Response
      You can find the support chat at http://support.nikl.me
      I am sure I will be able to help you. Thank you for removing the previous review.
  8. Amira
    Amira
    5/5,
    Version: 2.1.3
    Truly amazing plugin, works perfectly, and is so much fun. I love it! Looking forward for new games :D
  9. Daxtabold
    Daxtabold
    5/5,
    Version: 2.1.3
    Now i can have a Arcade on my Server.
    Plugin works very good.
    Great Work !
    I am looking forward to new games.
  10. Cha0s_B0y
    Cha0s_B0y
    5/5,
    Version: 2.1.1
    Hello, I Use this plugin on my Lobby server on my Network and my Team has a Wish:
    Tic Tac Toe
    Could you make an "tic Tac Toe" Addon please?
    1. Nikl
      Author's Response
      Yes I am on it