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 18, 2012@AquatikJustice try covering it up with glass (the front) u could still see and not have issues...
-
View User Profile
-
Send Message
Posted Jan 17, 2012@Venusaur
looks like an error with your config file. check for missing : or extra spaces.
still having an issue with my problem however. I have updated to newest vault, and tried all versions of this plugin. I still have same issue where all types of slot machines only charge the price of the default machine.. They will NOT use the prices listed in their setup in the config. HUGE BUG!
-
View User Profile
-
Send Message
Posted Jan 17, 201217.01 16:37:34 [Server] SEVERE Error occurred while enabling AnCasino v1.2.1 (Is it up to date?): while parsing a block mapping; expected <block end>, but found Scalar
-
View User Profile
-
Send Message
Posted Jan 16, 2012@chris5347
i noticed mine does that if i turn off diagonal winnings. try turning that back on.
-
View User Profile
-
Send Message
Posted Jan 16, 2012well.. all prices from all types are only charging 100.. even if they are set to 1000 or 10. any way you could update this bug?
-
View User Profile
-
Send Message
Posted Jan 15, 2012whenever somebody wins the slot will not pay anything, and wont continue to work until i reload help!
-
View User Profile
-
Send Message
Posted Jan 15, 2012whenever somebody wins the slot will not pay anything, and wont continue to work until i reload help!
-
View User Profile
-
Send Message
Posted Jan 15, 2012Any chance you can get the 2.0 beta link working again? Thank you!
-
View User Profile
-
Send Message
Posted Jan 14, 2012Okay, found a MAJOR issue.
I set up everything in my config and started making slot machines. I made a few then decided to test one out. When I hit the controller block, the reels started going and some of the blocks were water/lava, which then proceeded to spill out and cover the floor. The water/lava blocks are NOT in my config file anywhere.
-
View User Profile
-
Send Message
Posted Jan 14, 2012Feature suggestion:
I like how you can set up actions, but would it be possible to set it up so that we can run ANY command from any plugin active on the server? For example, we could send them to jail by using a Jail plugin or maybe remove their God mode status, etc.
I also like the jackpot idea someone suggested a few comments earlier. Maybe set it up so that the owner of the machine can set a certain percentage they keep and the rest is put aside for the jackpot on that specific machine.
Would it be possible to get rid of the empty blocks in between the reels? It kind of wastes space that could be used for MORE slot machines.
Finally a quick question: when someone plays one of my machines, where does their money go? Does it go into my account? A general casino account? Lost forever?
-
View User Profile
-
Send Message
Posted Jan 13, 2012When doing "/casino types list," it's reporting both of my types cost $100 but one of them only costs $10 as per the config file as well as actually using it in-game.
-
View User Profile
-
Send Message
Posted Jan 12, 2012no tickets ? so there is my problem, slot machine stop working (already in use message) and there is the error on log :
[WARNING] Task of 'AnCasino' generated an exception java.lang.NullPointerException at me.darazo.ancasino.SlotManager.checkWinner(SlotManager.java:115) at me.darazo.ancasino.SlotManager$6.run(SlotManager.java:269) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C raftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 22:30:28 [WARNING] Task of 'AnCasino' generated an exception java.lang.NullPointerException at me.darazo.ancasino.SlotManager.checkWinner(SlotManager.java:115) at me.darazo.ancasino.SlotManager$6.run(SlotManager.java:269) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-----plugins : DisposalChest, My Worlds, YABackuP, HeroChat, Spout, eXPra, CreeperHeal, TreeAssist, XrayInformer, Vault, WorldEdit, MineScore, JukeBukkit, PermissionsEx, BookWorm, Permissions, StreetLamps, NoCheat, ExpPlugin, CommandBook, CFBanner, DamageCooldown, AnCasino, KarmicJail, OpenInv, BOSEconomy, WorldGuard, Modifyworld, HelperBot, MobArena, MyWolf, LWC, RealShop2, BomberCraft, ecoCreature, dynmap, NarrowtuxLib, Showcase, OrebfuscatorSpoutBridge, PreciousStones, SimpleClans, LogBlock, Orebfuscator
-
View User Profile
-
Send Message
Posted Jan 11, 2012@Master_Zangetsu
Or bank account :)
-
View User Profile
-
Send Message
Posted Jan 11, 2012Hey,
Great plugin, however is there any way of having an owner of the machine, so that the payment to and winnings of come out of his account?
-
View User Profile
-
Send Message
Posted Jan 10, 2012I am getting this message at console.
I am using Bukkit 1597 and AnCasino 1.2.1
10.01 18:31:03 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
10.01 18:31:03 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
10.01 18:31:03 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
10.01 18:31:03 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
10.01 18:31:03 [Server] INFO at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
10.01 18:31:03 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
10.01 18:31:03 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
10.01 18:31:03 [Server] INFO at net.minecraft.server.Packet15Place.a(SourceFile:39)
10.01 18:31:03 [Server] INFO at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:80)
10.01 18:31:03 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
10.01 18:31:03 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
10.01 18:31:03 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
10.01 18:31:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
10.01 18:31:03 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
10.01 18:31:03 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
10.01 18:31:03 [Server] INFO at me.darazo.ancasino.AnCasinoPlayerListener.onPlayerInteract(AnCasinoPlayerListener.java:162)
10.01 18:31:03 [Server] INFO java.lang.NullPointerException
10.01 18:31:03 [Server] SEVERE Could not pass event PLAYER_INTERACT to AnCasino
-
View User Profile
-
Send Message
Posted Jan 9, 2012I'm getting quite a bit of this. I'll read some other comments to see if I can find more info but FYI:
-
View User Profile
-
Send Message
Posted Jan 8, 2012@Something37
Look on this site, there you can find all supported Economy Plugins: http://dev.bukkit.org/server-mods/vault/
Rytis
-
View User Profile
-
Send Message
Posted Jan 7, 2012@Rytis110
oh... Any tips on something that support Vault?
-
View User Profile
-
Send Message
Posted Jan 7, 2012@Something37
It's not supported by Vault.
-
View User Profile
-
Send Message
Posted Jan 7, 2012I encounter console messages: (read from bottom to top)
Bukkit 1597
Ancasino 1.2.1
07.01 19:12:56 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
07.01 19:12:56 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
07.01 19:12:56 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
07.01 19:12:56 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
07.01 19:12:56 [Server] INFO at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
07.01 19:12:56 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
07.01 19:12:56 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
07.01 19:12:56 [Server] INFO at net.minecraft.server.Packet15Place.a(SourceFile:39)
07.01 19:12:56 [Server] INFO at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:80)
07.01 19:12:56 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
07.01 19:12:56 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
07.01 19:12:56 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
07.01 19:12:56 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
07.01 19:12:56 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
07.01 19:12:56 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
07.01 19:12:56 [Server] INFO at me.darazo.ancasino.AnCasinoPlayerListener.onPlayerInteract(AnCasinoPlayerListener.java:162)
07.01 19:12:56 [Server] INFO java.lang.NullPointerException
07.01 19:12:56 [Server] SEVERE Could not pass event PLAYER_INTERACT to AnCasino