diff --git a/src/cn/citycraft/plugins/MainCommand.java b/src/cn/citycraft/RealBackpacks/MainCommand.java similarity index 98% rename from src/cn/citycraft/plugins/MainCommand.java rename to src/cn/citycraft/RealBackpacks/MainCommand.java index 6e99c21..9c3e4b4 100644 --- a/src/cn/citycraft/plugins/MainCommand.java +++ b/src/cn/citycraft/RealBackpacks/MainCommand.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins; +package cn.citycraft.RealBackpacks; import java.io.File; import java.sql.Connection; @@ -16,11 +16,11 @@ import org.bukkit.entity.Player; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; -import cn.citycraft.plugins.config.FileConfig; -import cn.citycraft.plugins.config.PlayerConfig; -import cn.citycraft.plugins.util.InvJsonUtils; -import cn.citycraft.plugins.util.MysqlFunctions; -import cn.citycraft.plugins.util.RBUtil; +import cn.citycraft.RealBackpacks.config.FileConfig; +import cn.citycraft.RealBackpacks.config.PlayerConfig; +import cn.citycraft.RealBackpacks.util.InvJsonUtils; +import cn.citycraft.RealBackpacks.util.MysqlFunctions; +import cn.citycraft.RealBackpacks.util.RBUtil; public class MainCommand implements CommandExecutor { diff --git a/src/cn/citycraft/plugins/RBInterface.java b/src/cn/citycraft/RealBackpacks/RBInterface.java similarity index 88% rename from src/cn/citycraft/plugins/RBInterface.java rename to src/cn/citycraft/RealBackpacks/RBInterface.java index 0255eaa..919b16b 100644 --- a/src/cn/citycraft/plugins/RBInterface.java +++ b/src/cn/citycraft/RealBackpacks/RBInterface.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins; +package cn.citycraft.RealBackpacks; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; diff --git a/src/cn/citycraft/plugins/RealBackpacks.java b/src/cn/citycraft/RealBackpacks/RealBackpacks.java similarity index 96% rename from src/cn/citycraft/plugins/RealBackpacks.java rename to src/cn/citycraft/RealBackpacks/RealBackpacks.java index 5b3cf99..bce5fe0 100644 --- a/src/cn/citycraft/plugins/RealBackpacks.java +++ b/src/cn/citycraft/RealBackpacks/RealBackpacks.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins; +package cn.citycraft.RealBackpacks; import java.lang.reflect.Constructor; import java.util.ArrayList; @@ -17,13 +17,13 @@ import org.bukkit.material.MaterialData; import org.bukkit.plugin.RegisteredServiceProvider; import org.bukkit.plugin.java.JavaPlugin; -import cn.citycraft.plugins.config.Config; -import cn.citycraft.plugins.listeners.CraftListener; -import cn.citycraft.plugins.listeners.EntityListener; -import cn.citycraft.plugins.listeners.InventoryListener; -import cn.citycraft.plugins.listeners.PlayerListener; -import cn.citycraft.plugins.util.MysqlFunctions; -import cn.citycraft.plugins.util.RBUtil; +import cn.citycraft.RealBackpacks.config.Config; +import cn.citycraft.RealBackpacks.listeners.CraftListener; +import cn.citycraft.RealBackpacks.listeners.EntityListener; +import cn.citycraft.RealBackpacks.listeners.InventoryListener; +import cn.citycraft.RealBackpacks.listeners.PlayerListener; +import cn.citycraft.RealBackpacks.util.MysqlFunctions; +import cn.citycraft.RealBackpacks.util.RBUtil; public class RealBackpacks extends JavaPlugin { diff --git a/src/cn/citycraft/plugins/WalkSpeedRunnable.java b/src/cn/citycraft/RealBackpacks/WalkSpeedRunnable.java similarity index 98% rename from src/cn/citycraft/plugins/WalkSpeedRunnable.java rename to src/cn/citycraft/RealBackpacks/WalkSpeedRunnable.java index 32f62a1..6254e82 100644 --- a/src/cn/citycraft/plugins/WalkSpeedRunnable.java +++ b/src/cn/citycraft/RealBackpacks/WalkSpeedRunnable.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins; +package cn.citycraft.RealBackpacks; import java.util.ArrayList; import java.util.Collections; diff --git a/src/cn/citycraft/plugins/config/Config.java b/src/cn/citycraft/RealBackpacks/config/Config.java similarity index 95% rename from src/cn/citycraft/plugins/config/Config.java rename to src/cn/citycraft/RealBackpacks/config/Config.java index 5f027b0..b4e096c 100644 --- a/src/cn/citycraft/plugins/config/Config.java +++ b/src/cn/citycraft/RealBackpacks/config/Config.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.config; +package cn.citycraft.RealBackpacks.config; import java.io.File; import java.io.IOException; diff --git a/src/cn/citycraft/plugins/config/ConfigLoader.java b/src/cn/citycraft/RealBackpacks/config/ConfigLoader.java similarity index 98% rename from src/cn/citycraft/plugins/config/ConfigLoader.java rename to src/cn/citycraft/RealBackpacks/config/ConfigLoader.java index bcbe575..e024fa8 100644 --- a/src/cn/citycraft/plugins/config/ConfigLoader.java +++ b/src/cn/citycraft/RealBackpacks/config/ConfigLoader.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.config; +package cn.citycraft.RealBackpacks.config; import java.io.File; import java.io.IOException; diff --git a/src/cn/citycraft/plugins/config/FileConfig.java b/src/cn/citycraft/RealBackpacks/config/FileConfig.java similarity index 98% rename from src/cn/citycraft/plugins/config/FileConfig.java rename to src/cn/citycraft/RealBackpacks/config/FileConfig.java index 5a64b70..9ba47bf 100644 --- a/src/cn/citycraft/plugins/config/FileConfig.java +++ b/src/cn/citycraft/RealBackpacks/config/FileConfig.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.config; +package cn.citycraft.RealBackpacks.config; import java.io.File; import java.io.FileInputStream; diff --git a/src/cn/citycraft/plugins/config/PlayerConfig.java b/src/cn/citycraft/RealBackpacks/config/PlayerConfig.java similarity index 96% rename from src/cn/citycraft/plugins/config/PlayerConfig.java rename to src/cn/citycraft/RealBackpacks/config/PlayerConfig.java index dff85e1..344eb79 100644 --- a/src/cn/citycraft/plugins/config/PlayerConfig.java +++ b/src/cn/citycraft/RealBackpacks/config/PlayerConfig.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.config; +package cn.citycraft.RealBackpacks.config; import java.io.File; import java.io.IOException; diff --git a/src/cn/citycraft/plugins/listeners/CraftListener.java b/src/cn/citycraft/RealBackpacks/listeners/CraftListener.java similarity index 95% rename from src/cn/citycraft/plugins/listeners/CraftListener.java rename to src/cn/citycraft/RealBackpacks/listeners/CraftListener.java index 3fd8968..0da4abf 100644 --- a/src/cn/citycraft/plugins/listeners/CraftListener.java +++ b/src/cn/citycraft/RealBackpacks/listeners/CraftListener.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.listeners; +package cn.citycraft.RealBackpacks.listeners; import java.util.List; @@ -11,7 +11,7 @@ import org.bukkit.event.Listener; import org.bukkit.event.inventory.PrepareItemCraftEvent; import org.bukkit.inventory.ItemStack; -import cn.citycraft.plugins.RealBackpacks; +import cn.citycraft.RealBackpacks.RealBackpacks; public class CraftListener implements Listener { diff --git a/src/cn/citycraft/plugins/listeners/EntityListener.java b/src/cn/citycraft/RealBackpacks/listeners/EntityListener.java similarity index 92% rename from src/cn/citycraft/plugins/listeners/EntityListener.java rename to src/cn/citycraft/RealBackpacks/listeners/EntityListener.java index c586694..0129729 100644 --- a/src/cn/citycraft/plugins/listeners/EntityListener.java +++ b/src/cn/citycraft/RealBackpacks/listeners/EntityListener.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.listeners; +package cn.citycraft.RealBackpacks.listeners; import java.util.ArrayList; import java.util.List; @@ -10,8 +10,8 @@ import org.bukkit.event.Listener; import org.bukkit.event.entity.FoodLevelChangeEvent; import org.bukkit.inventory.Inventory; -import cn.citycraft.plugins.RealBackpacks; -import cn.citycraft.plugins.util.RBUtil; +import cn.citycraft.RealBackpacks.RealBackpacks; +import cn.citycraft.RealBackpacks.util.RBUtil; public class EntityListener implements Listener { diff --git a/src/cn/citycraft/plugins/listeners/InventoryListener.java b/src/cn/citycraft/RealBackpacks/listeners/InventoryListener.java similarity index 96% rename from src/cn/citycraft/plugins/listeners/InventoryListener.java rename to src/cn/citycraft/RealBackpacks/listeners/InventoryListener.java index 3260e79..25c7323 100644 --- a/src/cn/citycraft/plugins/listeners/InventoryListener.java +++ b/src/cn/citycraft/RealBackpacks/listeners/InventoryListener.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.listeners; +package cn.citycraft.RealBackpacks.listeners; import java.sql.SQLException; import java.util.List; @@ -14,11 +14,11 @@ import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; -import cn.citycraft.plugins.RealBackpacks; -import cn.citycraft.plugins.config.PlayerConfig; -import cn.citycraft.plugins.util.InvJsonUtils; -import cn.citycraft.plugins.util.MysqlFunctions; -import cn.citycraft.plugins.util.RBUtil; +import cn.citycraft.RealBackpacks.RealBackpacks; +import cn.citycraft.RealBackpacks.config.PlayerConfig; +import cn.citycraft.RealBackpacks.util.InvJsonUtils; +import cn.citycraft.RealBackpacks.util.MysqlFunctions; +import cn.citycraft.RealBackpacks.util.RBUtil; public class InventoryListener implements Listener { diff --git a/src/cn/citycraft/plugins/listeners/PlayerListener.java b/src/cn/citycraft/RealBackpacks/listeners/PlayerListener.java similarity index 95% rename from src/cn/citycraft/plugins/listeners/PlayerListener.java rename to src/cn/citycraft/RealBackpacks/listeners/PlayerListener.java index 05b2067..363ffde 100644 --- a/src/cn/citycraft/plugins/listeners/PlayerListener.java +++ b/src/cn/citycraft/RealBackpacks/listeners/PlayerListener.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.listeners; +package cn.citycraft.RealBackpacks.listeners; import java.sql.SQLException; import java.util.HashMap; @@ -19,12 +19,12 @@ import org.bukkit.event.player.PlayerRespawnEvent; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; -import cn.citycraft.plugins.RealBackpacks; -import cn.citycraft.plugins.config.FileConfig; -import cn.citycraft.plugins.config.PlayerConfig; -import cn.citycraft.plugins.util.InvJsonUtils; -import cn.citycraft.plugins.util.MysqlFunctions; -import cn.citycraft.plugins.util.RBUtil; +import cn.citycraft.RealBackpacks.RealBackpacks; +import cn.citycraft.RealBackpacks.config.FileConfig; +import cn.citycraft.RealBackpacks.config.PlayerConfig; +import cn.citycraft.RealBackpacks.util.InvJsonUtils; +import cn.citycraft.RealBackpacks.util.MysqlFunctions; +import cn.citycraft.RealBackpacks.util.RBUtil; public class PlayerListener implements Listener { diff --git a/src/cn/citycraft/plugins/util/InvJsonUtils.java b/src/cn/citycraft/RealBackpacks/util/InvJsonUtils.java similarity index 98% rename from src/cn/citycraft/plugins/util/InvJsonUtils.java rename to src/cn/citycraft/RealBackpacks/util/InvJsonUtils.java index 779654f..48b226d 100644 --- a/src/cn/citycraft/plugins/util/InvJsonUtils.java +++ b/src/cn/citycraft/RealBackpacks/util/InvJsonUtils.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.util; +package cn.citycraft.RealBackpacks.util; import java.util.ArrayList; import java.util.Arrays; diff --git a/src/cn/citycraft/plugins/util/JsonUtils.java b/src/cn/citycraft/RealBackpacks/util/JsonUtils.java similarity index 98% rename from src/cn/citycraft/plugins/util/JsonUtils.java rename to src/cn/citycraft/RealBackpacks/util/JsonUtils.java index caf3cf1..5d292bc 100644 --- a/src/cn/citycraft/plugins/util/JsonUtils.java +++ b/src/cn/citycraft/RealBackpacks/util/JsonUtils.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.util; +package cn.citycraft.RealBackpacks.util; import java.lang.reflect.Type; import java.util.List; diff --git a/src/cn/citycraft/plugins/util/MysqlFunctions.java b/src/cn/citycraft/RealBackpacks/util/MysqlFunctions.java similarity index 98% rename from src/cn/citycraft/plugins/util/MysqlFunctions.java rename to src/cn/citycraft/RealBackpacks/util/MysqlFunctions.java index a6506eb..3fd1a44 100644 --- a/src/cn/citycraft/plugins/util/MysqlFunctions.java +++ b/src/cn/citycraft/RealBackpacks/util/MysqlFunctions.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.util; +package cn.citycraft.RealBackpacks.util; import java.sql.Connection; import java.sql.DatabaseMetaData; @@ -12,7 +12,7 @@ import java.util.List; import org.bukkit.ChatColor; import org.bukkit.inventory.Inventory; -import cn.citycraft.plugins.RealBackpacks; +import cn.citycraft.RealBackpacks.RealBackpacks; public class MysqlFunctions { diff --git a/src/cn/citycraft/plugins/util/RBUtil.java b/src/cn/citycraft/RealBackpacks/util/RBUtil.java similarity index 96% rename from src/cn/citycraft/plugins/util/RBUtil.java rename to src/cn/citycraft/RealBackpacks/util/RBUtil.java index 6c4af17..a1e64b3 100644 --- a/src/cn/citycraft/plugins/util/RBUtil.java +++ b/src/cn/citycraft/RealBackpacks/util/RBUtil.java @@ -1,4 +1,4 @@ -package cn.citycraft.plugins.util; +package cn.citycraft.RealBackpacks.util; import java.util.ArrayList; import java.util.Collections; @@ -7,8 +7,8 @@ import java.util.List; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; -import cn.citycraft.plugins.RealBackpacks; -import cn.citycraft.plugins.config.PlayerConfig; +import cn.citycraft.RealBackpacks.RealBackpacks; +import cn.citycraft.RealBackpacks.config.PlayerConfig; public class RBUtil { diff --git a/src/plugin.yml b/src/plugin.yml index 2538eff..818ca54 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,5 +1,5 @@ name: RealBackpacks -main: cn.citycraft.plugins.RealBackpacks +main: cn.citycraft.RealBackpacks.RealBackpacks version: 1.6.5 author: Slayr288,喵♂呜 softdepend: [Vault,BVLib]