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

    Phantom Index

    or a customiza
    ble global message in which you can add more than one type of color.
     
  3. Offline

    RG_PankO

    Darazo the idea of the messages will be the casino to advertise itself by telling all users how other users win from the casino.
     
  4. Offline

    KrypleFyte

    I can't seem to make the cost (bet amount) anything other than 100... am I missing something? I want to have some cheap slots and a few high roller slots but the cost never changes.
     
  5. Offline

    Andejak

    Have u remember to op urself? If im not opped, it seems for me 2, but if im opped, it's giving me a command-list.

    Me2. Only OPs can play at me, and because my iConomy plugin, then admins can't lose/get moneys by other plugins. Only with /money set or /money pay :S
     
    kikoto likes this.
  6. Offline

    Phantom Index

    Is it possible to set it so that the slot machines take a item away instead of using currency from an economy plugin??
     
  7. Offline

    notbob1

    Can I decrease the odds for winning? The machines are waay too easy to win at.
     
  8. Offline

    Andejak

    Ok, 1 more bug. If u get ancasino.admin , then u can use the casino, im right? - i can't. It says ''[AnCasino] You don't have permissions to do this.'' and if u get .use also, its not working.. How can i get this to work? I use pex - should i use another ? :s
     
  9. Offline

    RG_PankO

    @Darazo the idea of the messages will be the casino to advertise itself by telling all users how other users win from the casino.
     
  10. Offline

    Darazo

    Greetings everyone! I apologize that I have not been able to keep up with this thread or the plugin lately. I have been terribly busy with work at university, and there has been little time for such things.

    I am pleased to announce that AnCasino v2.0 is now released, however! This is a complete rewrite of the plugin I have been working on for a while, and adds a slew of new features as well as drastic performance improvements. The download will be up on BukkitDev shortly, and is written for craftbukkit-1.1-R1. I thank you all for your continued support, and hope to be able to address issues and questions in a timely manner from now on!
     
  11. Offline

    Phantom Index

    k
     
  12. Offline

    Andejak

    Ok thats scary.. -.- As i sai'd before, i couldnt use AnCasino, cuz of permissions. I did NOTHING and now its work..
     
  13. i test the 2.0 but when i change something in the config the change are reset to default aftert config reload...
     
  14. Offline

    Phantom Index

    the give command doesn't work for me. Dude you set it up differently? and can we have global announcement wins?

    also the 3 blocks that are i a row or diagonal should light up.

    Code:
     phantom:
        cost: 75
        create-cost: 3000
        reel:
        - 16,25
        - 15,20
        - 21,15
        - 14,10
        - 56,10
        - 74,10
        rewards:
          '16':
            action: give 263 32
            message: Winner - &93 &8Coal Ore! &e250C &2awarded.
            money: 250.0
          '15':
            action: give 265 5
            message: Winner &c- &f3 &7Iron Ore! &e500C &2awarded.
            money: 500.0
          '56':
            action: give 264 3
            message: Winner &c- &f3 &bDiamond Ore! &e1500C &2awarded.
            money: 1500.0
          '14':
            action: give 266 3
            message: Winner &c- &f3 &6Gold Ore! &e1000C &2awarded
            money: 0.0
          '21':
            action: give 383:120
            message: Winner &c- &f3 &9Lapiz Ore! &e600C &2awarded.
            money: 600.0
          '74':
            action:
            - give 383:50
            message: Winner &c- &f3 &cGlowing Redstone Ore! &e3000C awarded.
            money: 3000.0
        messages:
          insufficient-funds: You can't afford to use this, go kill some mobs.
          in-use: This slot machine is already in use.
          no-win: No luck this time.
          no-permission: You don't have permission to use this.
          start: '&e[cost] &2removed from your account. &8[&9OPEN DEAL&8]'
          help:
          - 'Instructions:'
          - Get 3 in a row in order to win. $100 per spin.
          - '&ePunch the &9NoteBlock!'
     
  15. Offline

    Peter See

    I have a question... My server is not using Permissions but AnCasino is working fine. So how di i make it so that non-OPs can use the slots? Please reply...
     
  16. Is ist possible to edit the config file directly on the server and then reload it or must it done by the commands? It would be easier for me to edit it directly.

    Btw. the Kill command from the default machine dont work an i occurd the following error to add new Slot types

    Code:
    2012-01-28 16:03:50 [INFO] null
    2012-01-28 16:03:50 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'casino' in plugin AnCasino v2.0-b1-0.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at me.darazo.ancasino.slot.TypeData.getMessages(TypeData.java:164)
        at me.darazo.ancasino.slot.TypeData.loadType(TypeData.java:86)
        at me.darazo.ancasino.slot.TypeData.newType(TypeData.java:215)
        at me.darazo.ancasino.command.CasinoType.process(CasinoType.java:40)
        at me.darazo.ancasino.command.AnCommandExecutor.onCommand(AnCommandExecutor.java:80)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
     
  17. Offline

    Darazo

    Phantom Index
    Item ID and amount is separated by a space in the give command. Colon may be used to denote data values for items like wool. E.g "give 35:2 10" would give out 10 magenta wool.

    Peter See
    There is indeed an issue at the moment where it will require OP if you don't use permissions. I am working on getting around this issue.
     
  18. Offline

    Phantom Index

    That's how I have it..
     
  19. Offline

    Falco33

    I can't edit the config file. It keeps changing back.

    Code:
    28.01 11:06:32 [Server] INFO    ... 12 more
    28.01 11:06:32 [Server] INFO    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    28.01 11:06:32 [Server] INFO    at me.darazo.ancasino.command.AnCommandExecutor.onCommand(AnCommandExecutor.java:80)
    28.01 11:06:32 [Server] INFO    at me.darazo.ancasino.command.CasinoType.process(CasinoType.java:40)
    28.01 11:06:32 [Server] INFO    at me.darazo.ancasino.slot.TypeData.newType(TypeData.java:215)
    28.01 11:06:32 [Server] INFO    at me.darazo.ancasino.slot.TypeData.loadType(TypeData.java:86)
    28.01 11:06:32 [Server] INFO    at me.darazo.ancasino.slot.TypeData.getMessages(TypeData.java:164)
    28.01 11:06:32 [Server] INFO Caused by: java.lang.NullPointerException
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
    28.01 11:06:32 [Server] INFO    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
    28.01 11:06:32 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
    28.01 11:06:32 [Server] INFO    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    28.01 11:06:32 [Server] INFO    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    28.01 11:06:32 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'casino' in plugin AnCasino v2.0-b1-0.6
     
  20. Offline

    Peter See

    Ok
     
  21. Offline

    Starfy

    When i try to change the config it reloads itself. I also tryed to change the config while the server is off but this didn't help. Any suggestions?
     
  22. Offline

    fatmarley

    Darazo your beta test link on bukkitdev is dead...would love to try the new one
     
  23. Offline

    Andejak

    Yes, pls! I want SO much to get it! :-(
     
  24. Offline

    cambo69

    I keep Getting Incorretct command syntax. Check /casino for command guide. I have tried everything i know, tryed re-installing and everything but nothing keep getting that error ????
     
  25. Offline

    Gracjan27

    Code:
    Incorrect command syntax. Write /casino for command guide. 
    What the fuck? I'm writing /casino :confused:
     
  26. Offline

    cambo69

    I realy dont know why it aint working can u send me a download link to the one you got because i just downloaded 1.2.1 and it working but 2.0 doesn't i get Incorretct command syntax. Check /casino for command guide. pleasee?
     
  27. Offline

    QweSteR

    AnCasino v1.2.1 Work
    AnCasino v2.0 Not working

    CraftBukkit #1818
    Iconomy 6.0.8b
    Vault 1.2.6
     
  28. Offline

    City Builder

    After reloading the server (restarting using /reload command in chat) the slot machines all stop working, clicking on the control blocks does nothing after reload for us.

    Also get the message: Incorretct command syntax. Check /casino for command guide
    after restarting the server in our console. after restart and then type /casino

    If I remove the AnCasino folder that the plugin creates, and restart server, place new slot machine, then it works fine, but only until server restart, then slot stops working and get the error listed above about incorrect command syntax.

    Thanks
     
  29. Offline

    TheDrico

    When Ever I type /casino is says

    incorrect command syntax. check /casino for command list
     
  30. Offline

    Starfy

    How can i change the config succesfully?. Everytime i try it rolls back to default.
     
  31. Offline

    jeroent22

    hey dude i have this plugin but when i typ in /casino it says icorrected command syntax. chek /casino for command guide please help me:'(
     

Share This Page