mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-29 19:41:35 +01:00
Added Qinspect subcommand to /plan and /planbungee #365
This commit is contained in:
parent
89fdd388b6
commit
f980ddca9e
@ -40,6 +40,7 @@ public class PlanBungeeCommand extends TreeCommand<PlanBungee> {
|
||||
@Override
|
||||
public void addCommands() {
|
||||
add(
|
||||
new QInspectCommand(plugin),
|
||||
new ReloadCommand(plugin),
|
||||
new StatusCommand<>(plugin, Permissions.MANAGE.getPermission(), plugin.getColorScheme()),
|
||||
new ListCommand()
|
||||
|
@ -42,6 +42,7 @@ public class PlanCommand extends TreeCommand<Plan> {
|
||||
public void addCommands() {
|
||||
add(
|
||||
new InspectCommand(plugin),
|
||||
new QInspectCommand(plugin),
|
||||
new AnalyzeCommand(plugin),
|
||||
new SearchCommand(plugin),
|
||||
new InfoCommand(plugin),
|
||||
|
@ -9,7 +9,7 @@ import com.djrapitops.plugin.settings.DefaultMessages;
|
||||
import com.djrapitops.plugin.task.AbsRunnable;
|
||||
import com.djrapitops.plugin.task.RunnableFactory;
|
||||
import com.djrapitops.plugin.utilities.Verify;
|
||||
import main.java.com.djrapitops.plan.Plan;
|
||||
import main.java.com.djrapitops.plan.api.IPlan;
|
||||
import main.java.com.djrapitops.plan.command.ConditionUtils;
|
||||
import main.java.com.djrapitops.plan.data.PlayerProfile;
|
||||
import main.java.com.djrapitops.plan.settings.Permissions;
|
||||
@ -31,14 +31,14 @@ import java.util.UUID;
|
||||
*/
|
||||
public class QInspectCommand extends SubCommand {
|
||||
|
||||
private final Plan plugin;
|
||||
private final IPlan plugin;
|
||||
|
||||
/**
|
||||
* Class Constructor.
|
||||
*
|
||||
* @param plugin Current instance of Plan
|
||||
*/
|
||||
public QInspectCommand(Plan plugin) {
|
||||
public QInspectCommand(IPlan plugin) {
|
||||
super("qinspect",
|
||||
CommandType.PLAYER_OR_ARGS,
|
||||
Permissions.QUICK_INSPECT.getPermission(),
|
||||
|
Loading…
Reference in New Issue
Block a user