Configuration Help!

Discussion in 'Plugin Development' started by Potatoez_, Jan 28, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Potatoez_

    Hello there,

    I was working on a plugin and I decided I wanted to make it read a message similar to the one in the spoiler below (from a config file).

    Example (open)

    Something like this (if possible):[​IMG]


    In this case in the config it looks something like this:
    Code:
        - '&8&l&m------------------------------------------'
        - '&7Items Sold&r: &c%items%'
        - '&7Amount&r: &c$&c%amount%'
        - '&7Multiplier&r: &c%multiplier%'
        - '&8&l&m------------------------------------------'
    Essentially, what I'm asking is how to read it from a list like that. Please respond I really need help!
     
    Last edited by a moderator: Jan 28, 2017
  2. Online

    timtower Administrator Administrator Moderator

  3. Offline

    Potatoez_

  4. Online

    timtower Administrator Administrator Moderator

    @Potatoez_ for string in list
    replace parts
    send message
     
Thread Status:
Not open for further replies.

Share This Page