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

    JC6139

    Is there a way you can modify it for different logins using the GroupManager? Example, say I have an Admin, I'm the Owner and so forth. Is there a way to make custom login messages for each Admin, Owner, Mod and so on and so forth?
     
  3. Offline

    Lucke1234

    Woops, thanks!

    No, it is not possible to do that yet.

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

    Medessec

    Also-if you could incorporate a way to allow the original set colors for ranks to show in the login, logout custom messages... that'd be friggin awesome
     
  5. Offline

    Lucke1234

    and very complicated to create, maybe in the future ;)
     
  6. Offline

    TheGrimBear

    Well done not a major plugin but very very useful thanks
     
    Lucke1234 likes this.
  7. Offline

    Lucke1234

    Update v0.5 will probably be after Bukkit is updated for Minecraft 1.0.0. Please report all bugs you find.
     
  8. I am an op and when i log in i get both messages. "welcome admin.....ect" and "an admin has logged in". what is going wrong here? any ideas?
     
  9. Offline

    Lucke1234

    Please wait to the plugin is updated.
    I think that issue will be fixed.

    Thanks for using my plugin.
     
  10. Thanks
     
  11. i think it should be possible.. (forgive any mistakes i make, im new to java) If you have the configuration file set up to have groups listed (this is very rudimentary, since i dont know if its possible to check if a user is part of a group) for instance, (in the config)
    groups:
    admin:
    leave:
    join:
    op:
    leave:
    join:
    player:
    leave:
    join:

    Etc. Get the list of keys for groups, set it to an array, and whenever the player join/leave listener triggers, have it check:
    for(int i=0;i<keyArray.length;i++){
    if(player.hasPermission("groups."+keyArray){
    //send a message to all players getConfiguration().getString("groups.admin.join/leave") etc
    break;
    }
    }
    Or something like that. However, there probably WOULD be issue with permission inheritence... but im positive theres a way around it!
     
  12. Offline

    Lucke1234

    I'm also new to Java and this is my first plugin, but maybe in the future I will try out GroupManager and learn how to handle it with my plugin.
     
  13. Offline

    Jobsti

    Heyho, an update would be very nice!

    Request:
    Permission.Nodes. so we could set custom messages for some Groups.
    Why? Our users could directly see on Userjoin, if it's a guest or a member, admin, mod etc.

    Info:
    I'm using your plugin since v 0.1, Iove it, thanks for it!
     
    Lucke1234 likes this.
  14. Offline

    Lucke1234

    Update 0.5 includes
    • Bugfixes
    • Left messages for OPs
    • ReasonĀ“s for kick
    • and more
    The update will be released with next recommended build for Bukkit.
    Permissions compatibility will probably come soon. :)
     
  15. Offline

    jmbftw

    Will this plugin be affected by message changer lite?
     
  16. Offline

    Lucke1234

    Yes, the plugins almost do the same thing.
     
  17. Offline

    jmbftw

    ok thanks
     
  18. Offline

    Lucke1234

    But you can try if the server stop message work.
    I think my plugin's messages overrides his pluginĀ“s messages, so please try the next version of my plugin when I release it. ;)
     
  19. Offline

    Don Redhorse

    could well be.. I'm just wondering why you would need both?
     
  20. Offline

    Lucke1234

    My plugin dosen't change the server stop message (yet ;)).
     
  21. Offline

    Don Redhorse

    ah... well copy the code from "my" plugin.. frozenbrain figured out how to do it.. it is not nice but it works..
     
    Lucke1234 likes this.
  22. Offline

    Lucke1234

    @Don Redhorse
    But on the other side, I have done everything myself yet :cool:.
     
  23. Offline

    Don Redhorse

    no probs... that is what oss is about... giving credit and reusing code... and if not reusing at least using other code to get the idea on how to solve a problem and make the code better..
     
  24. Offline

    Lucke1234

    Ok, thanks!
     
  25. Offline

    kevingb83

    Can you mix permission for grades please

    Can you help me please ?

    2011-12-17 17:02:19 [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(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    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(Unknown Source)
    at java.awt.List.<init>(Unknown Source)
    at java.awt.List.<init>(Unknown Source)
    at me.lucke1234.announcements.AnnouncementsPlayerListener.<clinit>(AnnouncementsPlayerListener.java:21)
    ... 14 more

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

    Lucke1234

    Not now, but maybe later

    Can you please add a ticket on my BukkitDev plugin page or tell me which CraftBukkit build you are using?

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

    dudekkris3

    i have the same problem , and i'm using CB version 1975 ;/
     
  28. Offline

    kevingb83

    I use CraftBukkit #1602 for 1.0.1 -> But it is an other plugin that bug, because when I have no other plugin, it works very well .. (Sorry, I'm French).
     
  29. Great Update, fixed issues i was having :D

    thanks
     
  30. Offline

    OverSizedRabbit

    you need to add permissions so that certain users dont get the announcements like on my server i have donators and i want to make it so that if someone is a donator they dont get announcements to buy donator. If you do add make sure that you can make it for certain announcements.
     
  31. Offline

    MariuszT

    Here the same problem. CB 1612 (tested also on 1597). Plugins:
    CommandHelper, Multiverse-Core, Multiverse-Portals, NoCheat, Orebfuscator, PermissionsBukkit, properTime, Ptweaks, ScheduledAnnouncer, SuperpermsBridge, TerrainControl, WorldBorder, WorldEdit, WorldGuard
     

Share This Page