UltimateMenu API

Jun 29, 2016
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
  • Loading...
  • Loading...