UltimateMenu API - Historical

Applied By GamerboyLuuk: Jan 22, 2016 at 6:30 AM

UltimateMenu API
UltimateMenu API

How to use:

Its simple, on your plugin you can create a Event to set the variable or a runnable, Example:
[​IMG]
Now you create your variable form, I will be doing with Sneaking, if is true or false;
The variable work like,
AddVariables.addVars(PlaceHolder, PlaceHolderInfo ex: You name);
[​IMG]
You are done! Ok, now how to use it?
You simple add the variable to your plugin ex:
This one that i create is to see if the player are sneeking or not, I added the variable to my menu like:
{Moving|{PlayerName}}
[​IMG]

Now on the server i get the awnser, if its true or false:
[​IMG]

Obs, Sorry about the simple tuto, when i get time i will do a better one :D