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 30, 2012Bukkit 1.1 R3 1846
When trying to push the button, only one note will sound, and log overflows with errors:
-
View User Profile
-
Send Message
Posted Jan 30, 2012@AndrewsPanda
i have same error
-
View User Profile
-
Send Message
Posted Jan 30, 2012Can't add new types. Generates an error when using the command in game to add a new type, and adding the new type/changing the stats of default manually in the file doesn't work because as others have mentioned the file resets when server reloads
-
View User Profile
-
Send Message
Posted Jan 29, 2012ancasino.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
THEY ARE NOT ING WORKING !!! I TRIED FOR 2 DAYS AND WTH IS THAT !?!?!?
EDİT: 2.0 doesnt work, i tried 1.2 and it worked lol
-
View User Profile
-
Send Message
Posted Jan 29, 2012Since I have updated to the RB Bukkit build #1840. I am getting these errors spammed in my server log constantly.
2012-01-30 03:18:26 [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)
2012-01-30 03:18:27 [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)
2012-01-30 03:18:28 [WARNING] Task of 'AnCasino' generated an exception
-
View User Profile
-
Send Message
Posted Jan 29, 2012Cant change the config files because it resets after every new start/ reload of the server..
-
View User Profile
-
Send Message
Posted Jan 28, 2012Im using Permissions 6 and the last version of craftbukkit. I set the permissions perfectly but i still cant use if im not op. what i have to do i really dont know
Admins: default: false info: prefix: '[&3Admin&f]&2' suffix: '' build: true inheritance: permissions: - ancasino.use - ancasino* - ancasino.admin
i tried all permissions you wrote
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Schlingman
me to
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Darazo Here it is: And a other question: Is ist possible to edit the config file directly on the server and then reload it for a new type of slot machine or must it done by the commands? It reset always back after reloads...
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Schlingman
Right. Let's see your slots.yml, then.
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Darazo
Yes
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Schlingman
I see. Does the world name correspond to your actual world name? Is it located in your default world?
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Darazo
I have the same problem. In the slots.yml is the line with the World on every slot machine but i get the same error always. In game i get the error "Incorrect syntax. Check /casino for command guide. I cant use any command für the Slots
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Zombiemold
It appears that you have some old slot machines registered before the world field was added to the format. You will either have to recreate them, or add the world field manually in slots.yml. You'd just add the following line to each slot machine
With whatever your world name is. I'll be adding some compatibility measures in an upcoming bugfix update to alleviate issues such as these.
-
View User Profile
-
Send Message
Posted Jan 27, 2012Getting this on server start. Fresh copy of AnCasino 2.0, and no configs:
http://pastebin.com/8bc96ziN
-
View User Profile
-
Send Message
Posted Jan 27, 2012Can I configure it so I can make the slots appear as colored wool?
-
View User Profile
-
Send Message
Posted Jan 27, 2012TNX! =D
-
View User Profile
-
Send Message
Posted Jan 25, 2012The slot machines gets deleted every time I stop the server... :(
-
View User Profile
-
Send Message
Posted Jan 21, 2012nevermind, now,... i change the cost, and it always stays at 100 even when i set it as 20
-
View User Profile
-
Send Message
Posted Jan 21, 2012damn, cant even add slot machines why is that? it just deletes them when i restart the server