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.
-
View User Profile
-
Send Message
Posted Jan 2, 2012@cuddyier
You probably formatted the node wrong. Actions are specified as lists, e.g
Not
-
View User Profile
-
Send Message
Posted Jan 2, 2012Why are my players not getting the blocks as a reward but they are getting the money okay..
-
View User Profile
-
Send Message
Posted Jan 1, 2012When I put the AnCasino.jar in my plugin folder and starting the server it dont create a config file. It are not saying something about the plugin in the server log!!!
-
View User Profile
-
Send Message
Posted Jan 1, 2012@Zombiemold
As long as you have everything configured properly, you should not be getting any errors or any problems at all. Kindly inform me here of any problems.
-
View User Profile
-
Send Message
Posted Dec 31, 2011Keep us posted Darazo. Still getting odd errors, and random slots aren't paying out. Taking a lot of time to give out the losses :/
-
View User Profile
-
Send Message
Posted Dec 30, 2011@bobbysmithyy
There is a link to the source of the release version right up there. The rewrite is still not fully functional, so I won't be making the source of that available just yet.
-
View User Profile
-
Send Message
Posted Dec 30, 2011Is source up yet on github?
-
View User Profile
-
Send Message
Posted Dec 29, 2011@FiddyCraft
This feature will be included in the v2.0 rewrite I am currently working on, along with more options for having player-owned casinos.
@silenceheaven
A known bug which occurs if you do not have any slot machines registered. Creating one will fix the issue.
-
View User Profile
-
Send Message
Posted Dec 29, 20112011-12-29 15:14:10 [SEVERE] Could not pass event BLOCK_BREAK to AnCasino java.lang.NullPointerException at me.darazo.ancasino.AnCasinoBlockListener.onBlockBreak(AnCasinoBlockListener.java:23) at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:539) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:145) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:208) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-
View User Profile
-
Send Message
Posted Dec 28, 2011Can you make it so the money Goes to someone instead of nowhere (the cost of using the casino)
-
View User Profile
-
Send Message
Posted Dec 27, 2011@Darazo
still doesn't work :( But i can use the slot as an op...
-
View User Profile
-
Send Message
Posted Dec 27, 2011@therealorgrin
You use the permission number in the permission node. So you'd use -ancasino.slots.1
-
View User Profile
-
Send Message
Posted Dec 27, 2011When im trying to make a vip only slot with:
- ancasino.slots.vip
and
Type:
vip:
cost: 1000
permission: 1
Im using - bpermission
-
View User Profile
-
Send Message
Posted Dec 25, 2011best plugin on my server!
-
View User Profile
-
Send Message
Posted Dec 25, 2011@Afflicting
I updated the links to the customization page~
I do intend to add support for user-created slot machines eventually. I imagine it will include both user-deductible-profitable and standard money-to-from-void slot machines. Since I have slot machine types already down nicely, there is possibility this might make it in for the next update.
-
View User Profile
-
Send Message
Posted Dec 25, 2011Your Customization page is broken.
I'd like a way to allow Users to create slot machines. I still want to un-won money to disappear into Poof, but I would like to be able to let my various towns create slot machines.
Perhaps something like ancasino.add.default would allow them to create the default slots, but not the ... well, you know, other ones.
-
View User Profile
-
Send Message
Posted Dec 25, 2011@sepukacheekray
Ah, I didn't account for data values when implementing that function. I'll add a way to use data values in the coming minor update.
-
View User Profile
-
Send Message
Posted Dec 25, 2011@Zombiemold
This is caused because you didn't specify any help text in your custom type; it shouldn't cause any problems except throwing that error, however. Added to the list of things to fix.
-
View User Profile
-
Send Message
Posted Dec 25, 2011Quick question, I want one of my machines to give out Lapis Lazuli, so I tried the following codes: - give 351:4 5 - give 351|4 5 - give "351:4 5" - give "351|4 5" - give '351:4 5' - give '351|4 5"
none of these worked, clanforge just took away the quotation marks, and the one with the line would lock the slot machine down when you won lapis. Is there a way to do this?
-
View User Profile
-
Send Message
Posted Dec 24, 2011i realy like it! any know bugs?