mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-01 15:46:42 +00:00
Prevent all commands from being loaded
This commit is contained in:
@ -3,5 +3,7 @@ package dev.plex.command.annotation;
|
||||
public @interface System
|
||||
{
|
||||
|
||||
String value();
|
||||
String value() default "";
|
||||
|
||||
boolean debug() default false;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@CommandParameters(name = "pdebug", description = "Plex's debug command", usage = "/<command> <redis-reset <player> | gamerules>")
|
||||
@CommandPermissions(level = Rank.EXECUTIVE, permission = "plex.debug")
|
||||
@System("debug")
|
||||
@System(debug = true)
|
||||
public class DebugCMD extends PlexCommand
|
||||
{
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user