MenuService
General Description
MenuService is a plugin and API which allows plugins to create and use complex menu systems.
Status Update
It's been a long time since an update. I'm sorry for keeping everyone in the dark. With the start of the fall semester, I've been really busy with all of my classes. I've made some large updates to the plugin and have just released a new Beta version. Note that this version is still a beta; there are probably plenty of errors and missing features. Please give it a try and let me know what you find.
MenuService is open source. you can see the source on Github. https://github.com/m0pt0pmatt/MenuService
You can get a 1.6.2 version of the latest jar here: MenuService v0.8 for 1.6.2 For developers, you can get a 1.6.2 version of the latest API here: MenuService API v0.8 for 1.6.2
If you want to see the planned features, check out this Google Document. See what work is being done!
Permissions
Commands
Documentation
I'm working on making some simple tutorials. An example of a menu config file can be found here. Check out this tutorial for beginners: Check it out! Check out this tutorial for developers: Check it out!
@AlexSmith49
I'm sorry, delayed commands and multiple commands is beyond the power of simple YAML based files. If you need such features, may be you can make a small plugin or if it's simple enough, just tell me what you need and I can make it for you.
@ultraguister
There should be a red line to tell you what's wrong with your command. Please tell me what it says so I can help you with your problem.
PS: Does "/menu help" work? if it works, may be you should read what it says.
Is it possible to add a delayed command? Also, is it possible to run multiple commands after a click?
i cant use this plugin, all the commands that i use with /menu say: type /menu help for help
@menerex
Currently: itemmenu.menu
Actually I didn't really think about permissions. Now, only on permission is used: itemmenu.menu, it is the permission you need to use the command /menu.
I will add more permissions in the next version to allow more delicate controls.
Thank you for supporting.
What the permission for open menu If I call my menu : Classe ?
PS: thank for this plugin
@H2NCH2COOH
No need for enchantment, you can Copy it with lore...
Thanks for updating ;)
@mig4ng
v1.5 man, you have it. Every option can have: material, amount, damage, data stored. No enchantment I'm sorry
@H2NCH2COOH
you added a config to load the menus on startup? Sweet bro, now the last thing i need is option to change the item data, like red wool, pig egg, certain kind of potion for example. If you could add this, the plugin were perfect.
@mig4ng
Sorry I don't understand your question, maybe more details
@H2NCH2COOH
Great, anyway to change the item shown up data? on the default menus.yml?
@mig4ng
I've made a tutorial, I'm sorry it's so simple but I'm really bad at things like that. Hope you'll find it useful.
Or instead you could create a little API tutorial so i could create a plugin for menus
@mig4ng
I didn't think about performance. Maybe I can add a config option. Thank you for your support.
BTW, i found a way to change colors of lore and name without any modification, just use ยง1 for example :D
Good plugin, btw there isn't anyway of loading the menus when plugin starts? because loading the menu everytime a user want to check the menu is lagging a little bit my server.
@sabino1234
I'm sorry I didn't quite understand your question.
If you mean the menu file <menu-file-name>.yml in the menus folder, you need to create that file with a test editor and it can be used in game with /menu open <menu-file-name> [player-name]
I hope this will help you. If you have any other questions, please tell me. Thank you very much for using this plugin.
In the next version I'm working on, you will have the ability to edit/create menus in game with a friendly UI and I hope that will make things easier.
Thank you again for supporting this plugin.
Hey, when i installed the plugin the config file to edit the menu didn't generate, bug or someone where in which i should download it?
@mig4ng
Thank you for your kindness, but for some personal issue, I'll do it my self.
For the color thing, I've tested that the ChatColor thing works fine here, just use ChatColor.RED+"something" and pass the String to the API will do it
Thank you for your support
@H2NCH2COOH
Do you have skype? Maybe I can help you :P
@mig4ng
Menu size(number of rows) adjust itself according to the menu's contents. If you want to have a constant size, create a boundary using unselectable options.
And I haven't found any way to change the color of the name and lore. I'm sorry.