AnCasino
Description | Configuration | Customization | Video | Pictures | Forum thread
AnCasino
In all my time of playing Minecraft I have seen a great many things. But I have never seen any proper slot machines. Troubled at this fact, I set out to put together the definite plugin for all your gambling needs, all in the comfort of your own Minecraft server.
AnCasino 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.
Beta
Want to help test the upcoming rewrite of AnCasino? Head over to the beta page for downloads and more information!
Features
- Animated, block-based slot machines, including audio
- Highly customizable
- Tracks statistics
- Costs and prizes supported through practically all economy plugins
- Configurable custom prizes and actions upon winning
- Permissions (superperms)
Video
AnCasino plugin introduction video
Commands
- /casino add <name> (<type>) - add a new slot machine of the (optionally) specified type
- /casino edit - edit slot machines and types
- /casino list - list all existing slot machines
- /casino reload - reload the configuration file from disk
- /casino remove <name> - remove a slot machine
- /casino stats - view global usage statistics (if recorded)
- /casino types - type management
Permissions
- ancasino.use - Allows you to use all slot machine types
- ancasino.use.<type> - Required to use a specific type
- ancasino.create - Allows for player-creation of slot machines
- ancasino.manage - Allows for creation of managed slot machines
- ancasino.admin - Everything else
Usage
Follow the command guide above to set up your first slot machine. When creating a slot machine, you will define a control block with which the slot machine is controlled. Punch this block to play the slots, and right click it for more information. Players with the ancasino.admin permission node will see usage statistics upon right-click, while users without will see your custom help text.
Upon punching, the player will be deducted the play-cost and the slots will spin. Achieve 3 in a horizontal row to win the price! Prizes are dispensed depending on the winning block and your custom configuration, as well as a hearty victory fanfare should you win.
Installation
Simply drop AnCasino.jar in your server's plugin directory. Config files will be automatically generated upon server reload. Make sure to also fulfill dependencies outlined below.
Configuration
See the configuration page for more information about the config file, and the customization page for a more detailed tutorial on customizing your slot machines.
Dependencies
Depends on Vault for permissions and economy support. An economy plugin of your choice is also required.
Source Code
Donations
Should you wish to tip this humble maker of casinos, you will find a 'Donate' button in the top right of your screen, just above the search bar.
Hey great plugin, but I am not able to make a custom slot-machine type and the preset (default) winnings are too high for my server. I was hoping if you could give me some advise or help!
Is it possible to give rewards in items rather than money if it is how if not please add!
For those who see this later, I've started a new project so that I can official maintain the plugin. It's under a new name because of how things have to be handled, so visit http://dev.bukkit.org/server-mods/casino-slots/ :)
A literal update of the plugin: Link Removed: http://www.mediafire.com/?t0bapbj7gk0zccq Works with 1.2.5 (or 1.1-R6 +)
Also, someone's continuation of it: http://dev.bukkit.org/server-mods/casino-slots/
@Valentiniuss
I'll update it right now
When will an update of this wonderfulllllll plugin ?! :D
Hello i get an error! 17:13:54 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.slot.game.ResultsTask$6.run(ResultsTask.java:178) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:517) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Please Fix! (no note block sound!)
EDIT: Sorry i need to download Casino Slots!!! SORRY!
Hello! Does this awesome plugin work with 1.2.5?
can you update this to 1.2.4?
For those who see this later, I've started a new project so that I can official maintain the plugin. It's under a new name because of how things have to be handled, so visit http://dev.bukkit.org/server-mods/casino-slots/ :)
If you get any errors while running my version of it, please submit them to: https://github.com/graywolf336/AnCasino/issues
@TheCardGhost
Go to the link deathnote1029 gave below to my github.com, I have forked what he had and have fixed many different bugs. It works fine on my server, we run many at a time with 25+ users on at night - so yes it works on 1.2.4.
@deathnote1029
Thanks :) I hope to get an official project page but I've yet to contact the bukkit dev staff about it.
I have not been working on it, but the link i gave you is from graywolf, i use the ancasino211, graywolf has been working on it :P
@deathnote1029
You modified his plugin yes? Because when I upload my server now. I receive a [SEVERE] Error occurred while enabling AnCasino v2.0-b1-0.6 (Is it up to date?) on my log. So Darazo has not updated think plugin: Last Update Jan. 27th 2012
So your version is his version, just copyed and updated?
@TheCardGhost
@Slash0220
This plugin does work. I am currently using it on my server, and it works fine, no bugs at all, and no heavy server.log dumping.
Use the link i provided in previous comments
OR
if your still too lazy to even look for the link to the dev build, click this link https://github.com/graywolf336/AnCasino/downloads
Please download and try the "ancasino211", then provide a server report if it crashes, i'm using the ancasino211 and it is working absolutely fine
I agree, please update this plugin. It is a very good enhancement to any server as it gives more a pleasure thriving in Economy.
Everybody who wil use this plugin in 1.2.3 or 1.2.4 will get same errors while playing slot machine!
012-03-23 13:33:18 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.slot.game.StopRotateTask.run(StopRotateTask.java:27) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
2012-03-23 13:33:18 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.slot.game.StopRotateTask.run(StopRotateTask.java:27) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
2012-03-23 13:33:19 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.slot.game.StopRotateTask.run(StopRotateTask.java:27) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Also do not listen to idiots who says that all works good, of course you can play casino but your ServerLog will be very heavy, can dev. please fix this?
@Puffermcklein
https://github.com/graywolf336/AnCasino/downloads
graywolf has been developing it :)
? Still now working ... if i type </casino> it says "Incorrect command syntax. Check /casino for command guide."
Update please? I really like that plugin ... but i can't change the config for another casino-price or rewards ... change plz.
2012-03-23 11:08:25 [SEVERE] Error occurred while enabling AnCasino v2.0-b1-0.6 (Is it up to date?) java.lang.NullPointerException at org.bukkit.Location.getBlock(Location.java:82) at me.darazo.ancasino.slot.SlotData.getBlocks(SlotData.java:141) at me.darazo.ancasino.slot.SlotData.loadSlot(SlotData.java:124) at me.darazo.ancasino.slot.SlotData.loadSlots(SlotData.java:80) at me.darazo.ancasino.util.ConfigData.load(ConfigData.java:44) at me.darazo.ancasino.AnCasino.onEnable(AnCasino.java:63) 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(SimplePluginManager.java:363) 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:374) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
This will still work with 1.2.4 yes?