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 Feb 5, 2012Many errors, not compatible with latest bukkit release
-
View User Profile
-
Send Message
Posted Feb 5, 2012Having the same problem as many others' are here.
-
View User Profile
-
Send Message
Posted Feb 5, 2012if people play on the slots' they get 3 melon they dont get the melon, and if they have 3 TNT they Don't die.
pls fix
-
View User Profile
-
Send Message
Posted Feb 5, 2012@Hangar
thats ok no error in that...
-
View User Profile
-
Send Message
Posted Feb 4, 2012Getting this on server start, CB 1846/An 2.0 (fresh install):
2012-02-04 18:43:50 [INFO] [AnCasino] Loading AnCasino v2.0-b1-0.6.
2012-02-04 18:43:50 [INFO] [AnCasino] Loaded 0 slot machines.
2012-02-04 18:43:50 [INFO] This slot machine is already in use.
2012-02-04 18:43:50 [INFO] [cost] removed from your account. Let's roll!
2012-02-04 18:43:50 [INFO] You can't afford to use this.
2012-02-04 18:43:50 [INFO] You don't have permission to use this.
2012-02-04 18:43:50 [INFO] No luck this time.
2012-02-04 18:43:50 [INFO] [AnCasino] Loaded 1 types.
2012-02-04 18:43:50 [INFO] [AnCasino] Loaded statistics for 2 types.
2012-02-04 18:43:50 [INFO] [AnCasino] v2.0-b1-0.6 enabled.
-
View User Profile
-
Send Message
Posted Feb 3, 2012Whenever i reload it resets the config file so i cant make new slots or make it so diagonal win is set to false
-
View User Profile
-
Send Message
Posted Feb 3, 2012Work only default...
i type /casino type add custom I receive An internal error occured .<sub>,</sub>
after reload server type -> /casino and bug -> Incorrect Command...
UPDATE AND FIX PLEASE
-
View User Profile
-
Send Message
Posted Feb 2, 2012@kingdave1000
This 2.0 version works, but adding new types are ignored. Every new slot take the default config and not my new types. Iam an OP.
I added a type with
then edit the config.yml manually
and reload ist with
Now i added the new slot with
Slot ist succesfully created but its not use the new type, only the default one.
-
View User Profile
-
Send Message
Posted Feb 2, 2012KingDave - That works, yes. But only works for OP's. It ignores the Perm Node(s) for everyone else.
@Author, Please fix AnCasino ASAP.
-
View User Profile
-
Send Message
Posted Feb 2, 2012EDIT: Oops looks like it does not work for anyone other then ops! Thats what happens when you don't test! Thanks Year!EDIT2: Fixed it again! YAY! NOTE: This gives all users permissions to use the slots so beware! Other permission nodes may not work so beware of that too!**
EDIT3: Should have mentioned the problems mentioned by @Schlingman are not fixed.
-
View User Profile
-
Send Message
Posted Feb 2, 2012Darazo, Y U NO respond?
-
View User Profile
-
Send Message
Posted Feb 2, 2012Same issue as the person below me. Zero errors on server startup/stop but the moment somebody uses a slot machine it errors up and then that specific slot machine is no longer useable due to "Is in use". Also rewards arent given out as i landed on TNT and nothing happend.
Heres error from 2 slot machines:
a.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.SlotManager$4.run(SlotManager.java:219) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 2012-02-02 04:34:37 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.SlotManager$5.run(SlotManager.java:225) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 2012-02-02 04:34:38 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.SlotManager$6.run(SlotManager.java:231) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 2012-02-02 04:34:52 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.SlotManager$4.run(SlotManager.java:219) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 2012-02-02 04:34:53 [WARNING] Task of 'AnCasino' generated an exception java.lang.NoSuchMethodError: org.bukkit.Note.<init>(BLorg/bukkit/Note$Tone;Z)V at me.darazo.ancasino.SlotManager$5.run(SlotManager.java:225) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 2012-02-02 04:34: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.SlotManager$6.run(SlotManager.java:231) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
-
View User Profile
-
Send Message
Posted Feb 1, 2012Great plugin m8!! :) Been using it for a while and i seem to get this small problem, whenever someone has played at the casino and has walked away the other player cant use the slot it sais "Slot already used" (or smth like that i translated it to my language) so is there a way to reset the slots for new use?
-
View User Profile
-
Send Message
Posted Feb 1, 2012I get the same error message as erdrick and PainKNero. Everytime the slots are used. Just saying. Recommended build 1.1 R3. It works but gives errors. Great plugin by the way! 14:19: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:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
-
View User Profile
-
Send Message
Posted Jan 31, 2012@erdrickk
Thanks. I HATE permissions i figured it was an issue with my permissions version. Thank you erdrickk! Ill get on that now. Lets see if there fixes the problem! Relfpmik
-
View User Profile
-
Send Message
Posted Jan 31, 2012@relfpmik
I can't believe you are still using permissions 3.x - Get permissionsEX and then this plugin will work for you
-
View User Profile
-
Send Message
Posted Jan 31, 2012My permissions are not working. I have Vault and AnCasino (Last updated 1/31/12) and also i have Permissions 3.1.6. The nodes you posted won't work. Im not sure wether it is an issue with my permissions version or what. Could some one attempt to help me out? Thanks! P.S. I just made this account so if you ask me to do something i may not know how... Also the slots work for OPs but not regular players and also the blocks don't make sound like they did before. Just saying. Thats not a big deal though. Relfpmik
-
View User Profile
-
Send Message
Posted Jan 30, 2012Ditto on the regular noteblock sound only...probably filling our log too.
-
View User Profile
-
Send Message
Posted Jan 30, 2012Dont work the configuration.. wtf
-
View User Profile
-
Send Message
Posted Jan 30, 2012Yup - I get this non stop with bukkit 1.1 R3