public class Aa_pluginperms extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
org.bukkit.configuration.file.FileConfiguration |
permsFromConfig
A custom permission description YML config file
for plugins that do not store their perms in their
plugin.yml file.
|
Constructor and Description |
---|
Aa_pluginperms(org.bukkit.plugin.Plugin aa)
Constructor, loads custom permissions configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
onCommand(org.bukkit.command.CommandSender sender,
org.bukkit.command.Command cmd,
java.lang.String unused,
java.lang.String[] args)
/aa_pluginperms - displays all permissions for the given plugin
|
public org.bukkit.configuration.file.FileConfiguration permsFromConfig
public Aa_pluginperms(org.bukkit.plugin.Plugin aa)
public boolean onCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, java.lang.String unused, java.lang.String[] args)
onCommand
in interface org.bukkit.command.CommandExecutor
onCommand
in class AbstractCommand
sender
- The player who is calling this command.cmd
- The actual command that is being executed.unused
- Name of the command which is being executed.args
- Any arguments passed to this command.