Inactive [ADMN/CHAT/INFO] Announcements v0.6 - Custom messages on Join, Left, Kick, Ban and much more! [1597]

Discussion in 'Inactive/Unsupported Plugins' started by Lucke1234, Aug 21, 2011.

  1. Offline

    Lucke1234

    Announcements - Custom Messages On Join, Left, Kick, Ban, Pardon and more:

    Version: 0.6

    Moved to BukkitDev!
     
    Averus and lucoatom like this.
  2. Offline

    JOPHESTUS

    Thank you very much lucke i will download it when i get home :)
     
    Lucke1234 likes this.
  3. Offline

    user_43347

    Welcome to Bukkit, good job, but you might want to check the spelling in your config ;).
     
    Lucke1234 likes this.
  4. Offline

    Lucke1234

    Thanks, I will

    Fixed ;)

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

    JOPHESTUS

    When I ban a player it doesn't come up with any message, it shows the login message though
     
  6. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    @Lucke1234 I would suggest changing the onPlayerJoin and onPlayerQuit to replace the actual login/quit message instead of doing this.plugin.getServer().broadcastMessage(message).

    So that'd be event.setQuitMessage(message) and event.setJoinMessage(message)

    They will automatically be sent to all players on the server, as those methods cause the normal "Player has joined the game." to be replaced with what you give it
     
  7. Offline

    Tauryuu

    The problem is this plugin doesn't suppress the original Join and Leave messages...
     
  8. Offline

    Lucke1234

    Thanks @mbaxter for your attention. ;)
    Will be fixed in version 0.3

    It only shows a message if an Op ban the player

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  9. Offline

    JOPHESTUS

    Ok thanks

    As you may know essentials doesn't use the 'banned-players.txt' file, would you be able to make it work with essentials (/ban /eban /unban /eunban) instead of the bukkit banning system [so it doesn't require op status]?

    If this is possible it would be so awesomely good.
    Thanks,
    ~JOPHESTUS

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  10. Offline

    Lucke1234

    I will try to make it work :)
     
  11. Offline

    JOPHESTUS

    Thank you so very much :)
     
    Lucke1234 likes this.
  12. Use PlayerCommandPreprocess and catch /kick, /tempban, and /ban.
     
  13. Offline

    MonsieurApple

    Approved, but please look to the future: BukkitDev.
     
  14. Offline

    RazorFlint

    It would be very cool if you could get the reason! :)
     
  15. Offline

    Xadiant

    Very good! I love minimal plugins like this!
     
    Lucke1234 likes this.
  16. Offline

    Mrbeatenbagel

    Code:
    #
    #Setting For Announcements:
    #
    
    #If you leaves any field blank, it will not be effected by this plugin.
    Ban:
        #The message all players will get when someone get banned:
        MessageToAll: '&AQUA%banned name% &REDgot banned by &AQUA%banner name%'
    
        #The message the banned player will get:
        MessageToPlayer: '&REDYou were banned by &AQUA%banner name%'
    
    Kick:
        #The message all players will get when someone get kicked:
        MessageToAll: '&RED%kicked name% &REDwas kicked by &RED%kicker name%'
    
        #The message the kicked player will get:
        MessageToPlayer: '&REDYou were kicked by &RED%kicker name%'
    
    Pardon:
        #The message all players will get when someone get pardoned:
        MessageToAll: '&AQUA%pardoned name% &GREENis pardoned by &AQUA%pardoner name%'
    
    Join:
        #The message all players will get when someone join:
        MessageToAll: '&AQUA%name% &AQUAlogged in on the server'
    
        #The message the player who join will get (motd):
        MessageToPlayer: '&AQUAWelcome &AQUA%name% &AQUA to the server'
    
    Left:
        #The message all players will get when someone left:
        MessageToAll: '&LIGHT_PURPLE%name% &LIGHT_PURPLEleft the server!'
    
    #DON'T edit this line:
    version: 0.3


    Use that for the config file instead please? you can change the colors but the grammar got to me. Sorry XD...
     
  17. Offline

    REALDrummer

    Hello.
    I have set up everything with this plugin except for the login and logout messages. For some reason, although I changed the login and logout messages in the "config" file, I only recieve the default login and logout messages. Would anyone be able to help with this problem? Thank you in advance.
    Also, to the creator of this plugin, I hate to ask you to do so much, but would it be possible to allow ops and regular players to have different login and logout messages?...or perhaps even allow any player to customize their login and logout messages individually? If that were possible, that would be wonderful. Thank you again.
     
  18. Offline

    Lucke1234

    Sure :), it will be in the next version.

    Version 0.4 uploaded!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  19. Offline

    jespertheend

    can you add enters to the loginmessage?
     
  20. Offline

    Lucke1234

    write: \n
     
  21. Offline

    jespertheend

    thnks
     
  22. Offline

    jespertheend

    wait.... it doesn't work, it simply shows : \n in the loginmessage.
     
  23. Offline

    Lucke1234

    ok sorry, I fix it to next update.
     
  24. Hi lucke! im loving this plugin, but i have a question for you!

    When using essentials, and banning a player, it originally displays the ban message, but if they try to log into the server again, (while banned) it doesnt display THIS ban message over the essentials ban message. Is there any way to change that?
     
    Lucke1234 likes this.
  25. Offline

    Lucke1234

    Yes, it is. Let me think about it. ;)
     
  26. Would you mind sharing the source?
     
  27. Offline

    Medessec

    I'd like to see that the custom kick/ban messages also include the reason, although this might require some integration with Essentials?
     
  28. Offline

    Lucke1234

    No

    It will be in version 0.5
    I thought that was included in orginal server, but no.
    So it won't be in v. 0.5 :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  29. Offline

    jespertheend

    maybe you should change 0.3 to 0.4 in the title
     
  30. Offline

    Medessec

    schweet.
     

Share This Page