diff --git a/src/main/java/foundation/esoteric/minecraft/plugins/template/PaperTemplatePlugin.java b/src/main/java/foundation/esoteric/minecraft/plugins/template/PaperTemplatePlugin.java index c43488bf..ed30acdf 100644 --- a/src/main/java/foundation/esoteric/minecraft/plugins/template/PaperTemplatePlugin.java +++ b/src/main/java/foundation/esoteric/minecraft/plugins/template/PaperTemplatePlugin.java @@ -2,54 +2,9 @@ import dev.jorel.commandapi.CommandAPI; import dev.jorel.commandapi.CommandAPIBukkitConfig; -import foundation.esoteric.minecraft.plugins.library.block.CustomBlockManager; -import foundation.esoteric.minecraft.plugins.library.commands.GiveCustomItemCommand; -import foundation.esoteric.minecraft.plugins.library.entity.CustomEntityManager; -import foundation.esoteric.minecraft.plugins.library.file.FileManagedPlugin; -import foundation.esoteric.minecraft.plugins.library.file.FileManager; -import foundation.esoteric.minecraft.plugins.library.http.server.HttpServerManager; -import foundation.esoteric.minecraft.plugins.library.item.CustomItemManager; -import foundation.esoteric.minecraft.plugins.library.item.CustomItemPlugin; -import foundation.esoteric.minecraft.plugins.library.resourcepack.ResourcePackManager; -import foundation.esoteric.minecraft.plugins.library.resourcepack.ResourcePackPlugin; import org.bukkit.plugin.java.JavaPlugin; -import foundation.esoteric.minecraft.plugins.template.commands.SetLanguageCommand; -import foundation.esoteric.minecraft.plugins.template.data.player.PlayerDataManager; -import foundation.esoteric.minecraft.plugins.template.language.LanguageManager; -import foundation.esoteric.minecraft.plugins.template.language.Message; -public final class PaperTemplatePlugin extends JavaPlugin implements FileManagedPlugin, CustomItemPlugin, ResourcePackPlugin { - - private FileManager fileManager; - private PlayerDataManager playerDataManager; - private LanguageManager languageManager; - private ResourcePackManager resourcePackManager; - private CustomItemManager customItemManager; - private CustomBlockManager customMultiblockManager; - - public FileManager getFileManager() { - return fileManager; - } - - public PlayerDataManager getPlayerDataManager() { - return playerDataManager; - } - - public LanguageManager getLanguageManager() { - return languageManager; - } - - public ResourcePackManager getResourcePackManager() { - return resourcePackManager; - } - - public CustomItemManager getCustomItemManager() { - return customItemManager; - } - - public CustomBlockManager getCustomMultiblockManager() { - return customMultiblockManager; - } +public final class PaperTemplatePlugin extends JavaPlugin { @Override public void onEnable() { @@ -60,32 +15,5 @@ public void onEnable() { CommandAPI.onLoad(commandAPIConfig); CommandAPI.onEnable(); - - fileManager = new FileManager(this); - playerDataManager = new PlayerDataManager(this); - if (Message.isEnabled()) { - languageManager = new LanguageManager(this); - } - - resourcePackManager = new ResourcePackManager(this); - new HttpServerManager(this); - customItemManager = new CustomItemManager(this); - new CustomEntityManager(this); - customMultiblockManager = new CustomBlockManager(this); - - if (Message.isEnabled()) { - new SetLanguageCommand(this); - } - new GiveCustomItemCommand(this); - } - - @Override - public void onDisable() { - if (playerDataManager != null) { - playerDataManager.save(); - } - if (customMultiblockManager != null) { - customMultiblockManager.save(); - } } } diff --git a/src/main/java/foundation/esoteric/minecraft/plugins/template/commands/SetLanguageCommand.java b/src/main/java/foundation/esoteric/minecraft/plugins/template/commands/SetLanguageCommand.java deleted file mode 100644 index eb2a2e93..00000000 --- a/src/main/java/foundation/esoteric/minecraft/plugins/template/commands/SetLanguageCommand.java +++ /dev/null @@ -1,49 +0,0 @@ -package foundation.esoteric.minecraft.plugins.template.commands; - -import dev.jorel.commandapi.CommandAPICommand; -import dev.jorel.commandapi.arguments.Argument; -import dev.jorel.commandapi.arguments.ArgumentSuggestions; -import dev.jorel.commandapi.arguments.CustomArgument; -import dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentException; -import dev.jorel.commandapi.arguments.GreedyStringArgument; -import net.kyori.adventure.text.Component; -import foundation.esoteric.minecraft.plugins.template.PaperTemplatePlugin; -import foundation.esoteric.minecraft.plugins.template.language.LanguageManager; -import foundation.esoteric.minecraft.plugins.template.language.Message; -import org.jetbrains.annotations.NotNull; - -import java.util.Set; - -public class SetLanguageCommand extends CommandAPICommand { - - public SetLanguageCommand(@NotNull PaperTemplatePlugin plugin) { - super("set-language"); - - LanguageManager languageManager = plugin.getLanguageManager(); - assert languageManager != null; - Set languages = languageManager.getLanguages(); - - String languageArgumentNodeName = "language"; - - Argument languageArgument = new CustomArgument<>(new GreedyStringArgument(languageArgumentNodeName), (info) -> { - String selectedLanguage = info.currentInput(); - if (!languages.contains(selectedLanguage)) { - Component errorMessage = languageManager.getMessage(Message.UNKNOWN_LANGUAGE, info.sender(), selectedLanguage); - throw CustomArgumentException.fromAdventureComponent(errorMessage); - } - - return selectedLanguage; - }).includeSuggestions(ArgumentSuggestions.strings(languageManager.getLanguages().toArray(String[]::new))); - - withArguments(languageArgument); - - executesPlayer((player, arguments) -> { - String selectedLanguage = (String) arguments.get(languageArgumentNodeName); - languageManager.setLanguage(player, selectedLanguage); - - languageManager.sendMessage(Message.SET_LANGUAGE_SUCCESSFULLY, player, selectedLanguage); - }); - - register(plugin); - } -} diff --git a/src/main/java/foundation/esoteric/minecraft/plugins/template/data/player/PlayerDataManager.java b/src/main/java/foundation/esoteric/minecraft/plugins/template/data/player/PlayerDataManager.java deleted file mode 100644 index 86841eea..00000000 --- a/src/main/java/foundation/esoteric/minecraft/plugins/template/data/player/PlayerDataManager.java +++ /dev/null @@ -1,129 +0,0 @@ -package foundation.esoteric.minecraft.plugins.template.data.player; - -import com.google.gson.Gson; -import org.bukkit.entity.Player; -import foundation.esoteric.minecraft.plugins.template.PaperTemplatePlugin; -import org.jetbrains.annotations.NotNull; - -import java.io.File; -import java.io.FileReader; -import java.io.FileWriter; -import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import java.util.Map.Entry; -import java.util.UUID; - -public class PlayerDataManager { - - private final PaperTemplatePlugin plugin; - - private final String playerDataFilesExtension = ".json"; - - private final String playerDataFolderName = "data" + File.separator + "player"; - private final String playerDataFolderPath; - private final File playerDataFolder; - - private final Map playerData = new HashMap<>(); - - public PlayerDataManager(@NotNull PaperTemplatePlugin plugin) { - this.plugin = plugin; - - playerDataFolderPath = plugin.getDataPath() + File.separator + playerDataFolderName; - playerDataFolder = new File(playerDataFolderPath); - - load(); - } - - private void load() { - if (!playerDataFolder.exists()) { - return; - } - - Gson gson = new Gson(); - - File[] playerDataFiles = playerDataFolder.listFiles(); - assert playerDataFiles != null; - for (File playerDataFile : playerDataFiles) { - String fileName = playerDataFile.getName(); - String playerUuidString = fileName.split("\\.", 2)[0]; - - UUID playerUuid = UUID.fromString(playerUuidString); - PlayerProfile profile; - - try { - FileReader reader = new FileReader(playerDataFile); - - profile = gson.fromJson(reader, PlayerProfile.class); - - reader.close(); - } catch (IOException exception) { - exception.printStackTrace(); - continue; - } - - playerData.put(playerUuid, profile); - } - } - - public void save() { - if (playerData.isEmpty()) { - return; - } - - playerDataFolder.mkdir(); - - Gson gson = new Gson(); - - for (Entry entry : playerData.entrySet()) { - UUID uuid = entry.getKey(); - PlayerProfile profile = entry.getValue(); - - File file = new File(playerDataFolderPath + File.separator + uuid.toString() + playerDataFilesExtension); - - try { - file.createNewFile(); - - FileWriter writer = new FileWriter(file); - - String json = gson.toJson(profile); - - writer.write(json); - - writer.flush(); - writer.close(); - } catch (IOException exception) { - exception.printStackTrace(); - } - } - } - - public PlayerProfile getPlayerProfile(UUID uuid, boolean createNewProfile) { - PlayerProfile profile = playerData.get(uuid); - - if (profile == null) { - if (!createNewProfile) { - return null; - } - - assert plugin.getLanguageManager() != null; - profile = new PlayerProfile(uuid, plugin.getLanguageManager().getDefaultLanguage()); - - playerData.put(uuid, profile); - } - - return playerData.get(uuid); - } - - public PlayerProfile getPlayerProfile(UUID uuid) { - return getPlayerProfile(uuid, true); - } - - public PlayerProfile getPlayerProfile(@NotNull Player player, boolean createNewProfile) { - return getPlayerProfile(player.getUniqueId(), createNewProfile); - } - - public PlayerProfile getPlayerProfile(Player player) { - return getPlayerProfile(player, true); - } -} diff --git a/src/main/java/foundation/esoteric/minecraft/plugins/template/data/player/PlayerProfile.java b/src/main/java/foundation/esoteric/minecraft/plugins/template/data/player/PlayerProfile.java deleted file mode 100644 index 20e44f30..00000000 --- a/src/main/java/foundation/esoteric/minecraft/plugins/template/data/player/PlayerProfile.java +++ /dev/null @@ -1,27 +0,0 @@ -package foundation.esoteric.minecraft.plugins.template.data.player; - -import java.util.UUID; - -public class PlayerProfile { - - private final UUID uuid; - - private String language; - - public UUID getUuid() { - return uuid; - } - - public String getLanguage() { - return language; - } - - public void setLanguage(String language) { - this.language = language; - } - - public PlayerProfile(UUID uuid, String language) { - this.uuid = uuid; - this.language = language; - } -} diff --git a/src/main/java/foundation/esoteric/minecraft/plugins/template/language/LanguageManager.java b/src/main/java/foundation/esoteric/minecraft/plugins/template/language/LanguageManager.java deleted file mode 100644 index 890de68d..00000000 --- a/src/main/java/foundation/esoteric/minecraft/plugins/template/language/LanguageManager.java +++ /dev/null @@ -1,314 +0,0 @@ -package foundation.esoteric.minecraft.plugins.template.language; - -import net.kyori.adventure.text.Component; -import net.kyori.adventure.text.TextReplacementConfig; -import net.kyori.adventure.text.minimessage.MiniMessage; -import org.bukkit.Bukkit; -import org.bukkit.command.CommandSender; -import org.bukkit.configuration.file.YamlConfiguration; -import org.bukkit.entity.Player; -import foundation.esoteric.minecraft.plugins.template.PaperTemplatePlugin; -import foundation.esoteric.minecraft.plugins.template.data.player.PlayerProfile; -import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; - -import java.io.File; -import java.util.*; -import java.util.stream.Stream; - -public class LanguageManager { - - private final MiniMessage miniMessage = MiniMessage.miniMessage(); - - private final PaperTemplatePlugin plugin; - - private final String languageMessageFilesExtension = ".yaml"; - - private final String languagesFolderName = "languages"; - private final String languagesFolderPath; - private final File languagesFolder; - - private final String defaultLanguage; - - private final Map> languages = new HashMap<>(); - - public String getDefaultLanguage() { - return defaultLanguage; - } - - public Set getLanguages() { - return languages.keySet(); - } - - public LanguageManager(@NotNull PaperTemplatePlugin plugin) { - this.plugin = plugin; - - languagesFolderPath = plugin.getDataPath() + File.separator + languagesFolderName; - languagesFolder = new File(languagesFolderPath); - - saveLanguageFiles(); - loadLanguageMessages(); - - defaultLanguage = plugin.getConfig().getString("language.default-language"); - } - - private void saveLanguageFiles() { - String languagesResourceFolderName = languagesFolderName; - plugin.getFileManager().saveResourceFolder(languagesResourceFolderName, !plugin.getConfig().getBoolean("language.use-custom-messages")); - } - - private void loadLanguageMessages() { - for (File languageMessagesFile : languagesFolder.listFiles()) { - String languageName = languageMessagesFile.getName().split("\\.", 2)[0]; - - String languageMessagesResourcePath = languagesFolderName + File.separator + languageName + languageMessageFilesExtension; - plugin.saveResource(languageMessagesResourcePath, false); - - YamlConfiguration messagesConfiguration = YamlConfiguration.loadConfiguration(languageMessagesFile); - Map messages = new HashMap<>(); - - for (Message message : Message.values()) { - String mappedResult = messagesConfiguration.getString(message.name()); - - if (mappedResult != null) { - messages.put(message, mappedResult); - } - } - - languages.put(languageName, messages); - } - } - - public String getLanguage(CommandSender commandSender) { - String language = getProfileLanguage(commandSender); - - if (language == null) { - language = getLocale(commandSender); - } - - return language; - } - - public String getLanguage(UUID uuid) { - String language = getProfileLanguage(uuid); - - if (language == null) { - language = getLocale(uuid); - } - - return language; - } - - public String getLanguage(@NotNull PlayerProfile profile) { - return getLanguage(profile.getUuid()); - } - - public void setLanguage(@NotNull PlayerProfile profile, String language) { - profile.setLanguage(language); - } - - public void setLanguage(UUID uuid, String language) { - assert plugin.getPlayerDataManager() != null; - setLanguage(plugin.getPlayerDataManager().getPlayerProfile(uuid), language); - } - - public void setLanguage(@NotNull Player player, String language) { - setLanguage(player.getUniqueId(), language); - } - - private String getLocale(CommandSender commandSender) { - if (!(commandSender instanceof Player player)) { - return defaultLanguage; - } - - Locale playerLocale = player.locale(); - String localeDisplayName = playerLocale.getDisplayName(); - - if (!getLanguages().contains(localeDisplayName)) { - return defaultLanguage; - } - - return localeDisplayName; - } - - private String getLocale(UUID uuid) { - Player player = Bukkit.getPlayer(uuid); - return getLocale(player); - } - - private String getLocale(@NotNull PlayerProfile profile) { - return getLocale(profile.getUuid()); - } - - private String getProfileLanguage(PlayerProfile profile) { - if (profile == null) { - return null; - } - - return profile.getLanguage(); - } - - private String getProfileLanguage(UUID uuid) { - return getProfileLanguage(plugin.getPlayerDataManager().getPlayerProfile(uuid)); - } - - private String getProfileLanguage(CommandSender commandSender) { - if (commandSender == null) { - return null; - } else if (commandSender instanceof Player player) { - return getProfileLanguage(player.getUniqueId()); - } else { - return defaultLanguage; - } - } - - private @Nullable String getRawMessageString(Message message, String language, boolean fallbackOnDefaultLanguage) { - Map languageMessageMap = languages.get(language); - String miniMessageString = languageMessageMap.get(message); - - if (miniMessageString == null) { - return fallbackOnDefaultLanguage ? getRawMessageString(message, defaultLanguage, false) : null; - } - - return miniMessageString; - } - - private String getRawMessageString(Message message, String language) { - return getRawMessageString(message, language, true); - } - - private Component getMessage(Message message, String language, boolean fallbackOnDefaultLanguage, Component @NotNull ... arguments) { - String miniMessageString = getRawMessageString(message, language, fallbackOnDefaultLanguage); - - assert miniMessageString != null; - Component result = miniMessage.deserialize(miniMessageString); - - for (int i = 0; i < arguments.length; i++) { - final int argumentIndex = i; - - result = result.replaceText(TextReplacementConfig.builder().matchLiteral("{" + i + "}").replacement((matchResult, builder) -> arguments[argumentIndex]).build()); - } - - return result; - } - - private Component getMessage(Message message, String language, Component... arguments) { - return getMessage(message, language, true, arguments); - } - - private Component getMessage(Message message, String language, boolean fallbackOnDefaultLanguage, Object... arguments) { - return getMessage(message, language, fallbackOnDefaultLanguage, toComponents(arguments)); - } - - private Component getMessage(Message message, String language, Object... arguments) { - return getMessage(message, language, true, arguments); - } - - public Component getMessage(Message message, CommandSender commandSender, boolean fallbackOnDefaultLanguage, Component... arguments) { - return getMessage(message, getLanguage(commandSender), fallbackOnDefaultLanguage, arguments); - } - - public Component getMessage(Message message, CommandSender commandSender, Component... arguments) { - return getMessage(message, commandSender, true, arguments); - } - - public Component getMessage(Message message, CommandSender commandSender, boolean fallbackOnDefaultLanguage, Object... arguments) { - return getMessage(message, commandSender, fallbackOnDefaultLanguage, toComponents(arguments)); - } - - public Component getMessage(Message message, CommandSender commandSender, Object... arguments) { - return getMessage(message, commandSender, true, arguments); - } - - public Component getMessage(Message message, UUID uuid, boolean fallbackOnDefaultLanguage, Component... arguments) { - return getMessage(message, getLanguage(uuid), fallbackOnDefaultLanguage, arguments); - } - - public Component getMessage(Message message, UUID uuid, Component... arguments) { - return getMessage(message, uuid, true, arguments); - } - - public Component getMessage(Message message, UUID uuid, boolean fallbackOnDefaultLanguage, Object... arguments) { - return getMessage(message, uuid, fallbackOnDefaultLanguage, toComponents(arguments)); - } - - public Component getMessage(Message message, UUID uuid, Object... arguments) { - return getMessage(message, uuid, true, arguments); - } - - public Component getMessage(Message message, PlayerProfile playerProfile, boolean fallbackOnDefaultLanguage, Component... arguments) { - return getMessage(message, getLanguage(playerProfile), fallbackOnDefaultLanguage, arguments); - } - - public Component getMessage(Message message, PlayerProfile playerProfile, Component... arguments) { - return getMessage(message, playerProfile, true, arguments); - } - - public Component getMessage(Message message, PlayerProfile playerProfile, boolean fallbackOnDefaultLanguage, Object... arguments) { - return getMessage(message, playerProfile, fallbackOnDefaultLanguage, toComponents(arguments)); - } - - public Component getMessage(Message message, PlayerProfile playerProfile, Object... arguments) { - return getMessage(message, playerProfile, true, arguments); - } - - public void sendMessage(Message message, @NotNull CommandSender commandSender, boolean fallbackOnDefaultLanguage, Component... arguments) { - commandSender.sendMessage(getMessage(message, getLanguage(commandSender), fallbackOnDefaultLanguage, arguments)); - } - - public void sendMessage(Message message, @NotNull CommandSender commandSender, Component... arguments) { - commandSender.sendMessage(getMessage(message, commandSender, true, arguments)); - } - - public void sendMessage(Message message, @NotNull CommandSender commandSender, boolean fallbackOnDefaultLanguage, Object... arguments) { - commandSender.sendMessage(getMessage(message, commandSender, fallbackOnDefaultLanguage, toComponents(arguments))); - } - - public void sendMessage(Message message, @NotNull CommandSender commandSender, Object... arguments) { - commandSender.sendMessage(getMessage(message, commandSender, true, arguments)); - } - - public void sendMessage(Message message, UUID uuid, boolean fallbackOnDefaultLanguage, Component... arguments) { - Bukkit.getPlayer(uuid).sendMessage(getMessage(message, getLanguage(uuid), fallbackOnDefaultLanguage, arguments)); - } - - public void sendMessage(Message message, UUID uuid, Component... arguments) { - Bukkit.getPlayer(uuid).sendMessage(getMessage(message, uuid, true, arguments)); - } - - public void sendMessage(Message message, UUID uuid, boolean fallbackOnDefaultLanguage, Object... arguments) { - Bukkit.getPlayer(uuid).sendMessage(getMessage(message, uuid, fallbackOnDefaultLanguage, toComponents(arguments))); - } - - public void sendMessage(Message message, UUID uuid, Object... arguments) { - Bukkit.getPlayer(uuid).sendMessage(getMessage(message, uuid, true, arguments)); - } - - public void sendMessage(Message message, @NotNull PlayerProfile playerProfile, boolean fallbackOnDefaultLanguage, Component... arguments) { - Bukkit.getPlayer(playerProfile.getUuid()).sendMessage(getMessage(message, getLanguage(playerProfile), fallbackOnDefaultLanguage, arguments)); - } - - public void sendMessage(Message message, @NotNull PlayerProfile playerProfile, Component... arguments) { - Bukkit.getPlayer(playerProfile.getUuid()).sendMessage(getMessage(message, playerProfile, true, arguments)); - } - - public void sendMessage(Message message, @NotNull PlayerProfile playerProfile, boolean fallbackOnDefaultLanguage, Object... arguments) { - Bukkit.getPlayer(playerProfile.getUuid()).sendMessage(getMessage(message, playerProfile, fallbackOnDefaultLanguage, toComponents(arguments))); - } - - public void sendMessage(Message message, @NotNull PlayerProfile playerProfile, Object... arguments) { - Bukkit.getPlayer(playerProfile.getUuid()).sendMessage(getMessage(message, playerProfile, true, arguments)); - } - - private Component @NotNull [] toComponents(Object... objects) { - return Stream.of(objects).map(this::toComponent).toArray(Component[]::new); - } - - private Component toComponent(Object object) { - if (object instanceof Component component) { - return component; - } - - return Component.text(String.valueOf(object)); - } -} diff --git a/src/main/java/foundation/esoteric/minecraft/plugins/template/language/Message.java b/src/main/java/foundation/esoteric/minecraft/plugins/template/language/Message.java deleted file mode 100644 index debe8fb1..00000000 --- a/src/main/java/foundation/esoteric/minecraft/plugins/template/language/Message.java +++ /dev/null @@ -1,36 +0,0 @@ -package foundation.esoteric.minecraft.plugins.template.language; - -import java.util.function.BooleanSupplier; - -public enum Message { - SET_LANGUAGE_SUCCESSFULLY(() -> false), - UNKNOWN_LANGUAGE(() -> false), - - UNKNOWN_CUSTOM_ITEM(), - UNKNOWN_CUSTOM_MULTIENTITY(), - UNKNOWN_CUSTOM_MULTIBLOCK(); - - private final BooleanSupplier isMessageInUseSupplier; - - public boolean isMessageInUse() { - return isMessageInUseSupplier.getAsBoolean(); - } - - Message(BooleanSupplier isMessageInUseSupplier) { - this.isMessageInUseSupplier = isMessageInUseSupplier; - } - - Message() { - this(() -> true); - } - - public static boolean isEnabled() { - for (Message message : values()) { - if (message.isMessageInUse()) { - return true; - } - } - - return false; - } -} diff --git a/src/main/resources/Paper Template Plugin Resource Pack/pack.mcmeta b/src/main/resources/Paper Template Plugin Resource Pack/pack.mcmeta deleted file mode 100644 index 3c563f13..00000000 --- a/src/main/resources/Paper Template Plugin Resource Pack/pack.mcmeta +++ /dev/null @@ -1,6 +0,0 @@ -{ - "pack": { - "pack_format": 34, - "description": "The resource pack for the Paper Template Plugin" - } -} diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index b07e9677..e69de29b 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,6 +0,0 @@ -language: - default-language: English (United Kingdom) - use-custom-messages: false - -http-server: - port: 8000 diff --git a/src/main/resources/data/multiblock.json b/src/main/resources/data/multiblock.json deleted file mode 100644 index 0637a088..00000000 --- a/src/main/resources/data/multiblock.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/src/main/resources/languages/English (United Kingdom).yaml b/src/main/resources/languages/English (United Kingdom).yaml deleted file mode 100644 index 7c4cc11d..00000000 --- a/src/main/resources/languages/English (United Kingdom).yaml +++ /dev/null @@ -1,6 +0,0 @@ -SET_LANGUAGE_SUCCESSFULLY: "Successfully set your language to {0}!" -UNKNOWN_LANGUAGE: "Unsupported or unknown language: '{0}'." - -UNKNOWN_CUSTOM_ITEM: "Unknown custom item: '{0}'." -UNKNOWN_CUSTOM_MULTIENTITY: "Unknown custom multientity: '{0}'." -UNKNOWN_CUSTOM_MULTIBLOCK: "Unknown custom multiblock: '{0}'." diff --git a/src/main/resources/languages/English (United States).yaml b/src/main/resources/languages/English (United States).yaml deleted file mode 100644 index 7c4cc11d..00000000 --- a/src/main/resources/languages/English (United States).yaml +++ /dev/null @@ -1,6 +0,0 @@ -SET_LANGUAGE_SUCCESSFULLY: "Successfully set your language to {0}!" -UNKNOWN_LANGUAGE: "Unsupported or unknown language: '{0}'." - -UNKNOWN_CUSTOM_ITEM: "Unknown custom item: '{0}'." -UNKNOWN_CUSTOM_MULTIENTITY: "Unknown custom multientity: '{0}'." -UNKNOWN_CUSTOM_MULTIBLOCK: "Unknown custom multiblock: '{0}'."