InfoMan
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, you can 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
Planned Features
- No ideas right now, if there's a feature you'd like to see, don't hesitate to post about it.
Could you add this feature:
If the text is too long that everything is shown at a time (without pressing t). Then the plugin should create pages for example: Command: /info But there is more then one page so: /info 2.
Ran into what I believe is a plugin conflict. I have both InfoMan and mcMMO on my server, and now whenever someone connects/disconnects, it no longer notifys me. I have removed mcMMO, and it returned. I made a new server folder with just InfoMan and mcMMO and same thing happened. I would love if anyone could help me on this.
Posting on mcMMO page also. EDIT: No commenting on mcMMO, so this is the only page which it is posted on.
@Jugbot
Okay, firstly, you can simply make a new line(by pressing enter) in the .txt file to skip a line. This is in my opinion much less convoluted than using some arbitrary symbol to create a new line.
Wiki might happen in the future, for now I think most if not all required information is condensed into the usage page here on bukkit dev.
What function would message-delaying do? if the message is too long they'll have to scroll up regardless of delays. The motd isn't going to be less overwhelming if they get it a few seconds after log in, in fact, I'd consider that slightly irritating if I've already started chatting with players on the server just to have my chat jump up with the motd.
(once again) Also, please get some form of a wiki
(another idea) Make it so the info messages are delayed when you log in, for it not to get overwhelming, or its too long.
You should make it if you type '/>' somewhere in the message, it automatically skips a line in the chat box.
@BiweGas
Did you change it in the config file? If you did, simply remove the config and reload the plugin to reset it to the default.
HELP! I changed my main world name and now i get firstjoin message always... how to fix it?
@darkness1999
Thank you for the suggestions, I do, however, not see myself implementing them any time soon.
An option to change config settings in-game(or with the console) is in my opinion redundant when you can use your favorite text editor to edit the config values manually without having to remember commands you are not likely to use often.
While I could add an option to put the contents of .txt files into books, I feel that this too is superfluous and would be a bother to use rather than a convenient way of displaying information.
Forgot one thing: after you read the book the book will disappear
Suggestion list:
* add option to disable/enable motd/firstjoin ingame (because I dont have a console)
* add this boolean: in-form-of-a-book (for every single command) if set true you´ll get when you are using command /example a book with the information which you wrote down in the example.txt
Hope you´ll add this soon! Thanks for this awesome plugin!
@Ferrocane
I actually planned on adding permission support earlier, although I haven't been very active when it comes to minecraft lately. I already have an implementation of permissions support working, though I am not sure if the implementation is at all satisfactory, a brief description:
Config setting enables checks for permissions if set to true. Permissions are checked when the player writes a command, e.g. /info would check if the player owns the permission "InfoMan.info: true", if the player does not have the required permission then an error message is printed like the one you would see if the command didn't exist at all, if the player has the permission they instead receive the contents of the file info.txt, as one would expect. The permission nodes are simply "InfoMan." + the command without the / infront of it, e.g. "InfoMan.info", "InfoMan.test".
I think that the current implementation works fine in that you can just add all the commands you want to be available to the default permissions group in your permissions config, though I am not very well versed in the usage of permissions plugins so if the implementation is wicked in any way, do tell me so that I can change the implementation.
I'm glad that you like the plugin ;)
EDIT: The example in this comment is no longer correct, check the usage page for correct usage of permissions.
@Aangiix3
Click above them, or around them. Some times they can, some times they can't, and I don't think it has anything to do with color. It's the weirdest thing and I haven't found a clear pattern yet, so I just try to tweak any info pages where the link is for some reason rendered unclickable.
If you ever get back to working on this, I'd like to request permissions support, sufficiently extensive that I can allow or deny individual commands. I have some help pages and newsletters for staff members that I don't want or need everyone to have access to, and right now I have to route these pages through other plugins (CustomNodes and BetterAlias) in order to set permissions, which is a very obtuse and cumbersome setup.
Several months later, this plugin still works perfectly and remains my absolute favorite informational/chat plugin. My server has a comprehensive /help page system, and it's pretty much thanks to this thing. Again, thank you very much for fixing the case-sensitivity issue, and for making this plugin. It's exactly what I need.
Maybe add a permission for those to see the firstjoin, info, and motd when log in whatever shows when they log in.
@Fyrvelm
oh thanks that what i meant i wasnt sure if it was supposed to generate the .txt file itself ill try and get back to you
@deancohen1994
Not entirely sure what you mean, you can add your own commands right now. e.g. you could add /mining to the commands.txt and then create a .txt file called mining.txt. Typing /mining should now send the player the contents of mining.txt.
@Ferrocane
Thanks for trying the linked version, I'll advise everyone to use only lowercase when creating .txt files on linux systems.
hey, could you maybe add a feature to add my own commands? like in config add something so i can create a .txt file basically i want on my server like /mining which gives text that i can edit for my mining ranks...etc..
pm me if you need a better description
thanks
@Fyrvelm
Yep, it works perfectly. With the file name in all lowercase, it goes through no matter what capitalization I use on the command. I also took the liberty of testing the text file in non-lowercase, and sure enough it didn't work. It also console spammed me (same as before: Caused by: java.io.FileNotFoundException: plugins/InfoMan/helptesting.txt (No such file or directory)), but that's a non-issue, and only something you'd need to fix for the sake of polish.
Again, thank you very much for adding this. InfoMan is excellent, and in conjunction with BetterAlias or CommandHelper it gives me complete control over server commands and what to display when people type them.
Cheers.