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
@graywolf336
Twice, no messages. It even says it loaded the types, and machines (none)
@gabriel11798
Any errors? How many times have you tried?
Latest version failed to generate a config, yes I have Vault and iConomy....
@silentnight18
Advertising your plugin on other plugins comments, kind of rude don't you think?
As for adding other games, I'll let other plugins handle that. This is a CasinoSlot machine type plugin only.
this plugin deserves more downloads
@Steffion
Doesn't explain anything, how? What are the steps to reproduce it.
@graywolf336
Look at the withdraw section! Its not good i think :P! I can dupe my money?
@WingedSpear
Should...still...be....there.... I didn't change any of that code
@PainKNero
Can you create a ticket on github suggesting these things? I've been meaning to do the damage values..
Can I? Great! Thank you!!! Thank you!!! Thank you!!! Thank you!!! Thank you!!! Thank you!!! Thank you!!! Thank you!!! Thank you!!! Thank you!!! Thank you!!! My casino was idle for sooo long!!!
First, thanks to you, that you are raising ancasino from dead to life !
One question: can you make reel ids like 35:1 or so, to make a slotmachine with coloured wool reels ?
the other: can you implement broadcast anouncements like "player xyz has won xx $ " ?
CU,
Nero
@graywolf336
ya i have a suggestion, add the noteblock sound like AnCasino if u Win, was pretty nice, now is sad, u win and nothing happen, just the reward =/, and thats it, the plugin its nice just like this, but add that feature, i miss it
@Timberwolfz7
No problem! Let me know if you have any other problems or suggestions
@graywolf336
Works beautifully!
Thanks for the quick response and fix! :D
@Timberwolfz7
This will have to do, not sure why with the 2.2.0 update that the plugin started loading before all the economy plugins. But this update removes the code that was causing that, the one that makes the [cost] format to one's currency. Here's a link: http://dev.bukkit.org/server-mods/casino-slots/files/7-casino-slots-2-2-5/
I think I may have ran into the workaround you mentioned in the latest change log. I get this error every time I run a version newer than 2.2.0:
[spoiler]21:47:33 [SEVERE] Error occurred while enabling CasinoSlots v2.2.4 (Is it up to
date?)
java.lang.RuntimeException: Essentials API is called before Essentials is loaded
.
at com.earth2me.essentials.api.Economy.format(Economy.java:250)
at net.milkbowl.vault.economy.plugins.Economy_Essentials.format(Economy_
Essentials.java:199)
at com.craftyn.casinoslots.slot.TypeData.getMessages(TypeData.java:183)
at com.craftyn.casinoslots.slot.TypeData.loadType(TypeData.java:92)
at com.craftyn.casinoslots.slot.TypeData.loadTypes(TypeData.java:75)
at com.craftyn.casinoslots.util.ConfigData.load(ConfigData.java:46)
at com.craftyn.casinoslots.CasinoSlots.onEnable(CasinoSlots.java:76)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232
)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)[/spoiler]
I guess Essentials Econ. doesn't like the changes you made. D: Please fix this, I really like the plugin!
EDIT: I'm not sure how to use the spoiler feature :S
@Hangar
Means that that only seems to happen whenever people don't have a singular and a plural name for their currency. That's the only time it happened for me, I tried all the ways that I could think of to get the error and that was the only time it happened.
2.2.4: "A workaround for the Array Out of Bounds, you all should edit your economy's config right."
That's kind of a vague patch note. What does it mean?
@slwsteven12
Yes, or you can go to it now http://dev.bukkit.org/server-mods/casino-slots/files/6-casino-slots-2-2-4/
@graywolf336
Awesome. Sounds good. Just waiting on approval so it is listed then?