LiteCasino 1.0

GUI Menu. Simple interface. Full customization.

  1. OSK115
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    [​IMG]
    LiteCasino v1.0
    For the plugin to work correctly, you will need a Vault and any economy plugin.

    [​IMG]
    This plugin will add just a casino to your server. To open it, use the /casino command. The plugin has almost complete customization, change the size of bets, the probability of winning, and all the labels in the plugin. This is my second plugin and I will welcome any criticism or suggestions to improve the plugin. Thanks!


    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    [​IMG]
    Code (YAML):
    # LiteCasino v. 1.0
    # I'm sorry for my bad English :)

    # From left to right
    bets
    :
        first
    : 10.0
        second
    : 25.0
        third
    : 50.0
        fourth
    : 100.0
        fifth
    : 250.0
        sixth
    : 500.0
        seventh
    : 1000.0
        eighth
    : 2500.0
        ninth
    : 5000.0

    # Chance to win at the casino and collect money.
    # The lower the percentage, the more money the player will get.
    chances
    :
        first
    : 10.0
        second
    : 20.0
        third
    : 30.0
        fourth
    : 40.0
        fifth
    : 50.0
        sixth
    : 60.0
        seventh
    : 70.0
        eighth
    : 80.0
        ninth
    : 90.0
       
    # For translation into other languages and customization plugin
    language
    :

        menu
    :
            menu-name
    : 'Casino'
            info
    :
                name
    : '§eHow to play?'
                lore
    :
                   - ''
                    - '§eFirst, select the percentage of your winnings-on the first line.'
                    - '§eThe lower the winning percentage, the higher the increase to '
                    - '§eyour bet you will get.'
                    - '§eThen select your bid by clicking the appropriate amount on the second line.'
                    - '§aTry your luck!'
            close
    : '§c§lClose'
            apply
    :
                name
    : '§eTry luck!'
                you-will-get
    : '§eYou will get:'
               
        messages
    :
            win
    : '§aYou win!'
            lose
    : '§cYou lose, you be lucky next time.'
            close
    : '§cYou closed the casino'
            not-enough-money
    : '§cNot enough money!'

    [​IMG]
    1. Stop server
    2. Download LiteCasino and Vault
    3. Drag plugins into plugins folder
    4. Start server