Customization

Description | Configuration | Customization | Video | Pictures | Forum thread

AnCasino v1.2 introduces the concept of types for customizing your slot machines. Every aspect of a slot machine is derived from its type, so by creating custom types you can easily set up several slot machines just the way you'd like them.

When creating a slot machine, you will be using the following command:

/casino add <slot> (<type>)

Where <type> is the type of slot machine you wish to create. Leaving <type> blank will set the slot machine up as the default type. Now if you want to use a custom type, first you will have to create it:

/casino types new <type>

Where <type> is the name of your custom type. At this point you can open up the configuration file, and you will see that a new type block has been generated for your custom type at the bottom of the file.

customType:
    price: 100
    permission: 0
    reel:
    - 42,10
    - 41,5
    - 57,2
    rewards:
      '42':
        message: Winner
        money: 100
      '41':
        message: Winner
        money: 100
      '57':
        message: Winner
        money: 100
    messages:
      insufficient-funds: Insufficient funds.
      in-use: In use.
      no-win: No win.
      start: Start.
      help: []

Now you may customize this type to suit your needs, as described at the configuration page. After reloading the config, you are then ready to create a slot machine using your custom type:

/casino add slot customType

Or edit an existing slot machine to use your custom type:

/casino edit slot <slot> type <type>

Comments

Posts Quoted:
Reply
Clear All Quotes