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
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public GeneralCommands(WorldGuard worldGuard) {
this.worldGuard = worldGuard;
}

@Command(aliases = {"god"}, usage = "[player]",
@Command(aliases = {"wggod"}, usage = "[player]",
desc = "Enable godmode on a player", flags = "s", max = 1)
public void god(CommandContext args, Actor sender) throws CommandException, AuthorizationException {
Iterable<? extends LocalPlayer> targets = null;
Expand Down Expand Up @@ -84,7 +84,7 @@ public void god(CommandContext args, Actor sender) throws CommandException, Auth
}
}

@Command(aliases = {"ungod"}, usage = "[player]",
@Command(aliases = {"wgungod"}, usage = "[player]",
desc = "Disable godmode on a player", flags = "s", max = 1)
public void ungod(CommandContext args, Actor sender) throws CommandException, AuthorizationException {
Iterable<? extends LocalPlayer> targets;
Expand Down Expand Up @@ -127,7 +127,7 @@ public void ungod(CommandContext args, Actor sender) throws CommandException, Au
}
}

@Command(aliases = {"heal"}, usage = "[player]", desc = "Heal a player", flags = "s", max = 1)
@Command(aliases = {"wgheal"}, usage = "[player]", desc = "Heal a player", flags = "s", max = 1)
public void heal(CommandContext args, Actor sender) throws CommandException, AuthorizationException {

Iterable<? extends LocalPlayer> targets = null;
Expand Down Expand Up @@ -171,7 +171,7 @@ public void heal(CommandContext args, Actor sender) throws CommandException, Aut
}
}

@Command(aliases = {"slay"}, usage = "[player]", desc = "Slay a player", flags = "s", max = 1)
@Command(aliases = {"wgslay"}, usage = "[player]", desc = "Slay a player", flags = "s", max = 1)
public void slay(CommandContext args, Actor sender) throws CommandException, AuthorizationException {

Iterable<? extends LocalPlayer> targets = Lists.newArrayList();
Expand Down Expand Up @@ -212,7 +212,7 @@ public void slay(CommandContext args, Actor sender) throws CommandException, Aut
}
}

@Command(aliases = {"locate"}, usage = "[player]", desc = "Locate a player", max = 1)
@Command(aliases = {"wglocate"}, usage = "[player]", desc = "Locate a player", max = 1)
@CommandPermissions({"worldguard.locate"})
public void locate(CommandContext args, Actor sender) throws CommandException {
LocalPlayer player = worldGuard.checkPlayer(sender);
Expand Down