Casino Slots
Casino Slots
Casino Slots allows you to easily set up interactive and proper block-based slot machines anywhere in your world. Nearly every aspect of these slot machines can be customized to your needs, including block types, costs and prizes, winning chances and more. The slot machines are compact and elegant, designed to give you large amounts of freedom to sculpt them any way you'd like.
Features
- Animated, block-based slot machines, including audio
- Highly customization
- Tracks statistics
- Costs and prizes supported through practically all economy plugins
- Configurable custom prizes and actions upon winning
- Permissions (superperms)
Commands
For a full list of all commands either go http://dev.bukkit.org/server-mods/casino-slots/pages/info/commands/ or do /casino in game.
Permissions
See http://dev.bukkit.org/server-mods/casino-slots/pages/info/permissions/ for detailed information.
Installation
Just put the CasinoSlots.jar into the server's plugin directory, restart the server (don't /reload), and enjoy.
Note: If you had config files from AnCasino, simple rename AnCasino to CasinoSlots and they'll work.
Configuration
Documentation will be located: http://dev.bukkit.org/server-mods/casino-slots/pages/info/config/ soon
Actions have been defined: http://dev.bukkit.org/server-mods/casino-slots/pages/info/actions/
Video Tutorial
Special thanks to luigi_vampa for making the video!!!
Dependencies
- Vault
- Economy - can be any that are supported by vault
-
View User Profile
-
Send Message
Posted Jul 17, 2012let me clarify at least for my case.
I create the slot machine (want them server created only)
Then when I log out or go port away they will just turn into blocks and the slots won't work anymore. it still saves the slot machine and I can delete it with commands but it won't work anymore for me or anyone else.
-
View User Profile
-
Send Message
Posted Jul 17, 2012@leponder
In the permissions, I don't see the two permissions you're trying to use.
Permissions for this plugin: http://dev.bukkit.org/server-mods/casino-slots/pages/info/permissions/
-
View User Profile
-
Send Message
Posted Jul 17, 2012-
View User Profile
-
Send Message
Posted Jul 15, 2012When i type /casino it says "Displays the Command Guide", none of the commands work. And even after deleting the Folder and jar file, and then putting the jar file back it, and restarting it load our old slots that has slots that are on a world we don't even have, without loading the config ect.
-
View User Profile
-
Send Message
Posted Jul 14, 2012@graywolf336
Almost every time yeah. I wasn't able to replicate it at 100%, closer to 90% but I think it is because the chunks had not unloaded every time.
-
View User Profile
-
Send Message
Posted Jul 14, 2012@finamenon
So, basically they just don't work once it's chunk is loaded and then unloaded?
-
View User Profile
-
Send Message
Posted Jul 14, 2012@graywolf336
No it happens even if the slot isn't being used.
-
View User Profile
-
Send Message
Posted Jul 14, 2012@finamenon
Does the plugin bug only happen when the slot machine is in use and the chunk is unloaded while the slot is being used?
-
View User Profile
-
Send Message
Posted Jul 14, 2012@graywolf336
By default bukkit(or minecraft) unloads a chunk from memory when no one is present or near said chunk for an amount of time unknown to me. When chunks are unloaded, any processes within them freeze. You can notice this if you start a lengthy bout of smelting materials, and log off immediately.
Your plugin bugs the hell out when the chunk the slot machine is in unloads.
-
View User Profile
-
Send Message
Posted Jul 14, 2012@Talaysen
So it's only if the owner of it goes offline?
-
View User Profile
-
Send Message
Posted Jul 14, 2012@graywolf336
It's when the slot machine owner either leaves the chunk (with enough distance for the chunk to unload), or, I believe, when the owner goes offline, the freeze occurs. Any method that keeps the chunk loaded in memory (if you could somehow tie this to the block/chunk that the lottery runs in) will fix this issue.
-
View User Profile
-
Send Message
Posted Jul 13, 2012So, let me get this straight. If you play a slot and leave while it's rolling to a different chunk to where the chunk that has the slot machine is unloaded, the slot machine freezes? Or, how does one go about reproducing this?
-
View User Profile
-
Send Message
Posted Jul 13, 2012same issue with the chunk loading problem.
-
View User Profile
-
Send Message
Posted Jul 13, 2012Summer vacation seems like a convenient excuse to ignore an issue that's been reported for well over a month now. One would think that you're using that solely as an excuse to wait around for someone to fix this for you. If you aren't going to maintain the plugin, pass it off to someone who will, or knows how to.
I found a trick to resolve this problem using the Precious Stones plugin. http://dev.bukkit.org/server-mods/preciousstones/ You can create a PS block with the flag "keep-chunks-loaded", and place it directly underneath the chunk. It will keep the chunk loaded in memory.
Since implementing this, I have not had the slot machine freeze.
Even if you don't want to use Precious Stones for the other block protection options (it's fairly complicated, and can be easily abused), you can disable all of the pre-made blocks, create the one 'keep-chunks-loaded' block, and create a custom permission for it, so no one can use them aside from you.
Any method or plugin that would keep the chunk loaded in memory would stop the issue from occurring. I've seen a few other plugins that are supposed to handle things like keeping chunks loaded, but they seem to perform poorly.
The necessary configuration to use Precious Stones, without using ANY of the other protection blocks, would be: http://pastebin.com/31yBqakj
-
View User Profile
-
Send Message
Posted Jul 12, 2012I want to be able to change the order to stop the roulette on setting Slot type.
The default order, right, middle, left Can be changed left, middle, right .....like this
-
View User Profile
-
Send Message
Posted Jul 12, 2012@graywolf336
I feel a little bit better knowing that graywolf336 is still alive :/
-
View User Profile
-
Send Message
Posted Jul 12, 2012hello i have a probleme when i config something is recome default
-
View User Profile
-
Send Message
Posted Jul 11, 2012@finamenon
No, I'm just on summer vacation. It works fine except supposedly when chunks get unloaded, haven't been home to test and verify.
-
View User Profile
-
Send Message
Posted Jul 11, 2012Has this plugin been abandoned like the last slot plugin?
-
View User Profile
-
Send Message
Posted Jul 9, 2012So, I have a problem. At a random time, or when the owner of a slot logs off, their casino is unusable. The slots don't say anything when you hit them. Please help! Respond quickly! Thank you!