mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-30 20:11:45 +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
|
@Override
|
||||||
public void addCommands() {
|
public void addCommands() {
|
||||||
add(
|
add(
|
||||||
|
new QInspectCommand(plugin),
|
||||||
new ReloadCommand(plugin),
|
new ReloadCommand(plugin),
|
||||||
new StatusCommand<>(plugin, Permissions.MANAGE.getPermission(), plugin.getColorScheme()),
|
new StatusCommand<>(plugin, Permissions.MANAGE.getPermission(), plugin.getColorScheme()),
|
||||||
new ListCommand()
|
new ListCommand()
|
||||||
|
@ -42,6 +42,7 @@ public class PlanCommand extends TreeCommand<Plan> {
|
|||||||
public void addCommands() {
|
public void addCommands() {
|
||||||
add(
|
add(
|
||||||
new InspectCommand(plugin),
|
new InspectCommand(plugin),
|
||||||
|
new QInspectCommand(plugin),
|
||||||
new AnalyzeCommand(plugin),
|
new AnalyzeCommand(plugin),
|
||||||
new SearchCommand(plugin),
|
new SearchCommand(plugin),
|
||||||
new InfoCommand(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.AbsRunnable;
|
||||||
import com.djrapitops.plugin.task.RunnableFactory;
|
import com.djrapitops.plugin.task.RunnableFactory;
|
||||||
import com.djrapitops.plugin.utilities.Verify;
|
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.command.ConditionUtils;
|
||||||
import main.java.com.djrapitops.plan.data.PlayerProfile;
|
import main.java.com.djrapitops.plan.data.PlayerProfile;
|
||||||
import main.java.com.djrapitops.plan.settings.Permissions;
|
import main.java.com.djrapitops.plan.settings.Permissions;
|
||||||
@ -31,14 +31,14 @@ import java.util.UUID;
|
|||||||
*/
|
*/
|
||||||
public class QInspectCommand extends SubCommand {
|
public class QInspectCommand extends SubCommand {
|
||||||
|
|
||||||
private final Plan plugin;
|
private final IPlan plugin;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Constructor.
|
* Class Constructor.
|
||||||
*
|
*
|
||||||
* @param plugin Current instance of Plan
|
* @param plugin Current instance of Plan
|
||||||
*/
|
*/
|
||||||
public QInspectCommand(Plan plugin) {
|
public QInspectCommand(IPlan plugin) {
|
||||||
super("qinspect",
|
super("qinspect",
|
||||||
CommandType.PLAYER_OR_ARGS,
|
CommandType.PLAYER_OR_ARGS,
|
||||||
Permissions.QUICK_INSPECT.getPermission(),
|
Permissions.QUICK_INSPECT.getPermission(),
|
||||||
|
Loading…
Reference in New Issue
Block a user