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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Announcements - Custom Messages On Join, Left, Kick, Ban, Pardon and more:

    Version: 0.6

    Moved to BukkitDev!

    This post has been edited 20 times. It was last edited by Lucke1234 Jan 21, 2012.
    Averus and lucoatom like this.
  2.  
  3. Offline

    JOPHESTUS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank you very much lucke i will download it when i get home :)
    Lucke1234 likes this.
  4. Offline

    nkrecklow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Welcome to Bukkit, good job, but you might want to check the spelling in your config ;).
    Lucke1234 likes this.
  5. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks, I will
  6. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Fixed ;)
  7. Offline

    JOPHESTUS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When I ban a player it doesn't come up with any message, it shows the login message though

    This post has been edited 1 time. It was last edited by JOPHESTUS Aug 22, 2011.
  8. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @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
  9. Offline

    Tauryuu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The problem is this plugin doesn't suppress the original Join and Leave messages...
  10. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks @mbaxter for your attention. ;)
    Will be fixed in version 0.3
  11. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It only shows a message if an Op ban the player
  12. Offline

    JOPHESTUS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  13. Offline

    JOPHESTUS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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

    This post has been edited 2 times. It was last edited by JOPHESTUS Aug 23, 2011.
  14. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I will try to make it work :)
  15. Offline

    JOPHESTUS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank you so very much :)
    Lucke1234 likes this.
  16. Offline

    tips48

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Use PlayerCommandPreprocess and catch /kick, /tempban, and /ban.
  17. Offline

    MonsieurApple

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Approved, but please look to the future: BukkitDev.
  18. Offline

    RazorFlint

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It would be very cool if you could get the reason! :)
  19. Offline

    Xadiant

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Very good! I love minimal plugins like this!
    Lucke1234 likes this.
  20. Offline

    Mrbeatenbagel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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...
  21. Offline

    REALDrummer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  22. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sure :), it will be in the next version.

    This post has been edited 2 times. It was last edited by Lucke1234 Oct 29, 2011.
  23. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Version 0.4 uploaded!

    This post has been edited 1 time. It was last edited by Lucke1234 Oct 29, 2011.
  24. Offline

    jespertheend

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can you add enters to the loginmessage?
  25. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    write: \n
  26. Offline

    jespertheend

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    thnks
  27. Offline

    jespertheend

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    wait.... it doesn't work, it simply shows : \n in the loginmessage.
  28. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok sorry, I fix it to next update.
  29. Offline

    The Zombie Blarger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  30. Offline

    Lucke1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, it is. Let me think about it. ;)
  31. Offline

    The Zombie Blarger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Would you mind sharing the source?

Share This Page