[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

    @Eccentric Warmonger: It should tell you when you start the server. It'll say something like "b***" with the asterisks being the number. Also, can you show me the error if there is one? And what your .txt files look like?

    @Linaks: Do you have Permissions? If so, downgrade. IDK what GroupManager is, but all you need to do is find the "2.0" link on the Permission topic, and replace the Permissions.jar from that link with the one in your plugins folder.

    @glata: Please show me the error message. If you have Permissions 2.1 it might not work (even if you aren't using the Permissions related codes).

    Also, thanks Lance and jwideman for helping out while I was away today/yesterday. :)
  4. Tahkeh,

    Can you point me in the direction of the newest CB? Mine doesn't tell me anything when I start the server, so I could have an old or outdated CB version.

    Here are my text files:

    LoginMessage.txt: Hello &4%nm &fand welcome to the EG Minecraft server.
    Current players online: &3%ol.
    For a list of rules and to see the server mods,
    visit www.egclan.org


    The BroadcastMessage.txt is empty.

    Settings.properties:
    #Thu Feb 24 16:16:42 CST 2011
    iConomy-Currency=coins
    /motd-Command=true
    Broadcast-All=false

    Would you like the server.properties file as well? I think my CB build is: 450
    Implementation-Version: git-Bukkit-0.0.0-450-gd3c1ba4-b432jnks
  5. Offline

    Tahkeh

    Thanks, it tells me right there: b432jnks (Jenkins). Your build is 432, which LoginMessage should work on. Your LoginMessage.txt looks fine too...

    Does it show you an error message? If so, can you paste it here inside code tags? Also, do you have Permissions and/or iChat?
  6. Offline

    NOSDuco

    When someone logs on, It shows the loginmessage 3 times. How do i fix it?

    EDIT: I fixed it my self. No worries.
  7. Offline

    Tahkeh

    Somehow LoginMessage has been fixed.
    I was simply playing around with the code, updated LoginMessage, redownloaded Permissions 2.1, and it worked. I've updated LoginMessage.jar on Dropbox, so redownload it and Permissions 2.1. :) Also, make sure the config.yml file in your Permissions file is renamed to your default server world's name (mine is world.yml).

    Also thank Jambokid, he is the one that pointed out to me that LoginMessage works, you just have to rename that configuration file. Also, make sure to redownload Permissions 2.1 or the unofficial 2.2. There might have been some subtle fix when Nijikokun fixed the broken Permissions link.

    Edit: Also, of awesomeness, this is my 100th post.

    *cue: the first 3 verses of Portal's Still Alive*
  8. Offline

    xPaw

    dev.bukkit.org profile:
    xPaw
    My Plugins
    It throws exception for me on 0.5_1 :(

    Code:
    2011-02-26 10:57:39 [SEVERE] Could not pass event PLAYER_JOIN to LoginMessage
    java.lang.NullPointerException
    	at com.tahkeh.loginmessage.LoginMessagePlayerListener.sendMultiMessage(LoginMessagePlayerListener.java:236)
    	at com.tahkeh.loginmessage.LoginMessagePlayerListener.onPlayerJoin(LoginMessagePlayerListener.java:79)
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:125)
    	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:98)
    	at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    It worked on 0.5, but the %perol didn't work there, lol
  9. No there are no error messages and nothing displays when I enter the server. Last night I deleted all my plugins because it just seems that none of them are working. I am going to try and reinstall this again today and see what happens. The only plugin that is working is "World Edit", so I know the server is using the craftbukkit wrapper.
  10. Offline

    xCrap

    Same here.
    I'm using CraftBukkit Build #446.
    Mac OS X 10.6.6
  11. Offline

    KiPiCoOl

    Lastest CB build et LoginMessage

    Code:
    16:51:50 [GRAVE] Could not pass event PLAYER_JOIN to LoginMessage
    java.lang.NoSuchMethodError: com.nijikokun.bukkit.iConomy.Database.get_balance(Ljava/lang/String;)I
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.sendMultiMessage(LoginMessagePlayerListener.java:232)
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.onPlayerJoin(LoginMessagePlayerListener.java:79)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:125)
            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:98)
            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:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
  12. Offline

    Zankou666

    I'm getting the same error b440jnks
  13. Offline

    Tahkeh

    @Everyone getting this long error: I assume you're using Permissions. Redownload Permissions 2.1 or get the unofficial 2.2 and see if that works. Make sure to rename config.yml to yourworldnamehere.yml!

    @Eccentric Warmonger: That might be a problem with your server then, so yeah, I'd reinstall if I were you. Move your .bat file and your CraftBukkit .jar file to another folder, then run the .bat and see if your plugins work there.
  14. Offline

    Tahkeh

    After taking a closer look, it seems you have a different error...it's caused by iConomy. I guess the API has been updated. I'll update it too in LoginMessage with a quick fix. Look out for v0.5_2.
  15. Offline

    xPaw

    dev.bukkit.org profile:
    xPaw
    My Plugins
    I installed permissions 2.4, don't use iConomy, still same error.
  16. Offline

    Tahkeh

    Did a quick update for the iConomy API. With LoginMessage v0.5_2, you have to update your iConomy to v3.0 (or don't, if you don't have iConomy. LoginMessage should work without it).
  17. Offline

    Tahkeh

    Try 2.3 or 2.2. Or even better, Nijikokun's 2.1. Supposedly the namespaces (changing this would cause breakage) were changed in 2.4, but LoginMessage has been tested and works on 2.1 and the unofficial 2.2. I just want to keep LoginMessage working with the official Permissions until Nijikokun tells us if Permissions will be handed over to TheYeti or not.
  18. Offline

    monolar

    I just updated Bukkit and CraftBukkit from git and am currently running Craftbukkit version git-Bukkit-0.0.0-471-gbd27aca (MC: 1.3)

    I get this in the log on startup:

    Code:
    20:26:49 [INFO] LoginMessage 0.5_1 enabled
    20:26:49 [SEVERE] PLAYER_COMMAND (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
            at com.tahkeh.loginmessage.LoginMessage.onEnable(LoginMessage.java:50)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:80)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    probably related:
  19. Offline

    yammosk

    As a point of reference, I had that problem, and it started working after I downloaded git-Bukkit-0.0.0-458-g557f3d2-b440jnks of craftbukkit. Only other thing I had updated was Tombstone and SlowHealth.
  20. Offline

    Tahkeh

    Right, I think commands might have been broken in a recent update. I'll wait until another recommended build to fix any problems, which right now is #440.
  21. Offline

    xPaw

    dev.bukkit.org profile:
    xPaw
    My Plugins
    They removed onPlayerCommand (PLAYER_COMMAND)
  22. Offline

    Tahkeh

    Yeah. So anyways, did you ever get LoginMessage to work?
  23. Offline

    xPaw

    dev.bukkit.org profile:
    xPaw
    My Plugins
    Can't test because of that. And i had 2.1 running before, it didn't work there.
  24. Offline

    Tahkeh

    I suggest using the last recommended build, as it is recommended...and LoginMessage will now be built to work on the last recommended build (however, I will be preparing for the removal of onPlayerCommand).

    Also, did you redownload 2.1 when I posted last night and rename config.yml to your-world's-name.yml? Because I think Nijikokun might've updated Permissions 2.1 last night but didn't tell anyone.
  25. Offline

    xPaw

    dev.bukkit.org profile:
    xPaw
    My Plugins
    Ofcourse i renamed, otherwise my other stuff like chat colors, commands didn't work.
  26. Offline

    RTRD

    @Tahkeh I get this error when i am starting the server:
    Code:
    2011-02-27 01:52:35 [SEVERE] Could not load plugins\LoginMessage.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:65)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.util.zip.ZipException: invalid END header (bad central directory offset)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:52)
    ... 8 more
  27. Offline

    shane3x

    I updated to Iconomy 4.0 and now the Login message doesn't work. My message doesn't include %bal either.
  28. Offline

    GizmoTheGreen

    I get an error
    Code:
    Could not pass event PLAYER_JOIN to LoginMessage
    so it's dead, I don't get anything in the chat
    using latest recommended and iconomy 3.0 (not 4.0)
  29. Offline

    monolar

    Yeah it worked fine before the removal of PLAYER_COMMAND. I was aware at the time of my posting that the API changed, hence the linking to the git commits in Bukkit/CraftBukkit. Basically it was just a heads up.
    As much as i'd want it to work i think i can wait a couple of days until the recommended CraftBukkit build is above 470
  30. Offline

    Jasin

    Using bukkit 440 recommended. Tried permissions 2.2-2.3-2.4 same problem. It works fine without permissions. Is it that permissions is already using the newer commands? Old 2.1 download link is broken.
  31. Offline

    jwideman

    Niji has officially turned the reigns for Permissions over to TheYeti. Please either update for that, or support GroupManager.
  32. Offline

    korin125

    I really like loginmessage and couldn't run my server without it, but I would really like to use permissions too. Every time I try to use any version of permissions I get an error like this, and loginmessage does not work.

    Code:
    2011-02-27 19:33:53 [SEVERE] Could not pass event PLAYER_JOIN to LoginMessage
    java.lang.NullPointerException
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.sendMultiMessage(L
    oginMessagePlayerListener.java:237)
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.onPlayerJoin(Login
    MessagePlayerListener.java:80)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.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)
    What does it mean?

Share This Page