Command list multi pages

Discussion in 'Plugin Development' started by noraver, Apr 21, 2013.

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

    noraver

    hey guys need a little help i need command for listing keys and values that connects to never ending config

    config.yml
    Code:
    list:
      text_one: 15
      text_two: 30
      text_three: 20
      text_four: 50
      text_five: 80
      text_six: 45
      text_ seven: 90
      text_eight: 70
      text_nine: 2
      text_ten: 5
      text_eleven: 10
    
    the list can be added to, been trying to think of a way to have it display like this in chat

    In-game Chat
    /<command> page 1
    Code:
    ---------page 1---------
      text_one: 15
      text_two: 30
      text_three: 20
      text_four: 50
      text_five: 80
      text_six: 45
      text_ seven: 90
      text_eight: 70
      text_nine: 2
      text_ten: 5
    
    /<command> page 2
    Code:
    ---------page 2---------
      text_eleven: 10
    
    because the config can be added to is there a way to make it stop at 10 and make a new page and as more are added it keeps making pages every 10
     
  2. Offline

    yawkat

Thread Status:
Not open for further replies.

Share This Page