[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

    khamseen_air

    @xZise hey so this got rather confusing for a login message plugin.

    I'm trying to just simply use the message.txt file but it's not working as stated. Doing the following for login message for example.
    (lg)first line
    (lg)second line
    (lg)third line
    It only displays the first line.

    Edit: NVM, I've switched to using the YML. Seems to be working, though it's a little temperamental, sometimes it displays the full login message, sometimes only the first line.

    This post has been edited 1 times. It was last edited by khamseen_air Aug 8, 2011.
  4. Offline

    Tahkeh

    Yeah, multiple lines are pretty buggy right now...I wish I knew why. I've got most minor bugs fixed, but there is still that one.
  5. Offline

    khamseen_air

    As a possible fix, instead of having us use multiple lines to put the text in, could you add a code for a new line? Equivalent to a line break in HTML so it would all be on one line for reading in the YML file, but it would display across however many lines we chose for it?
  6. Offline

    Tahkeh

    Originally LoginMessage did have something like that, where you typed @ for a new line, but later I removed it because you could type the Enter key and it would simply create a new line there.

    I think that the way it is now is much better, you'll see after I release the bug fixes. However, I'll add it in a later version of you really, really want it.

    P.S. Just wanted to remind you all that if you are having trouble with YML, help is on the way. My friend @mathmaniac43 is currently working on a Windows-based GUI tool that should make it much more user-friendly to create and edit messages. I'll work on a Mac and Linux version after I finish the bug fix, then with a little more polishing and comment-adding, I'll release the source.
    mathmaniac43 likes this.
  7. Offline

    xZise

    dev.bukkit.org profile:
    xZise
    My Plugins
    Source code please XD

    Fabian
  8. Offline

    khamseen_air

    I'm happy to leave it as is, I was just offering a suggestion to get it working more reliably, but if you're saying it does with the bug fixes then no need to change it haha. I've reverted to the previous version just now, simply because part of our login message it a list of currently online members and without it showing up reliably people are logging in and thinking no one else is on. Shall keep checking for the update. :)
  9. Offline

    GameFreakDude

    I love the way you have 0.7 set up; the configuration makes it extremely versatile. Sadly, right now it has too many bugs for it to be useful to me :< but I'll be using 0.6 and watching this thread!
    mathmaniac43 likes this.
  10. Offline

    Tahkeh

    It's coming...soon... XD
    Got it. I'll keep you updated!
    Yes, quite disappointing because I thought it worked well when I published it...but it was all a lie... :p

    I fixed a few minor bugs (Permissions not being optional, pri not working, hopefully Mac filesystem dust in zip file as well) and a major one (all command messages get shown when one command is typed). I also added in -pri, which I believe works but shouldn't be hard to test with the help of my good friend and tester @[user]mathmaniac43[/user]. :p As for what I still need to fix; the multiline issue and the "pr"/"sf" in the %ol code only showing the first online users' prefix/suffix. Oh, and I will be revising the documentation and splitting it up into groups. That way, for example; if you know YML, you can skip what you already know.

    If there are any bugs or features I am missing, please, anyone, let me know! I'll soon be ready for the release and be giving it out early to a few people (ask if you want to be one of them) so they can see if any bugs still exist.
    khamseen_air and GameFreakDude like this.
  11. Offline

    GameFreakDude

    "pri not working" I hope means you fixed the issues like I had with trying to get a separate broadcast message and login message working with 0.7
    Thanks!

    This post has been edited 1 times. It was last edited by GameFreakDude Aug 10, 2011.
  12. Offline

    Tahkeh

    What issues did you have, exactly? Some people told me that pri was acting like pri or wasn't working at all, so I rewrote the code and all seems to be working. If you had a different issue, I'll have to work on that then! :p

    Oh, and if you're talking about creating a broadcast message without letting the player logging in (or, the "pri" player) receive the message, that's what -pri will be for. ;)
  13. Please Upload again, The Link is dead :(
  14. Offline

    mathmaniac43

    Hi, I'm responding to your post just because @Tahkeh probably won't be up for the next 4 or more hours :p

    I tested the link, and it appears to work for me. If it still doesn't work for you, try copying and pasting this link directly into your browser: http://dl.dropbox.com/u/15380324/BukkitPlugins/LoginMessage.zip

    Good luck!
  15. Offline

    Sorken

    After installing Towny Advanced 0.74.0-dev. The %group variable shows only default group for all users instead of the the actual group they belong to.

    CB 1043
    LoginMessage 0.6_5

    This post has been edited 1 times. It was last edited by Sorken Aug 11, 2011.
  16. Offline

    Tahkeh

    Three hours, thank you very much :p

    The link might be broken whenever Dropbox is down. I'll switch to a Github download when I put up LM's source.
    Sure this is Towny's fault? Removing it fixes the problem?
  17. Offline

    GameFreakDude

    Dropbox does this thing where it randomly just breaks and you have to retry 3 or 4 times before it works. Not terribly reliable ._.
  18. Offline

    Tahkeh

    Yeah... :p Github is going to be much better. I think I might have the source shortly after v0.7_1, which BTW, is close to being finished. I think I fixed the multiline bug!
  19. Offline

    Sorken

    Removing either plugin fixes the problem. I would prefer if the plugins play nice with each other. They ofcourse claim its your fault.

    Another problem is that whenever LoginMessage is loaded, it creates duplicate entries in Permissions 3.1.6 users.yml file. If any colors, prefixes, titles, ranks, groups, towns or any other modification to your displayname(?) is used by any other plugin, like Towny or AdminCmd then they will be written to the file. So as you change anything really you create extra entries.. and soon a single user can have 10+ user records, all with diffrent group permissions which ofcourse confuses the crap out of other plugins.

    Example:
    Code:
        Tahkeh:
            groups:
            - Admin
            permissions: []
        &fTahkeh:
            groups:
            - Guest
            permissions: []
        &6[whatever]&fTahkeh:
            groups:
            - Guest
            permissions: []
    
    Towny guys says you should stop using Displayname when handling users and instead use Name

    This post has been edited 7 times. It was last edited by Sorken Aug 12, 2011.
  20. Offline

    Tahkeh

    Oh, I just looked over some of my Permissions-related code, and I noticed some getDisplayName methods instead of getName. Don't know what possessed me to do that, but nice catch Towny guys. XD

    Also good that you caught that now, because I'm about to release v0.7_1! I'll be sending it out to people to test, and if all goes well, I'll release it. While they test it, I'll be rewriting the documentation. Since you were the one with this odd problem, do you want to test the new version too?
  21. Offline

    Sorken

    @Tahkeh
    Yes, im a beast for testing :p
  22. Offline

    Tahkeh

    Awesome, thanks! :p You, along with some other people, should all get a group conversation invite sometime this morning (considering it's now 2AM). If you're running Windows, you'll be able to get a sneak peek at @[user]mathmaniac43[/user]'s new program that helps you create messages!

    This post has been edited 1 times. It was last edited by Tahkeh Aug 13, 2011.
    GameFreakDude and mathmaniac43 like this.
  23. Offline

    mathmaniac43

    PEOPLE OF LOGINMESSAGE, I HAVE NEWS. Today, I have finished (I think) the pre-release version of LMI, the LoginMessage Interface program (for Windows). =D When @Tahkeh distributes the pre-release version of LoginMessage to a select group of testers, he will probably distribute LMI with it, and have the testers test both of them. This will reduce the number of bugs and other horrible things that the plugin and LMI cause you to experience. Any questions, feel free to ask me with an @mention! Cheers!
    Tahkeh likes this.
  24. Offline

    an0x

    i will test it because i want to get loginmessage back on my server :D
  25. Offline

    Tahkeh

    Oh, I'm sorry, I think I invited 5 people already, and I don't know if I can invite anymore. @mathmaniac43 might be able to invite you though, because I gave everyone permission to invite other people. If he can't, then I'll just send you a separate conversation. :p
    an0x likes this.
  26. Offline

    ScottSpittle

    on cb 1060 i get lag spikes whenever someone joins..
  27. Offline

    Tahkeh

    Fixed in the update I'm working on, to be released sometime likely before Monday.
  28. Offline

    Tahkeh

    Hey everyone, I just wanted to take a time-out to stop by and thank all my loyal users and talk a bit!

    It was November that LoginMessage was first released in hMod, and January that it was ported to Bukkit. LoginMessage was literally my first–and still only–Java program!

    LoginMessage started out small–can you believe that, at first release, it spat out two static lines to the player who logged in? As LoginMessage grew, so did my programming knowledge. Albeit the only thing in Java I've ever written, with everything I've learned through the development of this plugin, I can make so many things!

    You all are the creative backbone of this plugin itself, and I just want to thank you so much!
    thefowles1, pucky, yannic98 and 6 others like this.
  29. Offline

    Schocker

    I think the newest version of LoginMessage (v. 0.7) messes up when having SuperPerms Bridge (v. 1.2).
    When player joins, it gives NullPointerExcepton (more in the server log).
    I tested it on a perfectly clean server, with a clear map, and CommandBook's MOTD works on it out-of-the-box.
    Server log:
    http://pastebin.com/JGzjAv3b
    Is this by any chance getting fixed in this upcoming update? :)
  30. Offline

    Tahkeh

    Well...not quite. But in the update after that. :p I want to release v0.7.1 ASAP since it's almost been 4 weeks from buggy v0.7! It's actually going to be released quite soon, like tonight or tomorrow.

    In the update that complies with the new Bukkit-Permissions, I'll have a separate node–"permissions"–and in that you define permissions that you create in a new permissions.yml file in the LoginMessage folder. That way you don't need groups to use it, but you can still make it act like that if you have a group plugin like PermissionsBukkit. Example:

    In messages.yml:
    Code:
    messages:
        login:
            motd:
                receivers:
                    groups: []
                    users: []
                    permissions: [loginmessage.default]
                triggers:
                    groups: [pub]
                    users: []
                cooldown: 0
                delay: 500
                message:
                    - 'Welcome, %nm!'
                    - 'Players online: %ol%&%&n:&f:&f'
    In permissions.yml (NOT the default one Bukkit creates, this is a new file in the LoginMessage folder):
    Code:
    loginmessage.default
    And in PermissionsBukkit's config.yml:
    Code:
    groups:
        default:
            permissions:
                permissions.build: false
                loginmessage.default: true

    This post has been edited 2 times. It was last edited by Tahkeh Aug 17, 2011.
  31. Offline

    mathmaniac43

    For anyone interested in the LoginMessage Interface for Windows (LMI or LMIW):

    @Tahkeh is coming out with LM's update soon, and from what I've helped him with and tested, it's working better than ever, and with a considerable amount of customization! I've been trying to keep LMIW up to speed with LM, and it's very close, but there are a few minor tweaks that I need to finish. I'll make sure @Tahkeh gets it out there ASAP though, I promise.
  32. Offline

    Schocker

    Great, looks very promising to me! If I understood properly, using the new Permission we'll have tha ability to easily cofigure login/quit/whatever messages for specific players? Cool!
    I'm looking very forward to it. ^^

Share This Page