Filled MOTD per World Plugin

Discussion in 'Archived: Plugin Requests' started by KenoVincent, Jun 22, 2014.

  1. Offline

    KenoVincent

    CGA1123 Oh WOW!.. Thank you so much in advance sir..
     
  2. Offline

    CGA1123

    KenoVincent
    <Edit by Moderator: Redacted mediafire url>

    Add sound: "SOUNDNAME" to the wold you wish to play sound on. Sound names can be found here.
     
    Last edited by a moderator: Nov 2, 2016
    KenoVincent likes this.
  3. Offline

    KenoVincent

    CGA1123 Sir How to add the sound name in the config?
     
  4. Offline

    CGA1123

    KenoVincent
    Code:
    motds:
      world:
        motd: "&fHey, &3%Player&r, you have just joined the world: &6World&f."
        sound: "SPLASH"
    If you do not wish there to be a sound, add nothing.(do not add 'sound:')
     
    KenoVincent likes this.
  5. Offline

    KenoVincent

    CGA1123 Sir it did worked properly and smoothly in my server without leaks. I really really am thankful for fulfilling my request. And I sure will enjoy what you provided for me..

    Thank you so much!
     
    CGA1123 likes this.
  6. Offline

    CGA1123

    KenoVincent likes this.
  7. Offline

    KenoVincent

    CGA1123 I will be using this always in any server that I have. Please if you have further enhancements please continue developing this?
     
  8. Offline

    CGA1123

    KenoVincent likes this.
  9. Offline

    EddieFriday

    CGA1123
    Can I request for an update with this? I want to add the MOTD in per line basis so I can format it better. I dont want to use \n its kind of trial and error.
    I hope you understand why I need it?
     
  10. Offline

    CGA1123

    EddieFriday
    I could do this.
    But why is the \n not good enough?

    Sorry for the late reply, I'm in France with no computer.
     
  11. Offline

    TsungKarla

    CGA1123 I guess the reason to that will be to take away the hassle of inlining the text?

    It would be great that it will call for a .txt file for MOTD so like the essentials that will be per line?
     
  12. Offline

    EddieFriday

    CGA1123
    I just would like to make it easy to config. I hope it is ok with you?
     
  13. Offline

    CGA1123

    EddieFriday TsungKarla
    Done! It was a quick change!
    Changed the permissions. Use pwmotd.receive to allow a player to receive the motd
     
  14. Offline

    EddieFriday

    CGA1123
    Thanks man. So pleased to have a dev like you here..

    EDIT:

    By the way how should the CONFIG should be like?
     
  15. Offline

    CGA1123

    EddieFriday
    Code:
    ##PerWorldMOTD v1.5 by CGA1123
    ##Configuration File
    #
    #FORMAT:
    #motds:
    #  WORLDNAME:
    #    motd:
    #      - "&3Line1"
    #      - "&4Line2&r"
    #    sound: "SOUNDNAME"
    #    joinmsg: "MESSAGE"
    #    leavemsg: "MESSAGE"
    #  WORLDNAME2:
    #    motd:
    #      - "Line1"
    #    joinmsg: "MESSAGE"
    #    leavemsg: "MESSAGE"
    #
    ##Set whether you want to use per world join/leave messages
    #
    usecustomjoinleave: true
    #
    ##Sound names can be found at: http://jd.bukkit.org/rb/apidocs/org/bukkit/Sound.html
    #Use '&' for coloring the message.
    #Use '%Player' to get player Display Name.
    motds:
     
  16. Offline

    EddieFriday

    CGA1123
    Thanks so much.. This is so useful to me..
     
    CGA1123 likes this.

Share This Page