[FUN] BlackJack 1.8 - Wanna play blackjack? (iConomy, Permissions) [1060]

Discussion in 'Inactive/Unsupported Plugins' started by xeror, Apr 21, 2011.

  1. Offline

    xeror

    BlackJack - play for fun:
    Stable version: 1.8 (14.6.2011, supports Bukkit[960])
    EXPERIMENTAL version: (16.6.2011, supports Bukkit[1060])
    Last topic edit: 11.10.2011

    DEVELOPMENT PAUSED

    This plugin can use: iConomy v5 & Permissions v3(node BlackJack.use)

    Its just a simple plugin for playing BlackJack with iConomy money or with some items.

    Commands:
    Show Spoiler

    /bjack game [bet] - deal card to you & begin game (same: /bjack g)
    /bjack hit - deal next cards to you (same: /bjack h)
    /bjack stand - ends your turn (same: /bjack s)
    /bjack double - doubles bet, takes one more card and ends turn (same: /bjack db)
    /bjack split - splits cards to two hands (same /bjack sp
    iConomy commands:
    /bjack checkin [value] - transfers money from iConomy account to your game account (same: /bjack ci)
    /bjack checkout - transfers all money from your game account back to iConomy account (same: /bjack co)
    Non-iConomy commands:
    /bjack exchangecredit - exchanges item stack in your hand to credits, if it's possible (same: /bjack ec)
    /bjack exchangeitem [item name] - exchanges all credits to items, if it's possible (same: /bjack ei)

    Downloads:
    Show Spoiler

    Changelog:

    Version 1.8
    • Main config file fix
    • Permissions(v3) support
    • Possibility to play BlackJack without iConomy(v5)
    • Color prefixes for cards
    Show Spoiler

    Version 1.7
    • Code for split fix
    • Config file fix
    • Winning conditions fix
    • iConomy v5 only support
    • Custom odd on BlackJack combination (default 3:2)
    • Rule: Dealer wins after player have more then 21
    Version 1.6
    • You can now split same cards in second round to two hands
    • New shortcommands system (/hit equals /bjack hit)
    • Training game fix
    Version 1.59
    • External config file fix
    • Code optimalization
    • Alpha source code published
    • New commands list
    Version 1.5
    • After double player takes one more card and holds
    • External config file for limiting bets
    Version 1.4
    • Blackjack rule "Dealer wins a tie" removed
    • You can now double your bet in the first round
    Version 1.3
    • PlayerQuit event fix (if player leave game with game in progress he lose his bet)
    • One easter egg ;)
    Version 1.2
    • Credit add after win fix
    Version 1.1
    • Win conditions fix
    • Connected with iConomy
    • Some protections...
    Version 1.0
    • First release

    Planned features:
    Show Spoiler


    • BOSEconomy support (complete, included in experimental version)
    • Player VS player games
    • Stats
    • Better exchange system
    • Posibility to turn of tips
    • Minor changes in BlackJack system (i know lot of bugs...)
    • Signs interface (it freaking hard to code)
    Any more ideas?
     
    Wozzlegummich, Samkio and kahlilnc like this.
  2. Offline

    xeror

    new vers released report me errors ...
     
  3. Offline

    said

    17:02:16 [INFO] [BlackJack] said123 used command: [bjack, checkin, 1]
    17:02:16 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bjac
    k' in plugin BlackJack v1.6
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    55)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:675)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:638)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:632)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at BlackJack.BlackJack.checkIn(BlackJack.java:422)
    at BlackJack.BlackJack.onCommand(BlackJack.java:156)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 15 more
    >

    What now ?
    I use Essential with WG,WE,Iconomy,IconomyChestshop and Groupmanager
    I can play the test mod but i want play with credits then i want to buy credits it cames the error that i should look at the console.Sorry for my maybe bad englisch :)
     
  4. Offline

    xeror

    what iConomy version u have?
     
  5. Offline

    said

    iConomy 5
     
  6. Offline

    xeror

    yea that's it ... v1.6 is for 4.x iConomy only ... 1.7 will be for iConomy 5.x
     
  7. Offline

    said

    ok thanks for the reply :)
     
  8. Offline

    xeror

    ok after a few hours of testing -.- I released new version (now with iConomy v5), enjoy it && report me any bugs
     
  9. Offline

    pyros

    First off, I love this plugin
    However ive found that the maxbuyin setting does nothing to the limit on the amount you can checkin (and if this isnt meant to be that setting, you should definitely add that - adding 5000 10 times for a 50000 bet is a pain)

    Also:
    The plugin prints the message $player "lose" $amount in black jack rather than "lost"
     
  10. Offline

    xeror

    pyros: yes I found that config bug (I'm trying to fix it but ... I don't know where is it ..), u r right thx for tip

    to others: I have some problems at school now (exam period)... so be patient

    EDIT: pyros: try experimental version, I fixed max min bet values ... however announcements are still off :/

    EDIT2: config file fixed ... I hope
     
  11. Offline

    s1ck3st

    Hello!

    Very nice plugin!!! Let's get ready to gaaaaaaaaaaambleeeeee :D

    I just have one request:
    Is it possible to release the command hints from bin and instead putting them into config file (e.g. the command hints after "Game begins!")! Beacause I don't want the users to mess around with console commands! for keeping everything stupid, clean and easy all console commands are hooked up to levers, buttons, etc. with triggerCmds so I'd like to make some different BlackJack-machines with given checkin amount and also given pay-per-play amount!
    So for me I'd like to delete the command hints 'cos the attached button signs make it self-explanatory and that will make it look more clean :)

    For a clear view it would also be great to put a possibility for card's color prefixes in the config file :D

    thanx for your great plugin & have a nice day
     
  12. Offline

    xeror

    s1ck3st: I'll think about it, color prefixes? :D wow it's a chalenge
     
  13. Offline

    s1ck3st

    cool!
    you could also just change the card's color from the greenish to something different :D
     
  14. Offline

    Plague

    NEVER use a plus sign in CB version, keep the thread updated to latest RB
     
    Samkio likes this.
  15. Offline

    xeror

    ok sorry
     
  16. Offline

    xeror

    There is v1.8RC1, please try it and report me any bugs
     
  17. Offline

    xeror

    v1.8 is out
     
    s1ck3st likes this.
  18. Offline

    s1ck3st

    Yeah! plugin rocks!
     
  19. Offline

    llvllortal

    where is permissions note ???? sorry for myn bad english
     
  20. Offline

    xeror

    Sry i forgot ... :D its BlackJack.use
     
  21. Offline

    llvllortal

    thanx good plugin sorry for myn bad englis im belgian héhé :p good job man
     
  22. Offline

    flea1777

    would it be possible to support BOSEconomy?
     
  23. Offline

    xeror

    I'll check BOSEconomy API and I'll see

    EDIT: Ok, BOSEconomy support ready, check experimental version
     
  24. Offline

    alfskan

    I love it!!
    Great!
    But Please see us Dealer`s Upcard! <- This is the basic of blackjack

    Anyway, Do you have a plan to make another plugin?
    I wanna BACCARA!
    Please Please Plesae! XD
     
  25. Offline

    xeror

    lol, maybe. But I'm a little bit busy now, Math exams...
     
  26. Offline

    alfskan

    Im still waiting for your update!
     
  27. Offline

    xeror

    Do not be upset now, as I said I now have terribly little time because of exams.

    BTW: How do you mean Dealer's upcard?
     
  28. Offline

    shavid

    Be great to limit this to a specific area.
     
  29. Offline

    FlyBoy619

    Is there a way to change the item because i cant seem to find out how to cash it in for something like a goldbar i can only cash it in for a diamond priced at 1250. please help
     
  30. Offline

    xeror

    FlyBoy619: Umm really? I thought it can be changed in exchange.yml, but I'll check it. Thanks for a tip.
     
  31. Offline

    alfskan

Share This Page