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

    tysonzero

    when you ban some can you type /ban noob : for being nooby, and it will tell the player/server the description for why they are banned instead of or as well as the preset ban message. or even /ban noob : for being nooby : for griefing so that it would tell the player they were being nooby but the server that they were griefing. really only the first part is particularly necessary the second is just a possible idea, and the same for /kick and /pardon and such.

    does it support permissions so that instead of an op joining or a non-op its an admin a mod a reg a guest etc.

    oh and finally is there a way to make it so that when a player joins the server for the first time ever it displays a different message like maybe a welcome message?

    thanks in advance, i plan on using this on my server once its all set up
     
    Lucke1234 likes this.
  3. Offline

    Lucke1234

    I will try to add everything exept the permission support, to version 0.6. :)
     
  4. Offline

    tysonzero

    ok thanks dude sounds awesome. i will almost certainly use this plugin on my bukkit server once its all up and running if you get these things working :D and how come no perm support, i don't mind to much but it would be cool
     
  5. Offline

    gabripj

    Have a way to disable some messages?!
     
  6. Offline

    Lucke1234

    Leave blank?
    Like:
    Code:
    MessageToAll: ''
    
     
  7. Great plugin, only problem I'm getting is this. When banning somebody, this is the first screen they see:[​IMG]

    Now the "MessageToPlayerIfIsBanned is the message below.

    Code:
        #The message the banned player will get:
        MessageToPlayer: '&GOLDYou were &REDbanned &GOLDby &AQUA%banner name%'
    
        #The message the banned player will get on join:
        MessageToPlayerIfIsBanned: '&REDYou are banned from this server!
    Mm. How do I prevent this? That the "MessageToPlayerIfIsBanned" is shown on the bad screen. Possibly a bug?
     
    Lucke1234 likes this.
  8. Offline

    gabripj

    The problem is he send a blank message, have a way do really disable somes?!
    please put this in plugin!
     
    Lucke1234 likes this.
  9. Offline

    moodoggy

    I am not getting a folder when putting this into my Plugins folder! Please help I really need this plugin!
     
  10. Offline

    Lucke1234

    Try to add a ' in the end of the code you showed.

    I will try to fix that so soon I can.

    I had that in all previous versions, but it got removed when I reorganized the source last time.
    I'll add it again to version 0.6 ;)

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

    gabripj

    in waiting for that, thank you!
     
  12. Offline

    moodoggy

    Thanks mate. Is it just me or is it plugin? I will look foward to this working! Thanks
     
  13. Offline

    gabripj

    How many time for you put the 0.6 ?!
    in very interesting! ^^
    Ty
     
  14. Offline

    Lucke1234

    I have been on vacation in two weeks now, 5000 miles away from my "plugin workstation". So I have not been able to update the plugin.
    On the other side, I am back now and ready to work on Announcements version 0.6.

    Thanks you're right. I missed it when I debugged the code. :D
    Use the Preview-release ;)

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

    Lucke1234

    Does that need any other plugin? It doesn't work for me when I try.
     
  16. Offline

    galking

    Would you please add death message to the plugin?
    Anyway, this plugin is awesome!
     
  17. Offline

    tysonzero

    i think you can code that in without any other plugins. one way you could do it so that the command that is used to ban someone with the description changes the default message then bans them showing the message then auto-changes back once it has been broadcasted.
     
  18. Offline

    Lucke1234

    I really recommend you to use @Don Redhorse's DeathTpPlus. It is awesome and have all those functionality you need.
     
    Don Redhorse likes this.
  19. Offline

    snoopy1999

    Very nice plugin:D It works perfect for my little server! Wonderful plugin, and update it when it is a new patch!
     
    Lucke1234 likes this.
  20. Offline

    Lucke1234

    You just got your first like on a message :D
     
    snoopy1999 likes this.
  21. Offline

    DragOn1996PL

    maybe you add option for change name of console
     
  22. Offline

    Lucke1234

    I've done that now :)
    It will be in version 0.6.
     
  23. Offline

    davvem

    Request please: Add so you can type the reason, e.g You can type /ban Random_name 1 day griefing? Possible?
     
  24. Offline

    Lucke1234

    Yes
     
  25. Offline

    Auy658

    What i'm doing wrong?? 2012-01-12 20:17:30 [SEVERE] Could not load 'plugins/Announcements.jar' in folder 'plugins': java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.ExceptionInInitializerError at me.lucke1234.announcements.Announcements.<init>(Announcements.java:17) ... 13 more Caused by: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197) at java.awt.List.<init>(List.java:233) at java.awt.List.<init>(List.java:188) at me.lucke1234.announcements.AnnouncementsPlayerListener.<clinit>(AnnouncementsPlayerListener.java:21) ... 14 more
     
  26. Offline

    Lucke1234

    You are not doing anything wrong, but there is a bug in v0.5 that don't like remote servers.
    Please test the 0.6 Preview-release. I think it work there ;)
     
  27. Offline

    Auy658

    I tested 0.6 too, but it didn't work yesterday at least ( i'm going to test again when i'm coming home :) )

    Btw do this means i can't use Vault or just that it's not needed? :/
    To do


    0.6 didn't work either same error!

    2012-01-13 18:52:23 [SEVERE] Could not load 'plugins/Announcements.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ExceptionInInitializerError
    at me.lucke1234.announcements.Announcements.<init>(Announcements.java:26)
    ... 13 more
    Caused by: java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
    at java.awt.List.<init>(List.java:233)
    at java.awt.List.<init>(List.java:188)
    at me.lucke1234.announcements.AnnouncementsPlayerListener.<clinit>(AnnouncementsPlayerListener.java:20)
    ... 14 more

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

    Lucke1234

    Yeah I saw that ;(. But in the real 0.6 it will be fixed.
    I've added the real fix now. ;)
    I will update the plugin as soon I can.

    The to do list shows what I will try to add before I update Announcements.
    Vault support is updated but is not yet released due to some other bugs. :)

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

    Averus

    love it, waiting for fixes
     
  30. Offline

    alloc

    What about to change "Bad login" message?
     
  31. Offline

    Lucke1234

    Good idea, I will look on that ;)
     

Share This Page