Inactive [FUN/ECON] AnCasino v2.0 - Real slot machines for your server [1.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Darazo, Dec 16, 2011.

  1. Offline

    Darazo

    [​IMG]
    AnCasino
    version: v2.0

    More information and downloads on the BukkitDev page

    This plugin depends on Vault. Get Vault here if you do not already have it.

    Description:
    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.

    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)


    Screenshots (open)
    [​IMG]
    [​IMG]
     
    JoneKone, RaydarScan and DrAgonmoray like this.
  2. Offline

    Darazo

    There is a beta version linked in the first post of this thread. Try having a go with that, and we'll see how things work out.
     
  3. Offline

    NeobWASHERE

    Help when i use the slot once then try again it doesnt work it says slot is already in use?
     
  4. Offline

    HippieBeak

    I tried doing the beta version but it still doesn't work :(.
     
  5. Offline

    Darazo

    Hm. Show me your slots.yml. Also kindly post which version of craftbukkit you are running, along with all plugins you are currently using.
     
  6. Offline

    Andejak

    Yes, i try again now - should u place something in the folder? :S

    Load 0 slot machines. - Loaded 1 types. - Loaded statistics for 0 types. - v2.0b1-0.6 enabled. - Vault is reguired in order to use this plugin. - Saving and unloading data.. Disabled. - shall i do something in the folder?? :p

    Now it works better - but when u type /casino it says: ''Incorretct command syntax. Check /casino for command guide.'' - So i do what it says, but it still dont work :S

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  7. Offline

    HippieBeak

    I'm using the newest RB (#1597)
    Here are my plugins:
    CraftBook, Essentials, Group Manager, iConomy, NoCheat, Permissions, MineBackup,Vault, SuperLog, Essentials extra, Worldedit, Minequery, Worldguard, AnCasino, and LWC are my plugins.

    My slots.yml is:
    slots: {}
     
  8. Offline

    firewill39

    I try to use your plugin but ... it does not work.
    I can not change the price of the bet.
    when we have won it hands and said nothing as the machine is already in use ..
    can you help me plz
     
  9. Offline

    Gurkengelee

    Great plugin! Really I totally like it!

    And maybe you can help me resolve a little problem I have with it.
    I made a custom type. Everything works fine, all the blocks I defined show up on the reels.
    But when I win not the message in the config appear but only "Winner!" and no money is awarded.

    Edit: Ok solved the problem. Forgot the .0 at the end of money line.

    Edit2: Hm nope. Worked one time but not anymore. Strange.

    Edit3: Messed around a bit by installing an earlier version of AnCasino and even the beta. Now it´s totally messed up, saying you won when you have not etc. Wow.

    My config:
    Code:
    # AnCasino v1.2
    # @author: Darazo <darazo.dawning@gmail.com>
    # @license: GPLv3
    #
    # Instructions for this configuration file can be found at the BukkitDev page:
    # http://dev.bukkit.org/server-mods/ancasino/
    options:
      track-statistics: true
      allow-diagonal-winnings: true
      chat:
        display-plugin-prefix: true
        plugin-prefix-color: '&c'
        chat-color: '&a'
    types:
      default:
        cost: 100
        permission: 0
        reel:
        - 42,50
        - 41,30
        - 57,15
        - 103,12
        - 49,4
        - 46,6
        rewards:
          '42':
            message: Winner - 3 iron blocks! $250 awarded.
            money: 250.0
          '41':
            message: Winner - 3 gold blocks! $500 awarded.
            money: 500.0
          '57':
            message: Winner - 3 diamond blocks! $1200 awarded.
            money: 1200.0
          '103':
            action:
            - give 103 64
            message: Winner - 3 ..melons? Nom.
            money: 0.0
          '49':
            message: Jackpot - 3 obsidian blocks! $4000 awarded.
            money: 4000.0
          '46':
            action:
            - kill
            message: Winne-
            money: 0.0
        messages:
          insufficient-funds: You can't afford to use this.
          in-use: This slot machine is already in use.
          no-win: No luck this time.
          start: '[cost] removed from your account. Let''s roll!'
          help:
          - 'Instructions:'
          - Get 3 in a row in order to win. $100 per spin.
          - '3 iron blocks: $250'
          - '3 gold blocks: $500'
          - '3 diamond blocks: $1200'
          - '3 obsidian: $4000'
          - The rest are surprises
      Standard:
        price: 100
        permission: 0
        reel:
        - 03,30
        - 01,20
        - 103,15
        - 35,10
        - 82,10
        - 42,8
        - 41,5
        - 57,2
        - 49,1
        rewards:
          '03':
            message: Dreimal Dirt! 25$ gewonnen!
            money: 25
          '01':
            message: Dreimal Stein! 75$ gewonnen!
            money: 75
          '103':
            message: Drei Melonen! 150$ gewonnen!
            money: 150
          '35':
            message: Dreimal Wolle! 300$ gewonnen!
            money: 300
          '82':
            message: Dreimal Lehm! 600$ gewonnen!
            money: 600
          '42':
            message: Dreimal Eisen! 1500$ gewonnen!
            money: 1500
          '41':
            message: Dreimal Gold! 10000$ gewonnen!
            money: 10000
          '57':
            message: Dreimal Diamanten! 50000$ gewonnen!
            money: 50000
          '49':
            message: Jackpot! Dreimal Obsidian! 100000$ gewonnen!
            money: 100000
        messages:
          insufficient-funds: Du kannst dir das nicht leisten.
          in-use: Der Automat wird bereits benutzt.
          no-win: Leider nichts. Probier es nochmal!.
          start: '[cost] abgezogen. Let''s roll!'
          help: []
    
     
  10. Offline

    Andejak

    Ok, u know, i was bad at plugins before - now i downloaded again and sai'd in server console ''reload'' 2 times, and then.. Puff, it worked :D
    Edit: Now i found out, that only op's can play? When i try deop my friend, he can destroy like normally, but it will came back - its not working if u not op?
     
  11. Offline

    MADE_2_KILL11

    ok it works :D but i look at my plugins and its red and wont work idk why
     
  12. Offline

    CIA99

    I just have to say Amazing plugin. I uploaded this to my server and people were going crazy (in a good way) They didn't believe how it was doing it and were at awe. It is bugless flawless and is wonderful. Keep up developing plugins.
     
  13. Offline

    jorrow

    Hay Darazo what happened to animus?
     
  14. Offline

    Preben folkvor

    I am so sorry for wanting the other plugin...This one is just the same really, even better !"!!!!
    I didnt know you could change the blocks inside the slotMachine :D
    It makes it : THE BEST SLOT/CASINO PLUGIN !!!!!!!!!
    Gratz in having the best made slot machine plugin :D !!!
     
  15. Offline

    MADE_2_KILL11

    Ok I think its a great mod ;) but if u run up close to the machine it flings u a couple blocks away

    Can u fix???
     
  16. Offline

    denomeitor

    After the second attempt to play the casino, he is giving this a `` slot machine is already in use''But how well is in use? What do I do?:oops:
     
  17. Offline

    Gurkengelee

    Set AllowDiagonalWinnings to true. This will turn the slot machine into an insane money making device but it will work.
     
  18. Offline

    Flex69

    The Commands dont work
     
  19. Offline

    oxley36

    Everytime I type /casino it comes up with syntax error. Everything is installed correctly. I use iconomy 6 vault is working with other plugins. Casino is the only one I am getting syntax error with. Incorretct command syntax. Check /casino for command guide.
     
  20. Offline

    Eros

    Is This updating for 1.1.0?
     
  21. Offline

    KrystoPL

    Works for me with Build #1715
     
  22. Offline

    Eros

    Is that the newest because i just got bukkit for 1.0.0 and now it UPDATED so im wondering when bukkit updates will this update as well
     
  23. Offline

    Flex69

    i wish this worked
     
  24. Offline

    kikoto

    Permissions don't work. :(
     
  25. Offline

    rbalk112

    where can i get this plugin for minecraft 1.1 server.
    maybe you can give me a link.:)
     
  26. Offline

    nemisisx

    Can wool id's work in the config yml and if so how? lol
     
  27. Offline

    Walrog

    Hi, I put on my server your plugin and all is going well. But in the log there is always the same error.

    [SEVERE] Could not pass event BLOCK_BREAK to AnCasino
    java.lang.NullPointerException
    at me.darazo.ancasino.AnCasinoBlockListener.onBlockBreak(AnCasinoBlockListener.java:39)
    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.a(ItemInWorldManager.java:165)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:501)
    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 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)

    Can you tell me please if I can fix it?

    Thank you very much.
     
  28. Offline

    StypherFire

    19.01 07:55:02 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:507)
    19.01 07:55:02 [Server] INFO at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    19.01 07:55:02 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    19.01 07:55:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:341)
    19.01 07:55:02 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    19.01 07:55:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:343)
    19.01 07:55:02 [Server] INFO at me.darazo.ancasino.AnCasinoPlayerListener.onPlayerInteract(AnCasinoPlayerListener.java:58)
    19.01 07:55:02 [Server] INFO java.lang.NoSuchMethodError: net.milkbowl.vault.economy.Economy.has(Ljava/lang/String;D)Z
    19.01 07:55:02 [Server] SEVERE Could not pass event PLAYER_INTERACT to AnCasino

    I am getting the above problem on console. Nothing seems to work not even the text displaying maybe i need newest vault?
     
  29. Offline

    Phantom Index

    Don't use the newest vault. It breaks everything,
     
  30. Offline

    randeri221

  31. Offline

    RG_PankO

    Darazo can you please make the plugin so people when win to broudcast a global message to all users something like: User123 just bed 15$ and won x4 = 60$ by the server casino.
     

Share This Page