From a8e7312f45043d90be071534e7214ea20a14a0e6 Mon Sep 17 00:00:00 2001 From: unurled Date: Tue, 14 Dec 2021 10:02:57 +0100 Subject: [PATCH] Change to Raxen in files. --- src/main/java/gq/unurled/raxen/Raxen.java | 2 +- .../java/gq/unurled/raxen/commands/admin/ReloadCommand.java | 2 +- .../gq/unurled/raxen/commands/admin/TestGuiCommand.java | 2 +- src/main/resources/plugin.yml | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/gq/unurled/raxen/Raxen.java b/src/main/java/gq/unurled/raxen/Raxen.java index 808bc10..0c7a49c 100644 --- a/src/main/java/gq/unurled/raxen/Raxen.java +++ b/src/main/java/gq/unurled/raxen/Raxen.java @@ -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(); diff --git a/src/main/java/gq/unurled/raxen/commands/admin/ReloadCommand.java b/src/main/java/gq/unurled/raxen/commands/admin/ReloadCommand.java index f8561d4..4a0ac99 100644 --- a/src/main/java/gq/unurled/raxen/commands/admin/ReloadCommand.java +++ b/src/main/java/gq/unurled/raxen/commands/admin/ReloadCommand.java @@ -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; } diff --git a/src/main/java/gq/unurled/raxen/commands/admin/TestGuiCommand.java b/src/main/java/gq/unurled/raxen/commands/admin/TestGuiCommand.java index 9550f03..763e0a3 100644 --- a/src/main/java/gq/unurled/raxen/commands/admin/TestGuiCommand.java +++ b/src/main/java/gq/unurled/raxen/commands/admin/TestGuiCommand.java @@ -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])))); } } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 8384a17..3d450cd 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -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 \ No newline at end of file