Change to Raxen in files.
This commit is contained in:
parent
5761aa5e79
commit
a8e7312f45
4 changed files with 6 additions and 6 deletions
|
@ -19,7 +19,7 @@ import java.util.logging.Logger;
|
|||
|
||||
public final class Raxen extends JavaPlugin {
|
||||
|
||||
private static final String prefix = ChatColor.AQUA + "Ex" + ChatColor.LIGHT_PURPLE + "> ";
|
||||
private static final String prefix = ChatColor.AQUA + "Rx" + ChatColor.LIGHT_PURPLE + "> ";
|
||||
@Getter
|
||||
private static final String version = "0.0.1";
|
||||
private final PluginManager pm = getServer().getPluginManager();
|
||||
|
|
|
@ -18,7 +18,7 @@ public class ReloadCommand implements TabExecutor {
|
|||
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String msg, @NotNull String[] args) {
|
||||
if(sender instanceof Player) {
|
||||
Player player = (Player) sender;
|
||||
if(!player.hasPermission("elixium.reload.cmd")) {
|
||||
if(!player.hasPermission("raxen.reload.cmd")) {
|
||||
player.sendMessage(noPerms());
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public class TestGuiCommand implements TabExecutor {
|
|||
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
||||
if(sender instanceof Player) {
|
||||
Player player = (Player) sender;
|
||||
if(player.hasPermission("elixium.test.gui.cmd")) {
|
||||
if(player.hasPermission("raxen.test.gui.cmd")) {
|
||||
player.openInventory(Bukkit.createInventory(null, 54, Component.text(color(args[0]))));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,9 +22,9 @@ commands:
|
|||
description: nbt command
|
||||
|
||||
permissions:
|
||||
elixium.reload.cmd:
|
||||
raxen.reload.cmd:
|
||||
description: reload command permission
|
||||
elixium.test.gui.cmd:
|
||||
raxen.test.gui.cmd:
|
||||
description: testgui command permission
|
||||
elixium.nbt.cmd:
|
||||
raxen.nbt.cmd:
|
||||
description: nbt command permission
|
Loading…
Reference in a new issue