Blackjack
Blackjack allows you to play blackjack in Minecraft!
This plugin requires Vault and ImageOnMap.
Features
- Playing blackjack with up to five players at one table without any commands
- The plugin uses maps as card-items
- Inventories are saved and restored after leaving the table
- Changing your stake
- Command to teleport to the next free table
- Automatically generated and protected tables including the dealer
- Setting table limits and minimums
- Command to change the table's blocks or color
- VIP tables
- Adding VIPs via command or permission
- Permissions
- Automatic update check and download (You can disable both individually in the config.)
- Localisation
Video Tutorials
English tutorial by VariationVault
Portuguese tutorial by AbsintoJ
How to play
- Right-click on a free sign with 'New Game' to join the table with the minimum stake.
- Right-click on the face-down card next to the dealer to draw a card.
- You are able to double or split by clicking on one of the two signs.
- If you don't want any more cards, right-click on a block of the table.
- After all players are finished, the dealer draws his cards and the round ends.
- To join the new round right-click on your sign again.
- You can higher and lower your stake step by step by clicking on the sign to the left of the dealer.
Installation and configuration
- 1. Copy "Blackjack.jar" in your server's plugin folder.
- 2. The config.yml will be saved. The options are explained in the file.
- 3. Use "/bj setup" to generate and save the playing cards to new maps.
Do not use or create cards on the whole server while generating!
Your gamemode may change to survival. You cannot die or pickup items until the process is finished.
- 4. After generating the cards, you can create a new blackjack table with "/bj create".
You can create a table with a specific name by typing "/bj create <name>".
You can create a VIP table by typing "/bj createvip (<name>)".
Commands
Player Commands
You can use "/blackjack", "/bj" and "/sbj" to perform Blackjack commands.
/bj help ([page]) - Opens the Blackjack help on the specified page.
(Alias: 'h', '?')
/bj join - Teleports you to the first table with a free seat.
(Alias: 'j')*
/bj teleport [tablenr or tablename] - Teleports you to the specified table.
(Alias: 'tp', 't' or type '/bj [tablename or tablenr]')
/bj stake [stake] - Changes your stake for the next round. You can see your stake in the second line of your sign.
(Alias: 'setstake')
/bj viplist - Displays the VIP list.
(Alias: 'vip', 'vips')
/bj isvip [player] - Checks if a player is VIP.
Admin Commands
/bj reload - Reloads the config and the VIP list.
/bj cleardata - Deletes the data.yml containing all tables.
/bj setup - Downloads the cards when you use the plugin for the first time.
/bj create - Creates a new table named 'Table<nr>'.
/bj create [name] - Creates a new table with the specified name.
/bj createvip ([name]) - Creates a new VIP table named 'Table<nr>' or with the specified name.
(Alias: 'vipcreate', 'viptable')
/bj undo - Undo creating the last table. (Restores all blocks.)
/bj delete - Deletes the table in front of you.
(Alias: 'del','remove','rem')
/bj forcedelete - Forces the deletion of the table in front of you. (If the table is corrupted and the normal deletion fails.)
/bj togglevip ([Tablename]) - Add/Remove VIP status to/from the table you're standing or the table with the specified name.
(Alias: 'toggle', 'viptoggle')
/bj setlimit [limit] - Sets the table limit. Set it to 0 for no limit.
(Alias: 'setmaximum')
/bj setminimum [limit] - Sets the table minimum to the specified value and the table limit to <limit*multiplier>.
/bj color [colorname or colorID] - Colors the table you're standing. The colorIDs are the data values of wool blocks.
(Alias: 'setcolor')
/bj setblock [ID] ([data]) - Sets the ten blocks of the table to the specified block. You can separate ID and data with a ':'.
/bj setwall [ID] ([data]) - Sets the wall behind the table to the specified block. You can separate ID and data with a ':'.
/bj addvip [Player] - Puts the player on the VIP list.
/bj removevip [Player] - Removes the player from the VIP list.
(Alias: 'remvip', 'deletevip', 'delvip')
/bj invclear - Clears your inventory.
/bj getcard [card] ([count]) - Gives you the the specified card. Only use the first letters from the card. E.g. 'HA' (Heart Ace) or 'D8' (Diamond 8 )
/bj restoreall - Restores all player inventories after a crash.
Permissions
Default permissions
- blackjack.play - Permission to play blackjack
- blackjack.stake - Permission to change your stake ("/bj setstake")
- blackjack.teleport - Permission to teleport to a table ("/bj [number]")
- blackjack.viplist - Permission for "/bj vips" and "/bj isvip [Playername]"
Admin permissions
- blackjack.* - All Blackjack permissions
- blackjack.setup - Permission for "/bj setup"
- blackjack.create - Permission for creating normal tables ("/bj create")
- blackjack.delete - Permission for removing tables ("/bj delete")
- blackjack.forcedelete - Forces deleting a table if normal deletion fails. ("/bj forcedelete")
- blackjack.edit - Permission for editing tables ("/bj setlimit", "/bj setmaximum" and "/bj setminimum")
- blackjack.color - Permission to change a table's color ("/bj color")
- blackjack.setblock - Permission to change a table's block IDs and data values ("/bj setblock" and "/bj setwall")
- blackjack.getcard - Permission for "/bj getcard"
- blackjack.invclear - Permission for "/bj invclear"
- blackjack.reload - Permission for "/bj reload"
- blackjack.restoreall - Permission for "/bj restoreall"
- blackjack.vip - Permission to play at VIP-tables
- blackjack.managevips - Permission for managing VIPs ("/bj addvip" and "/bj removevip")
- blackjack.createvip - Permission for creating VIP-tables ("/bj createvip" and "/bj togglevip")
- blackjack.cleardata - Permission to delete the data.yml ("/bj cleardata")
To do
- Adding Spigot compability
Do not destroy or edit any table blocks with WorldEdit or similar plugins!
It will cause corrupted tables and server errors!
Thanks to ZioBlack97 for the Italian translation, you are awesome ;)
Feel free to contact me by PM if you have an idea or if you found a bug.
You can also correct my bad English (I'm German). :D
I want to add more languages to my plugin, it would be nice if someone helps me with the translations. ;)
It would be nice to see my plugin in action on a real server (not my 4-slot plugin test server :D ), so if you use my plugin, you can send me your server IP if you want.
All my work is free, but you can support me if you want.
@Bumblebomb
That would be great :D
I could do a video in English if you want?
No spigot compatibility D: ! Thats .JARisim! Looks like a great plugin though ;)
@FlOppythp
try opening the plugin in winrar and edit it so it is invincible by default
Havent tested this yet, but wouldnt this be cool using emerelads/choosen item as currency instead of virtual money (vault)? it would also be more simple, easier and flexible.
@qq867648970
People win and lose money, that's why you have to install Vault :D
hello author , can you add a function that if people win will get money and fail will lose money?
Hi @all, I fixed a lot of your bugs, maybe everything is working now :D
@FlOppythp
Hi floppy, I think we'll find the error in skype :D I sent you a message.
@MrPumpkin101
cleardata only deletes the saved data, not the tables which are loaded.
The double sign works the same as double in real casinos. You double your stake and get one more card :D
Which economy plugin do you use? I know that sometimes you don't get the exact money, but 0.0001 more or less. I never found out that you don't lose or get any money. Maybe you use an economy plugin I didn't test.
@flow002
Look in the console, maybe you don't have Vault or ImageOnMap :D
This plugin is amazing but, I found a few bugs. I know it's new but I just wanna put them out there so it becomes a lot better.
1. Sometimes the dealer won't take any money or give any or give the wrong amount. 2. When I /bj reload the plugin after a /bj cleardata the tables and still there. When I reload the server the tables are gone. 3. Then the double sign, I believe it's suppose to double your cards but it doesn't. Message me if I'm wrong on this.
Other wise AWESOME plugin! :D It will help my economy a lot.
yes i have essentials and iconomy (for other command) but the folder is not create when the server start. The plugins roulette and casino slot work. I need Blackjack :'(
@flow002
Have you installed Essentials? It use for economy
don't work for me. i have crafbukkit 1.7.9 r01
@fireeagle121
I have absolutely no problems with plugin reviews :D
Of cource can you do one :D
Hey, I was wondering if you would allow us to do a plugin spotlight/review? We will give you full credit and send the link to you once finished. I believe that your plugin is really great.
Thank you, in advanced. -FireEagle
Hi, when i start the server with BlackJack, this hasn't found the plugin Vault, but I have installed it. Bug?
If you want, I will help to do the translate in italian for the plugin and I will do a video tutorial.
Bye.
Never mind I figured it out, I didn't have the updated version of ImageOnMap. Plugin works great thanks! :)
I tried setting up the blackjack table and it downloads all the cards, but when i go to create it, it says i must generate the cards, so i try typing in the /bj setup and it just says that i've already downloaded them?
any suggestions?