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.
@Rytis110
gold2economy
@Something37
Which economy plugin you have?
Hello, I love this plugin but I'm getting the same problem as Rytis110.
Also, could you add an option in the config that you only win if the middle row of blocks all match? some players get confused when they win with the top or bottom row and I don't really like it, but other than that this is a great plugin :D Keep up the great work, -Julian
Hi! Every time I start the server it says that this plugin is disabled! I got Vault and an economy plugin but it says that I don´t have the economy... Do I need to install it some special way?
Hi,
when
allow-diagonal-winnings
is on false, you can't use the slot machine anymore and you will not get a reward. When you trying to use it again, it says "This slot machine is already in use."
Rytis
@icecube45
Uhm, they're permissions....
awesome plugin, possible to add more casino games? blackjack would be awesome :D could make a table and have the cards be messages, punch table deals card, right click stays. or maybe make signs generate? just making suggestions- i'd love to see any new games :)
PLEASE ADD BPERMISSIONS! I LOVE THIS PLUGIN
I talked with the COder from HEroes and they say its pretty simple.
getPlugin("Heroes") -> cast to Heroes Hero hero = heroes.getHeroManager().getHero(playerName); -> do stuff with hero
But here are the Link to the GitHub https://github.com/Herocraft/Heroes/tree/
@Drehverschluss
I'm not sure what you mean when referring to Heroes exp, but give me a link and I'll look into it.
As for a genuine jackpot, that is something I had in mind early on, but ultimately decided to avoid. It would actually be quite simple to implement at this point however, so I will keep it in the back of my mind.
Allright yea ok that it was from befor...ok should be fixed now...and goes really populate on my server...after 15 Mins still 1.5k Spins. What about the HEroes Exp feature? And also maby are you planing to put a reall jackpot in so like everytime a user rolls that goes in the jackpot.
@Drehverschluss
Are you using v1.2.1? It looks like one of your slot machines has been set up incorrectly. Look in slots.yml for any slot machines missing the location: block.
Very awesome plugin so far..I was testing it and i like how easy it is to costomise and make more stuff. Anyway i have an error for you..i need to say sry cause ii dont really know what happend. we was still building and thing and that i checked the server log and i got this error a bunch of times. http://pastebin.com/qcgcncRh
Also maby can you think about to impelement the Heroes Plugin Exp source. I saw that they made now a really easy way for other plugins to to that...or is there a way to give a Player a console command like the Kill action?
MFG MMOMinecraft.tk
@elvarox301
I see, you are using the beta. There was indeed a problem where this would happen. I have uploaded an update which will solve this and a couple of other issues.
hey guys i think that i have 1 error in the game because when im going to do a slot machine say you can´t afford to create this slot machine cost:100.0 and i have 9 million Dollars with the iconomy (im the admin) please help
and now errors:
05.01 13:00:01 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 05.01 13:00:01 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) 05.01 13:00:01 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) 05.01 13:00:01 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108) 05.01 13:00:01 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) 05.01 13:00:01 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) 05.01 13:00:01 [Server] INFO at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) 05.01 13:00:01 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) 05.01 13:00:01 [Server] INFO at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:98) 05.01 13:00:01 [Server] INFO at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201) 05.01 13:00:01 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) 05.01 13:00:01 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) 05.01 13:00:01 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:539) 05.01 13:00:01 [Server] INFO at me.darazo.ancasino.AnCasinoBlockListener.onBlockBreak(AnCasinoBlockListener.java:27) 05.01 13:00:01 [Server] INFO java.lang.NullPointerException
idk if this is the full error cus my server console wont stop
@gef30
Sounds like something went wrong with the config. Post your configuration file and any errors received in the console.
each time i keep switching, that works fine... but once i won i dont get my money and it says machine already in use and then it stop working
@MinecraftOrti
Refer to the "Dependencies" section of this page.
Error Message :
19:17:05 [SCHWERWIEGEND] Could not load 'plugins\AnCasino.jar' in folder 'plugin s': Vault org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:135) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:215) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:136) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur ationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)