1
0
mirror of https://e.coding.net/circlecloud/Residence.git synced 2025-11-27 22:16:07 +00:00

complete all command...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092
2015-09-24 18:11:57 +08:00
parent 1cffbc7687
commit d62a7a1e57
37 changed files with 2156 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package com.bekvon.bukkit.residence.commandsub;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.bekvon.bukkit.residence.Residence;
import com.bekvon.bukkit.residence.permissions.PermissionManager;
import cn.citycraft.PluginHelper.commands.BaseCommand;
public class CommandLimits extends BaseCommand {
Residence plugin;
public CommandLimits(final Residence plugin) {
super("limits");
this.plugin = plugin;
}
@Override
public void execute(final CommandSender sender, final Command command, final String label, final String[] args) throws CommandException {
final Player player = (Player) sender;
final PermissionManager gmanager = plugin.getPermissionManager();
gmanager.getGroup(player).printLimits(player);
}
}