Question Register messages, and get them on command.

Discussion in 'Bukkit Help' started by Rambokatt, Jul 18, 2015.

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

    Rambokatt

    Hello, I'm currently learning programming.

    So I'm doing a plugin request. What I don't know how to do is, registering messages, and get them on command.

    What I know how to do is get the message and put it in the config with the sender, but how would I get the messages out from the config as a list, example:

    **Player types /feedback read**

    **Player gets message**
    Recent server feedback.
    - "Nice server, like it a lot" - <Player1>
    - "I dont like this server" - <Player2>
    - "thx i liek dis server alot" - <Player3>

    And then the problem, check if the list contains more than 10 feedback lines on each page. If it contains 10 messages on the first page, it'll create a new page, example:

    **Player types /feedback read 2**
    // Blabla, other messages.

    EDIT: Can someone change this to Plugin development forum? :)
     
    Last edited: Jul 18, 2015
Thread Status:
Not open for further replies.

Share This Page