1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

LilyAlert - Cross server broadcast

Discussion in 'Legacy Bukkit Plugins' started by confuser, Jun 16, 2013.

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

    confuser Member Resource Contributor

    Commands
    /alert <message>
    /alert reload

    Permissions
    lilypad.alert

    Configuration
    serverUsernames:
    - pvp
    - hub
    format: '&b[Alert] '

    Note: If you do not define serverUsernames, then all servers will show the broadcast. However, if you do define specific server usernames then you must include the server username of the server the plugin is on as well!

    Download
    Source
    Licence

    Change Log
    1.1
    - Now broadcasts to all servers if no serverUsernames are defined.
    1.0
    - Initial release.
  2. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Nice plugin! One tip though: When you're using a MessageRequest, you don't need to pass a single username. You can pass a List of usernames.

    On top of this, if you pass an empty list (which you can conveniently find from Collections.EMPTY_LIST), then it'll automatically broadcast it to everyone server on the network :)
    • Informative Informative x 1
  3. confuser

    confuser Member Resource Contributor

    Wasn't aware of that, I think I'll make it optional as sometimes it's nice to be able to broadcast on a select number of servers rather than all of them.


    Updated - 1.1
    Now broadcasts to all servers if no serverUsernames are defined
  4. CMonster95

    CMonster95 New Member

    Good work! Some suggestions if you are looking to add features:
    • add name of sender before the message
    • integrate cross-server whisper
    • integrate colorized titles (I would recommend using Vault)
    I look forward to future updates.
  5. Jaynix

    Jaynix New Member

    Can you use color codes?
  6. Malo

    Malo New Member

    Been wanting this since the lilypad came out. thanks :D
  7. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Would it be fine for me to close this thread now that you have made a resource addition? :)
  8. confuser

    confuser Member Resource Contributor

    Yep :)
Thread Status:
Not open for further replies.

Share This Page