1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Casino Crash

Discussion in 'Requests' started by Cupex, Feb 26, 2022.

  1. Cupex

    Cupex Member

    Joined:
    Feb 16, 2020
    Messages:
    42
    Likes Received:
    1
    Category: Casino

    Suggested name: crash.sk

    Spigot/Skript Version: Spigot: paper 1.18.1 / Skript: 2.6.1

    What I want:
    I need a crash system (not to crash players) but a casino crash system that should work as follows.

    With the command /crash bet (how much money you want to bet) you join the round. With the command /crash setholo a hologram is created which stays there until you remove it with /crash removeholo. This should indicate when the next round starts (15 seconds interval per round)



    Here's an example (that's german)

    upload_2022-2-26_19-18-31.png

    When the round starts, the hologram switches to the multiplier, which starts at 1 and gets higher (1,01; 1,02; 1,03;1,04;1,05;1,06;1,07;1,08;1,09;1,10;1,11;1,12;1,13;1,14; etc.) and faster. At a random point, the multiplier "crashes" and you can no longer pay out your bet.
    While the multiplier keeps going up, you can always cash out your bet with /crash auszahlen. Once you've executed this command, you can no longer execute it.

    Here is another example (also in german)
    upload_2022-2-26_19-19-37.png

    After the multiplier has crashed, you can no longer execute the command and you do not get your bet back.
    upload_2022-2-26_19-19-46.png

    After 3 seconds the hologram will switch back to the 15 second countdown and you can rejoin with /crash bet.




    Ideas for commands:
    /crash bet (money) (only works when the round is not started)
    /crash auszahlen (only works when the round started)
    /crash setholo (for admins)


    Ideas for permissions:
    admin.setholo


    When I'd like it by: As soon as someone has time to do it.
     
  2. 54ztrgtrttrh

    54ztrgtrttrh Member

    Joined:
    Feb 19, 2022
    Messages:
    1
    Likes Received:
    0
    what is that?
     

Share This Page

Loading...