How To Use This Plugin Within Another Plugin

How To Use This Plugin Within Another Plugin

How To Retrieve This Plugin From Your Plugin

GroupSupport groupSupport = (GroupSupport) getServer().getPluginManager().getPlugin("GroupSupport");

Make Sure To Check If groupSupport Is Not Null In-Case The Server Doesn't Have GroupSupport

What To Do Once You Have Verified The Plugin

There Are Two Things You Can Do Once You Have Verified It.

  1. Check If A Player Is In The A Specified Group
    groupSupport.playerInGroup(Player, String)
  2. Check If A Player May Use A Specific Group
    groupSupport.groupUseAllowed(Player, String)

Comments

Posts Quoted:
Reply
Clear All Quotes