Sign Casino
Sign Casino
Version 1.5.2 is out now!!!
(Download may be delayed due to approval time)
Dependencies [Vault]
Sign Casino is a fully automated interaction system for Casino games, all through sign interations.
Right now the only working games are Slot Machines and Blackjack, but there is more to come!
Slot Machines
The Slot Machine is first of many Casino Games to come to Sign Casino. First off there are 2 types of Slots, player owned, and server owned. Player owned Slots are created by placing a sign with [Slots] on the first line, and the amount of the roll on the 2nd (Picture to come), and optionally place the initial deposit amount on the third line.Player owned slots need to have money put into them by the owner in order for them to work, you can do this by doing /slots deposit <amount> and then left-clicking the sign or placing the amount on the third line during initial sign creation.
The second kind of Slot is the server owned Slot (my preference). To create this Slot, put [Slotss] on the first line and the amount per roll on the second, and that's it! These signs don't need any money to be in the machine and work automatically.
Blackjack
Much like its counterpart Slot Machines, Blackjack is created in the same fashion by placing [Blackjack] on the first line to create a player-owned Blackjack Table, and [Blackjacks] on the first line to create a server-owned Blackjack Table. Optionally, you can place an initial deposit amount on line two for player-owned Tables, just like in Slot Machines. You can also optionally place a max bet value on the third line when creating a Table to set the max bet of that Table, if no value is found, it will default to your config option. Other than that, the Blackjack Table functions a lot like its Slot Machine counterpart.
Commands
Slots
- /slots info - This command shows info about the Slot Machine like roll count, owner, etc.
- /slots withdraw <amount> - This command will take the designated amount from a player owned Slot Machine.
- /slots deposit <amount> - This command will put in the designated amount to a player owned Slot Machine.
- /slots save - This command will save all data.
- /slots load - This command will load all data.
Blackjack
- /blackjack info - This command shows info about the Blackjack Table like hands played, owner, etc.
- /blackjack withdraw <amount> - This command will take the designated amount from a player owned Blackjack Table.
- /blackjack deposit <amount> - This command will put in the designated amount to a player owned Blackjack Table.
- /blackjack save - This command will save all data.
- /blackjack load - This command will load all data.
For more information on how to play Blackjack, here the Wiki here!
Current Features
Slots
- Right-click to roll a Slot Machine!
- Fully configurable roll options, names, amount, chance, letter abbrivs. etc.
- Configurable options for roll-speeds, money multipiers, partial-wins, and saving options.
- Permissions for almost all commands.
- Unlimited number of Slot Machines!
Blackjack
- Right-click to join the Blackjack Table!
- Left-click while betting to raise your current bet.
- Fully configurable options like, bet increments and max bet per table.
- Configurable options for default max bets, bet increments, and saving options.
- Permissions for almost all commands.
- Unlimited number of Blackjack Tables!
Planned Features
- Code Cleanup.
- Other Casino Games.
- Allow other players to make their own Roll Options System via ingame commands.
- Suggestions from players.
Change Log
Version 1.5 : 9/30/2012
- Minor visual updates, nothing major.
- Money payouts will work on all machines as long as you are not in Link to Account mode.
- Updated to CB 1.3.2-R1.0
Version 1.4.1 : 7/20/2012
- Fixed Server Blackjack Tables from not paying out money. Sorry!
Version 1.4 : 7/13/2012
- Fixed Issue when creating Blackjack Tables without permission would not destroy the Sign.
- Changed some coloring with Blackjack Tables to make total values more apparently readable.
- Fixed a bug where players could re-access multiple tables by going through another tables sequence twice.
- Fixed issue with money always being deposited into the machine, regardless of LinkedToAccounts Mode, if this mode is true, money will now properly go right to a players account.
- Fixed all remaining bugs dealing with LinkedToAccounts Mode, (Hopefully).
- Updated to CB 1.2.5 R4.
Version 1.3 : 6/26/2012
- First attempt at fixing the issue with Blackjack signs failing to update after an unknown issue.
Version 1.2 : 5/12/2012
- Fixed a Major Bug with Blackjack Tables throwing NPE Errors on Player Movements! Sorry this took so long to fix, I had to wait quite some time for someone to provide the actual error from the log as I could not recreate the error given the very bad reports of the error =)
Version 1.1 : 5/2/2012
- *NEW* I am happy to announce the addition of Blackjack to the Sign Casino! More on how to make and use Blackjack will be in the Wiki, which I am typing out right now!!
- Many fixes to loopholes/exploits/breaks in Slot Machines.
- Code Cleanup and some Transitions on Slot Machines to using a Casino-Core for more games.
Version 1.0.3 : 4/26/2012
- Changed the way Slot Machines are created/destroyed. Now to create the Slot Machine, all you do is place the sign with [Slots] for a player owned Machine or [Slotss] for a server owned machine on the first line, the cost on the second line.
- Now to delete a Slot Machine, just break the sign.
- Added feature upon creating a player owned Slot Machine, you can enter in a starting amount you want deposited into the machine on the third line.
- Added linked-to-accounts feature. This allows player-owned Slot Machines to be directly linked to players Economy accounts.
- Added feature so upon removing a machine, it will automatically deposit the remaining money into it's Owners account.
- Fixed the Slot display when rolling to not shift as much.
- Fixed Displays on Slot Machines when using non int values.
- Fixed negative deposit/withdraw dupes.
Version 1.0.2 : 4/24/2012
- Added feature so that players may only roll one Slot Machine at a time.
- Added feature to the rolling looks a lot cooler.
- Cleaned up the save/load code so Slot Machines are never missed, respectively.
Version 1.0: 4/13/2012
- Initial Release.
Notable Bugs
- Upon roll, the line with the rolls shifts to the left. Plugin still works, just visually buggy. =)
- If Slots are on worlds that are not defaulted, or the world is not loaded in before Sign Casino loads, the slot will error out.
- Sometimes Sign text will vanish on Blackjack tables, the Table still functions but text does not update.
Permissions!
Slots
- sc.admin - This permission gives access to all Sign Casino Plugins.
- sc.slots.create - This permission gives power to create Slots. Defaults Op
- sc.slots.createserver - This permission gives power to create server Slots. Defaults Op
- sc.slots.delete - This permission gives power to destroy Slots. Defaults Op
- sc.slots.info - This permission allows palyers to use the slots info command. Defaults All
- sc.slots.withdraw - This permission allows players to withdraw money from Slots. Defaults Op
- sc.slots.deposit - This permission allows players to deposit money to Slots. Defaults Op
Blackjack
- sc.blackjack.create - This permission gives power to create Tables. Defaults Op
- sc.blackjack.createserver - This permission gives power to create server Tables. Defaults Op
- sc.blackjack.delete - This permission gives power to destroy Tables. Defaults Op
- sc.blackjack.info - This permission allows palyers to use the blackjack table info command. Defaults All
- sc.blackjack.withdraw - This permission allows players to withdraw money from Tables. Defaults Op
- sc.blackjack.deposit - This permission allows players to deposit money to Tables. Defaults Op
Reporting Bugs/Issues
When Reporting An Issue, Please Do The Following
- Your Craftbukkit version.
- Current version of the Plugin.
- Describe the exact situation in which the issue occured (listing all applicable info, names, what sign reads, etc etc)
- Copy/Paste the error from the Console Log.
Installation and Help
- Extract the Games from the .zip file.
- Drop SC_Slots.jar and SC_Blackjack.jar into /plugins directory.
- Reload your plugins.
- Enjoy!
- Wiki Page!
How To Use Video (By Samkio and xTorrent)
http://www.youtube.com/watch?v=tPQpR8WH8W0
Donations
Happy with my work? Want to help out? Want to encourage more Sign Based plugins?
Feel Free To Donate!
@mspaulding86
I am having a similar problem. When I place a sign like; [Slotss] 10 Nothing happens. It allows me to write it, but it is not applying to the plugin. And yes, I do have both Jar files needed.
Still a huge problem with Server-Owner Blackjack. It doesn't pay out.
I do [Blackjacks], but when I win, it says I won "200 dollars" or whatever, and it still took my original bet of 100 without giving me the 200.
I am OP on my server and it says I can't create the sign when I do [Slotss] with value of 10. This is the error it is kicking back to me...
http:pastebin.com/AhG0UFFV
Note that I use Grief Prevention, Essentials, bPermissions, and WorldBorder. Hope this helps.
I am using the 1.5 version of your Plugin and I am using the most recent Reccommended Build for CraftBukkit 1.3.2-R1.0.
Thanks.
UPDATE *** I think it is conflicting with ChestShop v3.46 [http://dev.bukkit.org/server-mods/chestshop/] Here is the pastebin for the ChestShop conflict http:pastebin.com/kdvNRYnE
I am pretty sure it is because the first line of the BlackJack table is [Blackjacks] and ChestShop uses the first line to name stores.
Again,
Thanks!
I've had no problems on CB1.3.2 R1.0 with Sign Casino 1.5
Just some suggestions:
that's it, and thank you for this awesome plugin.
My World guard is totally not working after installing Sign Casino. It says region exists but not protecting?
http://dev.bukkit.org/profiles/finamenon/ Hmm strange, im running it on my server, and not only i, but even my moderators are able to play the slots and win prices, and they gain the money too. But i havent tested the blackjack yet though, so cant answer for that.
Silly question, but do you have Vault too? Its needed to run this plugin.
http://dev.bukkit.org/profiles/RealDopey/ Yeah, the author prolly abandoned it =(
@Peiinz
Wish you were right, but bugs plenty and not a word from the author. Being an owner of several slots and blackjack tabes on my server, I am no longer able to access info from them despite having permission nodes.
I really hope he returns to updating this.
No its not abandoned, and its still working, im running it now on my own server with version 1.3.2.
Steps:
Download these two:
Sign Casino v1.4.1 for CB 1.2.5-R4.0 Jul 20, 2012 - This one contains BlackJack only.
AND
Sign Casino v1.4 for CB 1.2.5-R4.0 Jul 13, 2012 - This one contains BlackJack and Slots but extract Slots ONLY!
Put them in your "plugin" folder.
Run the server. Done. Cheers!
I had the same problem as DoctorBoyd below. Changing the "chance" values in the rolls.yml file causes the error message he mentioned below and locks up the machine with numbers spinning and the player is locked out of playing any other machines, even after the machine is destroyed.
is this plugin dead?
@BustaCraft
The 1.4.1 download comes only with an improved blackjack.jar. Both the blackjack and slot .jars are zipped in the v1.4 download.
If you already have both .jars could it be your permissions?
Just got this plugin. Looks cool. Only problems I have is that the Slots sign doesn't work. Blackjack works fine. Any help? The Slots sign doesn't create, its like it was never supposed to.
When trying to break a blackjack table with the permission 'sc.blackjack.delete', this error comes up
http://pastebin.com/SabjvfCR
Using a slot machine during a restart makes this pop up in the console:
http://pastebin.com/x1wCPrv6
Everyone gets kicked and the restart is interrupted. When people rejoin the slot signs are malfunctioning, requiring a restart with no slots being used.
Using v1.4.1 and CB 1.3.1 RB 2340
@DoctorBoyd
I get the same issue, but I need to have custom payouts because my gold based economy had a market crash when the default settings were on. Ive found a good balance now. Is there any other workaround for this?
Great plugin. I read that "There was no roll to match the random value, so the machine stopped. You've been refunded your money." is a fail safe feature.
Is there a way to turn this off? It keeps happening after a few tests.
EDIT: It happens first spin now after restarting the server. I tried deleting the signs and remaking them but it still happens. I'm using craftbukkit 1.3.1-R1.0 RB with slots version 1.4 and blackjack v1.4.1. I haven't tested the blackjack yet.
EDIT2: The problem stopped and the slots played fine when I set the roll chances back to default. Changing the pay works and doesn't cause the slots to freeze up.
Is this plugin still alive? What's with the SC_BlackJack being the only jar in 1.4.1 - where's Slots?
BTW, version 1.4 still has the bug: if a player who hasn't proper permission tries to put a sign with [Slots] on the first line, the plugin writes "You don't have permission to create this game" -> but the empty sign stays on the wall and we get tons of these:
So, the bug is NOT fixed yet.
SOME ONE HELP!
I roll mys lots then it will say "There was no roll to match the random value, so the machine stopped. You've been refunded your money"
Then when i try another slot it will say you are all ready rolling a slot!
Thank you
Have you seen the ultimate poker plugin by the way? I'd love to see what could happen if you and the author of that got together. The multiplayer functionality of his plugin with the sheer usability and ease that you've built into the blackjack's sign interface... I can imagine it being greater than the sum of its parts!
plz add both plugins to ur zip file for download again,
R: Sign Casino v1.4.1 for CB 1.2.5-R4.0 Jul 20, 2012
SC_Blackjack.jar
SC_Slots.jar