Filled MOTD Auto Changer

Discussion in 'Archived: Plugin Requests' started by The Fancy Whale, Dec 24, 2013.

  1. Offline

    The Fancy Whale

    Plugin category: Admin Tools, Informational

    Suggested name: MOTD Auto Changer

    What I want: On many servers now I see constantly changing MOTD's. Every time I refresh my multiplayer servers the servers have new MOTD's. I was hoping to get a plugin where you could make a list of MOTD's and have them cycle through. Thanks!

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: No permissions necessary.

    When I'd like it by: Doesn't really matter.
     
  2. Offline

    Pimp_like_me

    I'll try to do this, doesn't seem that hard really. I'll have it done easily today / tomorrow
     
  3. Offline

    The Fancy Whale

    Thanks!
     
  4. Offline

    mazentheamazin

  5. Offline

    Pimp_like_me

    Well thanks for ruining my fun mazentheamazin But still I'm almost finished :D
     
  6. Offline

    mazentheamazin

    Pimp_like_me
    Don't worry ;) I don't think he'll look at that now anyways since you're doing it.
     
  7. Offline

    Pimp_like_me

    mazentheamazin Lol hopefully, i mean its Christmas for me right now so i decided to give someone a little present :)
     
  8. Offline

    extended_clip

    I have made a custom motd plugin that cycles throught stats collected in real time. Motd will show most recent voter, how many times the server was voted for this month, how many staff are online, how many of each rank are online, and many more things. You can check it out at ecp.faxionmc.com. I have been thinking about releasing it public with a generalized set of stats to display, as my stats were made to fit my server. Let me know if you are interested and I might hurry and make a public version.
     
  9. Offline

    Pimp_like_me

    The Fancy Whale Alright, finished :) <Edit by Moderator: Redacted mediafire url>

    Commands: /Motd
    Permissions: SlyMotd.use (To be able to use /motd)

    If you have any problems, need any additions, or if there are any bugs, just tag me in a post or PM me.

    Have a merry christmas
     
    Last edited by a moderator: Nov 4, 2016
    The Fancy Whale likes this.
  10. Offline

    The Fancy Whale

    Pimp_like_me Thanks Ill try it out!

    Pimp_like_me Can you add support for 2 lines?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  11. Offline

    Pimp_like_me

  12. Offline

    malandrix_bunny

    He meens two lines in the motd which can be achieved by /n
     
  13. Offline

    Pimp_like_me

    Wow, well that seems a bit harder than expected. I can't seem to find a way to be able to do this, Sorry
     
  14. Offline

    Rockon999

    Pimp_like_me The Fancy Whale
    1) If your plugin stores the MOTDs in YAML format simply open the config and do this:
    MOTD-HEADER:
    - This is my first motd
    - "To make a two line motd I need quote \n You NEED the quotes!"

    ... Of course replace the MOTD-HEADER with whatever the plugin uses.

    2) To implement two line you need to either add a code for it (like &p or something) or replace \n in chat. \n is automatically turned into \\n so you'd have to do a .replaceAll("\\n", "\n"); (or .replaceAll("&p", "\n"); ) :)
     
  15. Offline

    Pimp_like_me

    Rockon999 The thing is i dont know how to set two lines of the motd in my plugin
     

Share This Page