[INFO] LoginMessage v0.8.1 - Custom messages for login, command, death events and more! [1.2.5-R2.0]

Discussion in 'Plugin Releases' started by Tahkeh, Jan 8, 2011.

     
  1. Offline

    Tahkeh

    LoginMessage - version 0.8.1 - CraftBukkit build #1.2.5-R2.0
    Thank you LoginMessage users!

    LoginMessage is not just an MOTD plugin, as the name might suggest. It allows you to personalize your server with custom messages, with many different "message events" to choose from; like a player logging in (recurring or newcomer), a player quitting or being kicked, a player dying, a player typing a command, and a message to automatically go off at a given interval!

    Features:
    • Infinite amount of messages
    • Customize who receives and triggers your message
      • Specifically include/exclude: users, Permissions groups, ops, users with a given permission
    • Message events for logging in (recurring or newcomer), logging out, being kicked, typing a command, dying, and an automatic message that will go off at a given interval
    • Use "codes" to display dynamic values; i.e. the player's name, the online list, server time, etc.
    • Compatible with all 16 Minecraft colors
    • iConomy/BOSEconomy and Permissions/SuperPerms support (see readme)
    • Thorough documentation and reference
    [IMG]
    LoginMessage is now (more officially) on DevBukkit! Click the above icon to go to its page.
    [IMG]
    LoginMessage now has a wiki! Click the above image to go to it, hosted by the generous @RTRD. ;)

    READ: You must reload the server after LoginMessage downloads the BukkitPluginUtilities dependency for it to work! If you get an "Unable to install" message, download BPU here and place it in your "lib" directory. Then, rename it to "BukkitPluginUtilities".

    Download LoginMessage v0.8.1
    Download previous versions (from 0.7.1)
    Source

    To use locating features, download the GeoIP City database and extract it to your LoginMessage folder.

    Changelog:
    • [0.8.1] - From now on, changes can be viewed here.
      • Added: New groups config field for permissions-based groups for the %group code, new item/block IDs for latest Minecraft versions
      • Updated: Default death messages for magic death cause, greatly improved death handling system to be much less bug prone
      • Fixed: The slash in the usage for the LoginMessage command has been moved ("lmsg/" to "/lmsg")
      • Removed: priority config field (could not be kept in new Bukkit event system transition)
    • [0.8] - Many changes in this update. Please read here.
    • [0.7.2.2] - Updated to BukkitPluginUtilities 1.2.1, added file size to the download log, added a check to create the lib folder if it's not already there, and removed exception when BPU is not found.
    • [0.7.2.1] - Added more detailed I/O exception log and removed unnecessary file loading.
    • [0.7.2]
      • Added: BOSEconomy support, SuperPerms support, negative node option, permissions node, persistence support, %laston code, %an% special code, random messages, default %ol code, firstlogin event, BukkitPluginUtilities library, config.yml GeoIP "fail" fields
      • Changed: useico and useper to new plugins node, documentation
      • Removed: local fields in config.yml
      • Fixed: NPE for SuperPerms users, quit event being triggered by kick
    • [v0.7.1] - Fixed a ton of bugs. Added op group. Removed Message.txt. Rewrote documentation.
    • [v0.7] - Added new command and kick events, added two files for creating messages, changed Settings.properties to config.yml, added the ability to configure what to show for %time, added the ability to give messages cooldown and delay timers, and fixed various bugs.
    • [v0.6.61] - Fixed a problem causing lag to anyone logging in.
    • [v0.6.6] - Added in new server time code, added Use-iConomy and Use-Permissions fields in Settings.properties, local fields now auto-fill, and added the QuitMessage.
    • [v0.6.5] - Fixed bug where the login/broadcast message wouldn't show the display name. Also added in a few more codes.
    • [v0.6.4] - Updated to latest iConomy and Permissions versions, also got rid of the now-unnecessary %cur code.
    • [v0.6.3] - Added two new codes (%sp and %dpol) and new Settings.properties field allowing you to get rid of the default login message (i.e. "Player has joined the game.").
    • [v0.6.2] - Fixed command issues. Also added new code called "%dpnm".
    • [v0.6.1] - Updated to support CraftBukkit build #617, also fixed Permissions errors.
    • [v0.6] - Now uses the GeoIP database instead of InetAddressLocator. Added new codes and new fields in Settings.properties.
    • [v0.5.4] - Updated to work with the new PLAYER_COMMAND_PREPROCESS event.
    • [v0.5.3] - Updated iConomy API to version 4.0, Permissions API to 2.5. If you have a lower version of either of these plugins, you have to update!
    • [v0.5.2] - Updated iConomy API to version 3.0. If you have iConomy and LoginMessage, make sure you update your iConomy to 3.0!
    • [v0.5.1] - Updated the external jars, might have helped a bit in the whole Permissions bug.
    • [v0.5] - Added /motd option and new codes! Look below for details.
    • [v0.4.3] - Quick update; just recompiling to possibly fix a problem someone had.
    • [v0.4.2] - This time, I did fix the iConomy bug.
    • [v0.4.1] - Fixed a bug that forced you to have iConomy.
    • [v0.4] - Now using iConomy API. Also removed Money-Name in Settings.properties.
    • [v0.3.1] - Fixed duplicate broadcast message bug. Also re-added support for %max!
    • [v0.3] - LoginMessage folder is now relocated to /plugins/LoginMessage; LoginMessage creates separate files for the login message, broadcast message, and settings. This also means you can update each file without having to restart or even reload your server.
    • [v0.2] - Added in the broadcast message and %locale and %country codes.
    • [v0.1] - LoginMesage's release.
    LoginMessage Team:
    v0.9 features (subject to change):
    • SpoutCraft GUIs
    • Uptime code
    • RSS event
    • World change event
    • User-defined methods
    • Ability to download/update/remove GeoIP via commands
    • Message editing via commands
    • Message logging
    Thank you to...
    • tkelly for helping me previously with LoginMessage and other programming in general!
    • Lance, xZise, and jwideman for helping me and other LoginMessage users!
    • NateLogan for giving me the method to find the IP of the server!
    • xZise again for all the great help he has given me with this plugin in general!
    • mathmaniac43 for testing, fixing problems I was stuck on, and overall being a big help! Check out his awesome plugin!
    • GameFreakDude, khamseen_air, Sorken, xZise, an0x, and mathmaniac43 for testing LoginMessage 0.7.1 and LoginMessage Interface!

    This post has been edited 46 times. It was last edited by Tahkeh May 18, 2012 at 8:52 PM.
  2.  
  3. Offline

    Tahkeh

    Their language shows up as nothing? That's never happened to me before. Can you give the exact sentence in which you put %locale?
    That's weird; maybe the latest CraftBukkit broke LoginMessage. I'll check it out.

    Edit: If both of you have the latest CB, that actually might be the cause of both problems. Let's see.
  4. Offline

    SpyDaniel

    This is in my BroadcastMessage.txt file

    Code:
    &2%nm&b logged on and their language is %locale.
  5. Offline

    Tahkeh

    I just released a quick update. Tell me if it works now! :)
  6. Offline

    SpyDaniel

    It still leaves out the language.
  7. Offline

    Tahkeh

    It is completely blank? It just replaces %locale with absolutely no string of text whatsoever?
  8. Offline

    SpyDaniel

    It is completely blank, no text at all is displayed.

    But then for other players, it will display the language. Kind of 50/50 at the moment, some have their language displayed, others do not.
  9. Offline

    Tahkeh

    Is there any pattern on who's language is/isn't displayed?
  10. Offline

    SpyDaniel

    Not really. People logging in from the UK will have missing language and some will have their language displayed. Might it be due to a firewall on the clients computer, blocking the plugin from getting their IP to check for their location?
  11. Offline

    Tahkeh

    I don't know much about firewalls and IPs and all that business, but LoginMessage should be able to get your IP. After all, you can see someone's IP via the console when they log in to the server.

    Tell me if you make any new discoveries. Meanwhile, I'll add in new LM content and see if I can find a better system to get someone's country/language.
  12. Offline

    SpyDaniel

    Right, tested it on my local machine and it said what language I was. But on my game server it wont tell me what my language is.
  13. Offline

    poopiepants

    The only problem I have is that most people know the login message as /motd and if they type that in nothing happens.

    I tried using this plugin in conjunction with mcdocs but then I don't see the output from loginmessage.

    If you do make an option for /motd you need to edit essentials so they don't collide. :(

    My essentials doesn't handle my motd or rules.
  14. Offline

    SpyDaniel

    My server would crash my client and everyone elses client if I had multiple iChat commands on the same line, in the login-message file. Just spent the past 20 minutes figuring it out, testing what plugins caused the server to crash the client/browser. Just letting you know.

    Example:

    &biConomy&f /money help, &aBetterShop&f /shophelp
    &eiMonster&f, &dLWC&f /lwc, &2Tombstone&f
    &aPreciousStones /ps (check spawn for info)
    &4Nether&f is disabled

    ^ Would crash players clients/browser
  15. Offline

    pvtv3ga

    This doesn't work. Supposedly when you run the plugin for the first time it's supposed to load those three text files, mine only loads settings.properties.
  16. Offline

    Tahkeh

    Sorry, I've had a busy week/end. I think LoginMessage has been broken again, so I'll work on that. And when I say "work on that" I literally mean work on that, as I have time now and I'll be trying to get out some new LM content besides bug fixes.

    So you all stay tuned, I haven't left you yet. :p

    I'm not sure what you are saying. Do you mean that iChat is causing a conflict with LoginMessage? Please explain a little better. :)

    Okay, I'll make sure to put that as an option in Settings.properties.


    You're supposed to have three files in your folder. Then you put text in them, and they'll show when you log in (details in the OP).

    Are you saying you have text in the files, yet nothing appears when you log in?
    --- merged: Feb 23, 2011 7:08 AM ---
    LoginMessage has been updated! Read the changelog. :D Also, don't forget to report any bugs to me (because you know there will be bugs)! :p
  17. Offline

    Latros

    Does this plugin have the option to broadcast a message, from a group of messages, at a specific interval on the server?

    My server needs a very, VERY basic function;

    Set a # of messages, example;

    message1
    message2
    message3

    and every 3 minutes, go down a list and "broadcast" to the whole server, these messages, 1 by 1

    very simple, and I can see most servers needing something like this, eg "Donate to help keep the server running!" type deal, but I can't seem to find a plugin that does this!

    Does this plugin do that? Does anyone know of one that does?
  18. Offline

    lysandergray

    It appears LoginMessage 0.5 works fine if it's the only plugin installed, but when I put Permissions 2.1 alongside it, LoginMessage stops displaying anything.

    This causes two distinct error messages that I've seen:

    [SEVERE] Could not pass event PLAYER_JOIN to LoginMessage
    [SEVERE] Could not pass event PLAYER_COMMAND to LoginMessage

    The second one appears when I type /lmsg. Oh, err and I'm using craftbukkit 424
  19. Offline

    KiPiCoOl

    Hi

    I have this error since i update to 0.5

    Server Craftbukkit #425

    Code:
    java.lang.NullPointerException
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.sendMultiMessage(LoginMessagePlayerListener.java:235)
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.onPlayerJoin(LoginMessagePlayerListener.java:78)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:96)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:68)
            at net.minecraft.server.Packet1Login.a(SourceFile:46)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:34)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:252)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Thx for your Help
  20. Offline

    SpyDaniel

    Yes, it seems iChat is causing a problem.
  21. Offline

    xPaw

    dev.bukkit.org profile:
    xPaw
    My Plugins
    Looks like %perol does not take in account 'prefix' from users settings like this:
    And also it displays 'null' if suffix is empty and not ''
  22. Offline

    Tahkeh

    @Latros: I'm pretty sure AutoMessage does that.

    @lysandergray: and KiPiCoOl: Try updating to a later Craftbukkit, i.e. one that works on MC Beta 1.3+.

    @SpyDaniel: Update LoginMessage, CraftBukkit, iChat, and Permissions to their latest versions and see if it works! I have no idea why iChat would break LoginMessage...

    @xPaw: %perol was designed for group prefixes/suffixes, but if you want to I could add another code for users.
  23. Offline

    KiPiCoOl

    Hi

    i have the lastest build #431

    Code:
    [SEVERE] Could not pass event PLAYER_JOIN to LoginMessage
    java.lang.NullPointerException
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.sendMultiMessage(LoginMessagePlayerListener.java:235)
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.onPlayerJoin(LoginMessagePlayerListener.java:78)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:97)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:68)
            at net.minecraft.server.Packet1Login.a(SourceFile:46)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:34)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
  24. Offline

    Vortigern2008

    I'm having this problem too.
  25. Offline

    xPaw

    dev.bukkit.org profile:
    xPaw
    My Plugins
    Take a look on iChat, it takes in account these per-user values, so it's more correct
  26. Offline

    bevso

    does this work with new new minecraft version beta 1.3_01 ???
  27. Offline

    Tahkeh


    Yeah, I guess you have a point there. Will a user prefix will still include a group prefix?
    Again, please make sure your Craftbukkit is at least 443 which is what LoginMessage 0.5 is built on. This might be the cause of the problem. Also, please include more information when you report a bug. Thanks. :)
    --- merged: Feb 23, 2011 7:12 PM ---
    It works for 1.3, and there wasn't an update to minecraft_server.jar so yeah, it should still work . ;)
  28. Offline

    bevso

    so how do we type the stuff into login message and broadcast like what is the format
    --- merged: Feb 23, 2011 7:21 PM ---
    what is the format for login message and broadcast message like time colour message or somin?
  29. Offline

    Vaupell

    Where is build 443, i love this plugin but i can only find up to 432 atm ;)
    http://ci.bukkit.org/job/dev-CraftBukkit/

    So we wait for 443 ? or think its a typo ?
  30. Offline

    Lance

    Aw, I've got the very latest CraftBukkit (git-Bukkit-0.0.0-450-gd3c1ba4-b432jnks MC: 1.3 version) and although LoginMessage 0.5 loads up fine, there's an error showing whenever someone enters. You know, the problem with PLAYER_JOIN event that Vortigern2008 there mentioned. I don't have iChat, or something like this installed, so I don't know.

    Should I be waiting for the next Login Message update, or is there something else causing it?
  31. Offline

    Tahkeh

    Read the first post. Everything you need to know is there.

    Woops! I was looking at the wrong version. The server version is a long string of confusing text. I was looking at "443", but the right one was 421! Thanks for pointing that out! *embarrassed* :p

    What do you have installed? Anything chat related could cause a conflict. Then again, there might be some point in the code where it doesn't check to see if you have iChat and causes an error if you don't have it (an accident of course, like the iConomy problem).
  32. Offline

    bevso

    what is the format for messages? [colour] [time] message is that right ? please reply asap

Share This Page