1616import org .mvplugins .multiverse .core .command .MVCommandIssuer ;
1717import org .mvplugins .multiverse .core .command .flag .CommandFlag ;
1818import org .mvplugins .multiverse .core .command .flag .CommandFlagsManager ;
19+ import org .mvplugins .multiverse .core .command .flag .FlagBuilder ;
1920import org .mvplugins .multiverse .core .command .flag .ParsedCommandFlags ;
20- import org .mvplugins .multiverse .core .command .flags .RemovePlayerFlags ;
2121import org .mvplugins .multiverse .core .locale .MVCorei18n ;
2222import org .mvplugins .multiverse .core .locale .message .MessageReplacement .Replace ;
2323import org .mvplugins .multiverse .core .world .MultiverseWorld ;
@@ -38,7 +38,7 @@ class LoadCommand extends CoreCommand {
3838
3939 @ Subcommand ("load" )
4040 @ CommandPermission ("multiverse.core.load" )
41- @ CommandCompletion ("@mvworlds:scope=unloaded" )
41+ @ CommandCompletion ("@mvworlds:scope=unloaded @flags:groupName=" + Flags . NAME )
4242 @ Syntax ("<world>" )
4343 @ Description ("{@@mv-core.load.description}" )
4444 void onLoadCommand (
@@ -49,7 +49,7 @@ void onLoadCommand(
4949 MultiverseWorld world ,
5050
5151 @ Optional
52- @ Syntax ("[--remove-players ]" )
52+ @ Syntax ("[--skip-folder-check ]" )
5353 @ Description ("" )
5454 String [] flagArray ) {
5555 ParsedCommandFlags parsedFlags = flags .parse (flagArray );
@@ -67,9 +67,9 @@ void onLoadCommand(
6767 }
6868
6969 @ Service
70- private static final class Flags extends RemovePlayerFlags {
70+ private static final class Flags extends FlagBuilder {
7171
72- private static final String NAME = "mvunload " ;
72+ private static final String NAME = "mvload " ;
7373
7474 @ Inject
7575 private Flags (@ NotNull CommandFlagsManager flagsManager ) {
0 commit comments