Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.bukkit.scheduler.BukkitRunnable;

@CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH)
@CommandParameters(description = "Blocks redstone on the server.", usage = "/<command>", aliases = "bre")
@CommandParameters(description = "Blocks redstone on the server.", usage = "/<command>", aliases = "bre,toggleredstone")
public class Command_blockredstone extends FreedomCommand
{

Expand Down Expand Up @@ -38,4 +38,4 @@ public void run()
}
return true;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.bukkit.entity.Player;

@CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH)
@CommandParameters(description = "Clears the chat.", usage = "/<command>", aliases = "cc")
@CommandParameters(description = "Clears the chat.", usage = "/<command>", aliases = "cc,clearchat")
public class Command_cleanchat extends FreedomCommand
{
@Override
Expand Down
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why put a TODO comment instead of just implementing it?

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public class Command_purgeall extends FreedomCommand
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
{
FUtil.adminAction(sender.getName(), "Purging all player data", true);


//TODO Make Purgeall not include Item frames and Paintings.
// Purge entities
for (World world : Bukkit.getWorlds())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

@CommandPermissions(level = Rank.SENIOR_ADMIN, source = SourceType.BOTH)
@CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH)
@CommandParameters(description = "Broadcasts the given message. Supports colors.", usage = "/<command> <message>")
public class Command_rawsay extends FreedomCommand
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.bukkit.entity.Player;

@CommandPermissions(level = Rank.OP, source = SourceType.BOTH)
@CommandParameters(description = "Allows you to set your own prefix.", usage = "/<command> [-s[ave]] <set <tag..> | list | gradient <hex> <hex> <tag..> | off | clear <player> | clearall>")
@CommandParameters(description = "Allows you to set your own prefix.", usage = "/<command> [-s[ave]] <set <tag..> | list | gradient <hex> <hex> <tag..> | off | clear <player> | clearall>", aliases = "prefix")
public class Command_tag extends FreedomCommand
{

Expand Down Expand Up @@ -300,4 +300,4 @@ public void save(Player player, String tag)
playerData.setTag(tag);
plugin.pl.save(playerData);
}
}
}