UltimateCards
Introduction
Play Poker and Blackjack in Minecraft!
This is a plugin that allows you to play sleek, automated card games, in Minecraft. It is an extremely easy to use plugin, and very convenient for users. It includes some cunning features, such as on-screen GUI (without any additional client mods or spout!), extensive configuration and customization, and more. It currently has support for Texas Hold'em Poker and Blackjack.
The only requirements for this plugin are:
- Vault
- An economy system supported by Vault, doesn't matter which. Tested on iConomy 6.
Links
DOWNLOAD
HOW TO INSTALL & PLAY
COMMANDS
FEATURES
PERMISSIONS
CONFIGURATION FILE
CHANGELOG
HOW TO REPORT BUGS
SOURCE
MCSTATS
Images
On-Screen GUI
Videos
Recent
Outdated
Privacy Disclaimer
This plugin sends anonymous usage data (such as amount of players currently on your server) to http://mcstats.org/plugin/UltimateCards. No server can be identified, usage reports are fully anonymous. You can opt-out in plugins/PluginMetrics/config.yml on your server directory (set opt-out to true).
An auto-update feature also exists. If you do not wish for the plugin to check for and automatically download updates, you can opt-out in plugins/UltimateCards/config.yml on your server directory (set autoUpdate to false).
@Norbo11
Almost. When all players use "/cards stand" and end a game before it's over, when you try to rejoin it will say the game is in session. Even after checking no players are in according to the plugin. At this point, it also says it can't be edited while in showdown.
I've even re installed the plugin to see if that would fix things with no luck.
@MURD3RUS
Interesting. You mean when the game is at showdown and has already ended and you don't want to keep on playing, it will hang?
Is it possible for me to see this on your server or whenever you have time to help me reproduce it? It seems very strange.
@Norbo11
Awesome! Glad you liked the idea, and even more glad you'll be implementing it hopefully!
I have a separate question though. Whenever players use "/cards stand" and all players leave a game, the game will hang on the "showdown" and won't let anyone join/buy-in. Whenever this happens I also get an error in console. Something along the lines of "java.lang.ArrayIndexOutOfBoundsException: -1" Any clue what that's about?
@MURD3RUS
Hi, first of all thanks a lot for your detailed comment/request. I always appreciate when people that actually want something done to a plugin, take their time to reach out and concisely present their ideas instead of screaming in the comment box.
1) The plugin doesn't kick for logging out, for a reason. It would be very annoying to lose a hand due to a disconnect, or simply misclicking in the menu, etc. If a player was to leave and never come back, the kick command is there exactly for that use.
2) For AFK it's the same thing. You need to kick people that grief your poker games. However, I have just realised one important thing which I completely missed.. in terms of saved tables (that are supposed to be played even when the owner isn't present), kicking isn't always possible, and I'm glad you brought this to my attention. That moves us on to the next point...
3) I really like your turnClock idea, I can't believe I haven't made this into a feature! It's so obvious but I completely missed it. When I get some time during this week, I will definitely implement this and roll out an update. In terms of sitRange, I actually had something like this before and removed it, but with the new turnClock it shouldn't be necessary. Maybe I can also make players "sit out" if they miss a turn, and sitting out for too long causes you to be kicked or something.
I'm glad you enjoy the plugin and I can see now that these problems you're having are pretty legitimate. I'll hopefully resolve them soon ;)
Plugin doesn't kick players from a poker game if the player logs out, resulting in the game being hung up until the player logs back on, I restart the server, or the table owner kicks the player. Another really annoying aspect is when a player goes afk in a game. Has the same effect as them just logging out. No way to progress unless player comes back (however long that may be), I restart server, or table owner kicks the player.
One last thing that's causing me pains is that a player can join a match, and then go back to doing whatever they were doing before. Once again causing another stop-up on any game that may have been in progress.
Two things that I've thought of that would fix all of these issues and make this plugin a real masterpiece...
1. Add a "turnClock" with a config option: Much like the autoStart setting, but a different clock instead for each players' turns. e.g.: Set the option in config to 120 seconds. Each player gets 120 seconds to take their turn. If they fail to do so, they will check if possible, or fold if they must call. This addition to your plugin would make it so matches can't get held-up indefinitely by afk's or logouts.
THE 2ND IS NOT NECESSARY IF THE FIRST HAS BEEN DONE, BUT WOULD STILL BE IDEAL/NICE TO HAVE
2. Add a "sitRange" with a config option: This variable would would allow players to join a match only once they are within a set amount of blocks away from the table, and/or make it so if they leave this area they will automatically run a "/cards stand" command. This would ensure players could not join a game then leave the area simply to hold-up/grief a game. (This same outcome could potentially be accomplished by adding a "stand/leaveWarp" option, allowing the tables creator to designate an area that a player leaving the match will teleport to. Although, in order to make this work correctly, every table would have to be in an enclosed room with only "/cards sit" giving access to entry. )
PLEASE, OH PLEASE, HEED MY CALL! Let me know if these additions sound do-able, and I'd be glad to throw a few bucks your way if you added some sort of fix for the problems I'm noting. This plugin is a great piece of work, and I would really love to see something along the lines of these things done to it. Unfortunately, until these things are "fixed," my poker games just keep getting frozen by players falling asleep or being annoyances until I restart the server (which is sometimes days). At this rate, it's almost not worth even having it installed. I can almost guarantee that a fix to these problems would put this plugin on the map, making it an excellent addition to almost any server! Can't wait to hear back!
Version 1.3.3
@bobbensun
I am sure that everything you are requesting can be done with another plugin.
Lookup "CommandSigns" or something like that.. and disabling the plugin in specific worlds should be a simple setting in your Permissions system.
Is it possible to put the Tables on a sign, so players don't have to type any commands ? Along with that, possibility to add all table data on the sign upon creation
Is it possible to disable the plugin in specific worlds ?
ha.. this is really cool
@Norbo11
Would be perfect for the BJ tables. Would love to see this. :)
Version 1.3.2
@RiotShielder @ArgonathRPG
The plugin won't let you start a poker game until there are at least 2 people sitting down with amounts greater than the big blind.
So if the big blind is 1000 and there are 3 people sitting down. If two of them have less than 1000 chips, you will get the "Less than 2 non-eliminated Left, Cannot start table!" message. As soon as one of these players does /cards rebuy xxx in order to cover at least the big blind, the game will be able to begin.
Since both of you are reporting this error it makes me think that it was some kind of error with the plugin.. but I just tested it myself and everything works fine. I will upload the latest version though as I just realised my previous update was declined due to a change in the Updater I am using.
@Kurusca
I used to have a house option in BJ, I removed it thought as it made things a bit messy... I might reconsider.
For poker this would be impossible though, as you can't play poker against a "house".. unless I code in some kind of poker AI which I don't have the time or the programming ability for.
@ArgonathRPG
I am re-uploading it now. It will show up in a couple of days, once BukkitDev approves it.
Any chance of making it so there is a "house" player controlled by AI? That way a single player can sit down and play blackjack or poker against a house account configured to hook into vault?
Hey I've finally worked this plugin.. I must say Blackjack works great!!.. Downside is Poker I can't seem to work.. When I start a table it doesn't show me in the player status or any players that do /cards join 2.. When I start it says Less than 2 non-eliminated Left, Cannot start table!
Feel free to try it on my server IP: play.argo-mc.com I really want to get poker working... BJ works great :)
I can't seem to find the version 1.3.2 download of this plugin any help/suggestions?
@Norbo11
I haven't touched the poker part of the config. My min buy in is 1K
We have an issue where if a player gets eliminated from Texas Hold'em, and then does not buy in before the next hand starts, the next hand will hang at the player sitting to his (right?), in the game. Perhaps the game thinks the player still exists?
By hang I mean that, players can bet/check and the game will respond that the player has done the action, but nothing will happen. The player can fold just fine, but then if he had a good hand, it's not really fair..
@RiotShielder
Your blinds are higher than what each person is buying in for.
Try to lower the blinds or buy in with a higher amount.
This isn't working for me. Using the latest version. I create a table and have someone join it, after I try to use /table start, it says "Less than 2 non-eliminated left, cannot start table!"
Version 1.3.2