Filled Casino Slots

Discussion in 'Plugin Requests' started by AlwaysAllstar, Aug 27, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    AlwaysAllstar

    Plugin category: Economy

    Minecraft version: 1.14

    Suggested name: SignSlots

    What I want: A plugin where I can create slots on a sign so players can right click it and gamble for a chance to win more money. Before getting into any detail, this is pretty much exactly what I want: (The slots are at 1:16 - 1:59) So going into more detail on what I want:

    1) Sign support so when I place down a sign I can put:
    1 - '[Slots]'
    2- '<gamble amount>' (It will be an amount already defined in config, see #3a)
    3 - '<the symbols separated by colons>' (The symbols are colored based on config like stated in 3c, the colons are black)
    4- BLANK
    Which will then set up a sign where '[Slots]' on the first line is in purple (not yellow), the price on the second line is white, and the 3 slot symbols varying in colors separated by colons in black are below the price like in the video. Its hard to explain the cool spinning of letters before being revealed about 1 second before one another like in the video, but that's what I'm looking for so it can build suspense.

    2) Messages
    When you win it says this:
    upload_2019-8-27_20-14-31.png
    '<money>' being the amount you just won from the slot (which would obviously be more than you spent).
    When you lose it says this:
    upload_2019-8-27_20-15-9.png
    '<money>' being how much you spent because you didn't win and lost it.
    If you don't have permission to use a slot (check ideas for permissions at the end):
    upload_2019-8-27_20-13-20.png
    (In the video they send a message every roll but I think that might be annoying and spam the player's chat)
    And then the error ones for slot creators like if I give a gamble amount not listed in the config (stated in 3a) it'll just say 'That price doesn't exist!' in red or something. The error messages for ops I don't care about much because players won't actually see them. These should be the only messages players ever see.

    3) A config where I can edit the following:
    a. The different prices I can use (The '<gamble amount>') as well as how much you win for each win type for that price/gamble amount (sorry if that's confusing), so I can set up slots where you spend whatever amount of money and I can configure how much you win depending on the type of win and of course the amount you spent (<gamble amount>). When I say the amount you win I mean the amount you win if you get three of that same type.
    This is pretty much what I'm thinking:
    upload_2019-8-27_20-22-16.png
    Example (This could be the default values if you want?):
    upload_2019-8-27_21-47-28.png
    b. The chances of win types (The chance of each win type/symbol being rolled, in the video it is Cha Ching, Diamond, King, and some other ones). The win type chances are the same for every price/gamble amount. So basically when you click on a sign it rolls 3 times and whatever you get each roll depends on its percentage of it being rolled which is defined here. If you're lucky enough for it to roll the same thing 3 times then you win! In order from common to rare it is: (ChaChing, Diamond, Queen, Governor, Jackpot) Also, I don't know anything about slots if that isn't obvious already so if you have any better name ideas just let me know! (Governor is a reference so I want to keep that :)) To be clear these names don't appear anywhere (besides the config) so the players won't really know what they are, they'll just know the symbols because that's what will show up on the signs.
    c. Each of the win types will also have an option to change their symbol it uses in the sign. (Please let it have color support so I can change the color of the symbol in signs) This will probably be combined with the section above in the config so there's one section to change pricing/gamble amounts, and one to change the win types (which includes chances of winning each one and the symbol for each one).
    What I'm thinking for the config (applies to b and c):
    upload_2019-8-27_21-20-4.png
    Example (again could be used for default value if you want):
    upload_2019-8-27_21-46-15.png
    I'm not sure about these chances either so if you think you have better numbers you can use those for the default.

    The economy plugin I use is Essentials. Also I know this is similar to the one in the video, however, I can't find any public plugin anywhere close to how this one is. It also has some differences like the messages and win types. This is more complex then most other plugins on this forum so please take your time. I will be checking frequently in case there is something I forgot! Thank you so much to anyone willing to give this a shot! :D

    Ideas for commands: /signslots reload - Reloads config

    Ideas for permissions: SignSlots.use.<gamble amount> - Gives a player permission to use that specific gamble amount. So if I have a slot for $25 only players with SignSlots.use.25 will be able to use it.
    Only OPs will be able to create slot signs so I don't need a permission for that :)

    When I'd like it by: August 31, but anytime is extremely appreciated! :D
     

    Attached Files:

  2. Offline

    CraftCreeper6

  3. Offline

    AlwaysAllstar

    I’m not sure why it wouldn’t, sorry about that. If you go to YouTube and look up ‘Minecraft GTA V ep 1’ it should be the first video you see it’s by TheAtlanticCraft. Then skip to 1:16 - 1:59. If that doesn’t work I’ll edit the post tonight with something that’ll hopefully fix the problem.
     
    CraftCreeper6 likes this.
  4. Offline

    KarimAKL

    @CraftCreeper6 Does this link work? The video works for me here, so i thought i would try linking it like this for you.
     
  5. Offline

    CraftCreeper6

    @KarimAKL
    Yeah that works. Says
    HTTP 404 error
    That’s odd...


    Quite strange.

    I have made this. Here you go.

    May still be under approval, but hopefully check back and it'll be approved. I neglected the reload command as I have some troubles with configuration reloading. But hopefully that's not a massive problem. I added some additional features including a range of commands for editing the config on the fly. Any issues, just post them in here or on the Bukkit Dev page.
     
    Last edited: Aug 29, 2019
  6. Offline

    AlwaysAllstar

    Just downloaded it on my server, doesn't seem to have any issues. I'll edit this reply if I find anything. Thank you so much!
     
    Last edited: Aug 29, 2019
  7. Offline

    CraftCreeper6

Thread Status:
Not open for further replies.

Share This Page