[ADMN/INFO] InfoMan v1.1.8 - motd, informative commands [1.5.2-R0.1]

Discussion in 'Archived: Plugin Releases' started by Tog, Apr 8, 2012.

  1. Offline

    Tog

    InfoMan - motd and informative commands
    Version: v1.1.8


    Description:
    InfoMan is a simple and easy-to-use motd/informative commands plugin with support for permissions for each individual command.
    Example:
    motd
    info
    How to use it

    COMMANDS:
    Only console input is accepted, currently you disable and enable motd by writing: "infoman motd e/d", where e enables and d disables, motd is enabled by default.
    You can also disable the "first join" message by the same principle, "infoman firstjoin e/d"
    The plugin is reload-able, typing "infoman reload" in the console will reload commands.txt and the config.

    Features:
    • Add new commands
    • Colored text
    • Personalized text (reading the player's name)
    • Message of the day
    • First join message (for first time players on your server)
    • On the fly customization of texts
    • Permissions support
    Changelog:

    Version 1.1.8 [Download .jar][1.5.2-R0.1][2013-05-09]
    • Usage of InfoMan commands is now tracked in the main command window and in the server log if LogUsage is set to true in the config, enabled by default.
    Older versions
    Show Spoiler

    Version 1.1.7 [Download .jar][1.4.5-R1.0][2012-12-22]
    Version 1.1.6 [1.4.5-R1.0][2012-12-21]
    • Permissions support added, nodes go by the format "InfoMan." + the command without / infront of it, e.g. "InfoMan.info", "InfoMan.test". Permissions are disabled by default and have to be enabled in the config. Check http://dev.bukkit.org/server-mods/infoman/pages/usage/for more information.
    Version 1.1.5 [Download .jar][1.3.1-R1.0][2012-08-10]
    • Case sensitivity now works correctly on Linux systems, make sure the .txt files are all in lowercase if you want to disable case sensitivity for the commands.
    Version 1.1.4 [Download .jar][1.3.1-R1.0][2012-08-08]
    • Added an option in the config to make all commands case insensitive.
    Version 1.1.3 [Download .jar][1.2.5-R4.0][2012-07-12]
    • Added bold text (CBOLD)
    • Writing incomplete commands in the console should no longer spew out errors (e.g.infoman motd), the plugin will instead remind you that you forgot an argument.
    Version 1.1.2 [Download .jar][1.2.5-R1.0][2012-05-16]
    • Added a reload command in order to let you reload the commands without reloading the entire server. Writing infoman reload in the console will reload the commands found in commands.txt.
    Version 1.1.1 [Download .jar][1.2.5-R1.0][2012-05-06]
    • You can now specify the location of player.dat files, firstjoin should work if the files are not saved in world/players as long as they are saved as individual files.
    Version 1.1 [Download .jar][1.2.5-R1.0][2012-04-30]
    • Added a "firstjoin" motd that is displayed the first time a player joins the server
    • Added underlined, italic and strikethrough text
    • Added "CLIST", displays the players online, much like the list command in the server console does.
    • Added "CTOT", displays the current amount of players online. E.g. if there are 14 players online CTOT will be replaced with "14".
    Version 1.0 [Download .jar][1.2.5-R1.0][2012-04-08]
    • Initial release

    Future plans:
    • No ideas right now, if there's a feature you'd like to see, don't hesitate to post about it.
    Download latest version
     
  2. Offline

    md_5

    Approved
     
  3. Offline

    cheracc

    Can you also post a direct link rather than a shortened one so it is more friendly for wget?
     
  4. Offline

    Tog

    Done, you could also download the plugin through my devbukkit, I've got a page there as well.
     
  5. Offline

    skiba

    How to put link to website into the message
     
  6. Offline

    Tog

    It should work by simply writing the website in the text file, e.g. www.youtube.com
     
  7. Offline

    skiba

    But if link is to long how to make it a short
     
  8. Offline

    Tog

    In that case I guess you could try using goo.gl or some other link shortener
     
  9. Offline

    iiAnderson

    Nice lightweight and simple plugin, Good Job! Can i suggest perhaps implementing a two different MOTD's for existing players and new players! But all the same good job!
     
  10. Offline

    Tog

    I could do this the upcoming weekend, I'll probably add bold and underline at the same time.
     
  11. Offline

    IsaiahRobichaud

    Where are the permission nodes? is there like a "- info" or something?
     
  12. Offline

    Tog

    There's no permission support as of now, I may add that in the future though.
     
  13. Offline

    IsaiahRobichaud

    Does that mean eveyone gets all permissions right now? I don't know if my players can use it
     
  14. Offline

    Tog

    Every player *should* be able to use every command.
     
  15. Offline

    Tog

    Just added a so-called "first join" message.
    Also added a few functions and text modifiers.
     
  16. Offline

    djm204

    Hello,

    I'm running my own personal server, I also have a hosted server elsewhere. When i use infoman on the hosted server everything works fine. On my personal server all the writing is double-spaced. Any idea why this is happening?

    Both servers are running Craftbukkit 1.2.5 r1
     
  17. Offline

    Tog

    Double-spaced as in each space in the text file is twice as long or double spaced as in there's an extra line between the lines?

    Either way I haven't encountered this and my only suggestion is that you try writing the text files from scratch in case your copy-pasting ruined the formatting somehow.
     
  18. Offline

    djm204

    double-spaced as in theres extra spacing between lines.
    I've tried creating fresh .txt files from scratch.
    also deleting/reinstalling infoman

    mcholeinwall.mooo.com:25565

    to see what i mean. its displayed in the motd.txt

    your idea worked tog thanks :p for some reason the formatting got screwed up when i downloaded the txt files from my other server. i just opened in notepad.exe and re-did the line breaks in the text.

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

    iiAnderson

    Awesome, Thanks for adding that! (the first join message)
     
  20. Offline

    Tog

    Updated the plugin in an attempt to fix an issue where the first join message would be displayed every time a player enters the server, I'm assuming that the cause of this is related to where player.dat files are saved, therefore I have added an option to specify the folder where they are saved. You will have to delete your config if you want to change the folder from the standard "world/players/".
     
  21. Offline

    Vince

    Unable to parse manifest?
     
  22. Offline

    Tog

    Are you using McMyAdmin? Try downloading the .jar again.
     
  23. Offline

    Vince

    :eek: yes I am. Does it interfere?
     
  24. Offline

    Tog

    I've only heard that McMyAdmin sometimes does that, the plugins should supposedly still be running though, so I guess you could have a look and see if the example commands /info, /motd are working, if not then there's really nothing I can do about it since it's a problem on McMyAdmin's side and I'm not really sure how to workaround it.
     
  25. Offline

    Vince

    kk thanks
     
  26. Offline

    Tog

    Updated the plugin in order to add a needed feature. InfoMan can now be reloaded by simply typing infoman reload in the console, this will update the commandslist (now you can change the commands.txt without having to restart/reload the server to get the new commands working.), it will also reload the config.
     
  27. Offline

    KevinEssence

    Amazing plugin thank you! Great for my hunger game servers!
     
  28. Offline

    jespertheend

    Is it true that the motd doesn't work for 1.2.5?

    Oh, I see. Do you need to restart the server for the motd to work?

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

    Tog

    Did you solve your problem? The motd should work the first time you start the server with the plugin, if nothing comes up when you join the server you'll have to make sure motd.txt is not empty.
     
  30. Offline

    jespertheend

    I disabled it in the console, but used the wrong command. (infoman motd without 'd')
    then I got this error
    16:38:55 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'infoman' in plugin InfoMan v1.1.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at claudiussundlof.infoMan.InfoMan.onCommand(InfoMan.java:141)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 7 more
    It still gives that error (when I type 'infoman motd' in the console) but I DO get the motd now when I come online on my server. I think I accidentally disabled it, and didn't enable it because I didn't know that you had to put an 'e' after the command.
     

Share This Page