Gambling - Unique and Extremly Fun

Discussion in 'Archived: Plugin Requests' started by CKlang, Jun 19, 2012.

  1. Offline

    CKlang

    Hi there, i've been looking around among other plugins. However I can't find a plugin like the one I'm looking for.

    Simply, the plugin should work like this:

    Player writes /gamle <amount> and by that time the server rolls a dice between 1 and 100 (Should be configurable). If the dice is equal or above 67 (Should be configurable) the player get's the double money back that he bet with <amount>.

    Note; There should be a limit (should be configurable) of how much a player can bet.

    Important;

    • There are three nodes that should be configurable (re-read previous text if you did not find them)
    • There has to be something that checks the player's money before putting a bet, preventing him to bet money that he does not have.
    • Has to work with iConomy
    If there is any plugin coder out there that's willing to make this (doesn't look like a hardcore script) I would really appritiate it! For my server this plugin would come in great use and I would love it to have it as our own custom coded plugin, but I respect if you feel like handing it out to others and making it public.

    Thank you, I hope there's someone out there that finds motivation within this idea.

    Kind Regards, CKlang
     
  2. Offline

    izak12345678910

    What about AnCasino
     
  3. Offline

    CKlang

    Thanks but unfortunatly that plugin is not what I'm looking for.. at all.
    Please read my details of the requested plugin!
     
  4. Offline

    Havefunpeeps

    I would do this, but I don't know how to hook iConomy into a plugin, sorry :(.
     
  5. Offline

    CKlang

    Alright thanks anyway. I'm still hoping to find a saviour! :)

    Please help me out! It should really make a great plugin!

    Coders unite! I really need this plugin! :D

    Help me out people! :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  6. Offline

    Sushi

    There isn't a need to bump a thread 3 times in a day... 6 out of the 7 posts in the thread are made by you.
     
  7. Offline

    PureTurmoil

  8. Offline

    kezz101

    Right I'll do this! It'll be done it about 10-20 minutes...

    I could do this aswell? You want?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  9. Offline

    PureTurmoil

    if u download lonfaces recent that could give u a headstart, i would love ya forever, if u finish join my sevrer, purecraft.mooo.com
     
  10. Offline

    kezz101

    Okie dokie! Make it about 30 mins to add the roll command :)
     
  11. Offline

    Sushi

    I already started writing it after I told him to stop bumping :p It's already written, just need to test.
     
  12. Offline

    kezz101

    Noice! I'm waiting for mine to approve xD
     
  13. Offline

    PureTurmoil

    id be happ to
    id be happy to test on my server
     
  14. Offline

    kezz101

    [quote uid=90688669 name="PureTurmoil" post=1174492]id be happ to
    id be happy to test on my server[/quote]
    I'll PM you the temp download link yah

    Download link: <Edit by Moderator: Redacted mediafire url>
    More info here soon: [ill put the bukkit dev link here soon yah]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2016
  15. Offline

    Sushi

    Here's mine (direct download link).

    It supports superperms, op checking, and major economy plugins including iConomy (I tested it with BOSEconomy, my economy plugin of choice). It is dependent on Vault, so you need to install Vault if you do not have it already in order to use the plugin.

    Permission nodes:
    Code:
    permissions:
      gambler.admin:
        description: Gives access to admin commands.
        default: op
      gambler.gambler:
        description: Given to people who may gamble.
        default: true
    Commands:
    /gambler help - View plugin functions.
    /gambler reload - Reload configuration.
    /gamble <amout> - Gamble a certain amount of money.

    Config:
    Code:
    # The maximum amount of money that a player can bet using /gamble
    max-bet: 1000
    # When the plugin picks a random number between one and the dice roll max, if it is over this threshold, the gambler is considered a winner
    winning-diceroll-threshold: 65
    # Modify the dice roll max in order to choose the extent of random numbers to choose from (for example, by default, it chooses a random number between 1-100
    dicerollmax: 100
    Bukkitdev link

    Also, I plan to actively update this, so if you have any suggestions for more features, just tell me.
     
  16. Offline

    kezz101

  17. Offline

    izak12345678910

    Lol you 2 seem to be having a coding competition with this kezz then sushi then kezz lol and you both made it bukkit dev
     
  18. Offline

    Sushi

    :3
     
  19. Offline

    CKlang

    Thanks alot guys! This really does mean alot to me and will be a true success on my server!

    THANKS! :D

    By the way, Sushi I used your plugin.
    It works just like it should, however if i wish to bet 10 money when i got total of 10 in my account, it says i dont have money for it. I would need atleast 11 money to bet 10.

    Also, would it be able for the response to say "You rolled X" before saying "you lost/won"? It feels more reliable if my customers may see their roll as they win / lose.

    Apart from that, this plugin is magic!
     
  20. Offline

    kezz101

    Mine does all that...
     
  21. Offline

    Sushi

    I added it to the plugin and fixed the money bug. Enable the message in the config using "roll-notification: true".
    We should work together on one plugin instead of having a passive aggressive gambling plugin war and make one sexy plugin with lucrative ~gambling features~. :v
     
  22. Offline

    CKlang

    Where will you post the new update? :)
     
  23. Offline

    Sushi

    Oh sorry, you can download it here.
     
  24. Offline

    kezz101

    Sounds like a plan! PM'ed :)
     
  25. Offline

    CKlang

    It looks good Sushi! I've got another thing to ask about the new stuff though.

    Currently, I get 4 lines of text when i gamble which i think is a bit messy. Would it be possible to merge the 3 first lines, instead of saying "X has been removed, betting..." "you rolled X out of Z" and "You need to roll more than X to win", could it just be one line saying "You bet X and roll X out of Z. You need atleast X to win."
    Then "Too Bad! You lost X money!" or "Contratulations! You have won X money!
     
  26. Offline

    Sushi

    I made the message less cluttered. Download here.
     
  27. Offline

    CKlang

    I really appritiate your work for me, however I still think its too cluttered. Would it be able to turn the messages to editable strings? It would be really cool if the server could modify the messages and add color to them, making it more attractive to other players!
     

Share This Page