diff --git a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/BukkitMCLoader.java b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/PaperMCLoader.java similarity index 88% rename from currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/BukkitMCLoader.java rename to currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/PaperMCLoader.java index f19dc8b..51a39ad 100644 --- a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/BukkitMCLoader.java +++ b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/PaperMCLoader.java @@ -1,23 +1,23 @@ -package dev.xhyrom.lighteco.currency.money.bukkit; +package dev.xhyrom.lighteco.currency.money.paper; import dev.xhyrom.lighteco.api.LightEco; import dev.xhyrom.lighteco.api.LightEcoProvider; import dev.xhyrom.lighteco.api.manager.CommandManager; import dev.xhyrom.lighteco.api.manager.CurrencyManager; import dev.xhyrom.lighteco.api.model.currency.Currency; -import dev.xhyrom.lighteco.currency.money.bukkit.hooks.vault.VaultFactory; +import dev.xhyrom.lighteco.currency.money.paper.hooks.vault.VaultFactory; import dev.xhyrom.lighteco.currency.money.common.AbstractPlugin; import dev.xhyrom.lighteco.currency.money.common.Plugin; import dev.xhyrom.lighteco.currency.money.common.currency.MoneyCurrency; import lombok.Getter; import org.bukkit.plugin.java.JavaPlugin; -public class BukkitMCLoader extends JavaPlugin { +public class PaperMCLoader extends JavaPlugin { private VaultFactory vaultFactory; @Getter private final Plugin plugin; - public BukkitMCLoader() { + public PaperMCLoader() { this.plugin = new AbstractPlugin(this.getDataFolder().toPath()); } diff --git a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/hooks/vault/Vault.java b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/hooks/vault/Vault.java similarity index 99% rename from currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/hooks/vault/Vault.java rename to currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/hooks/vault/Vault.java index 03888e4..cc2cb94 100644 --- a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/hooks/vault/Vault.java +++ b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/hooks/vault/Vault.java @@ -1,4 +1,4 @@ -package dev.xhyrom.lighteco.currency.money.bukkit.hooks.vault; +package dev.xhyrom.lighteco.currency.money.paper.hooks.vault; import dev.xhyrom.lighteco.api.LightEco; import dev.xhyrom.lighteco.api.LightEcoProvider; diff --git a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/hooks/vault/VaultFactory.java b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/hooks/vault/VaultFactory.java similarity index 76% rename from currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/hooks/vault/VaultFactory.java rename to currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/hooks/vault/VaultFactory.java index 8a72208..84d8829 100644 --- a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/bukkit/hooks/vault/VaultFactory.java +++ b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/paper/hooks/vault/VaultFactory.java @@ -1,16 +1,16 @@ -package dev.xhyrom.lighteco.currency.money.bukkit.hooks.vault; +package dev.xhyrom.lighteco.currency.money.paper.hooks.vault; -import dev.xhyrom.lighteco.currency.money.bukkit.BukkitMCLoader; +import dev.xhyrom.lighteco.currency.money.paper.PaperMCLoader; import net.milkbowl.vault.economy.Economy; import org.bukkit.Bukkit; import org.bukkit.plugin.ServicePriority; import org.bukkit.plugin.ServicesManager; public class VaultFactory { - private final BukkitMCLoader loader; + private final PaperMCLoader loader; private Vault vault; - public VaultFactory(BukkitMCLoader loader) { + public VaultFactory(PaperMCLoader loader) { this.loader = loader; } diff --git a/currency-money/src/main/resources/plugin.yml b/currency-money/src/main/resources/plugin.yml index cbe9354..e893415 100644 --- a/currency-money/src/main/resources/plugin.yml +++ b/currency-money/src/main/resources/plugin.yml @@ -1,9 +1,9 @@ name: ${name} description: ${description} version: ${version} -main: dev.xhyrom.lighteco.currency.money.bukkit.BukkitMCLoader +main: dev.xhyrom.lighteco.currency.money.paper.PaperMCLoader author: ${author} -api-version: 1.20 +api-version: 1.17 load: STARTUP softdepend: diff --git a/paper/src/main/resources/plugin.yml b/paper/src/main/resources/plugin.yml index 18f6bcf..6868c77 100644 --- a/paper/src/main/resources/plugin.yml +++ b/paper/src/main/resources/plugin.yml @@ -3,7 +3,7 @@ description: ${description} version: ${version} main: dev.xhyrom.lighteco.paper.PaperLightEcoLoader author: ${author} -api-version: 1.16 +api-version: 1.17 load: STARTUP softdepend: