Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions src/main/java/fr/Alphart/BAT/Modules/Core/CoreCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,30 @@ public void onCommand(final CommandSender sender, final String[] args, final boo
}

}

@RunAsync
public static class UUIDLookupCmd extends BATCommand {
@Getter
private static LookupFormatter lookupFormatter;
private ModulesManager modules;

public UUIDLookupCmd() {
super("lookupuuid", "<UUID> [module] [page]", "Displays an UUID related information (universal or per module).", Action.LOOKUP.getPermission());
modules = BAT.getInstance().getModules();
lookupFormatter = new LookupFormatter();
}

@Override
public void onCommand(final CommandSender sender, final String[] args, final boolean confirmedCmd, boolean broadcast)
throws IllegalArgumentException {
args[0] = Core.getPlayerName(args[0].replace("-", ""));
if(args.length > 0){
LookupCmd lcmd = new LookupCmd();
lcmd.onCommand(sender, args, confirmedCmd, broadcast);
}
}

}

@RunAsync
public static class StaffLookupCmd extends BATCommand {
Expand Down