From f3a87f8bbfeaf4c60799748c2ac264412d0da1ba Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Sat, 29 Nov 2014 13:42:25 +0100 Subject: [PATCH] Restructuration des packages --- .../plugin/pandacraftutils/PandacraftUtils.java | 16 ++++++++-------- .../creative}/CreativCheatManager.java | 2 +- .../no_pvp}/NoPvpProtectManager.java | 2 +- .../_command_alias}/CommandAliasManager.java | 2 +- .../{ => simple_commands}/list/CommandList.java | 2 +- .../{ => simple_commands}/me/CommandMe.java | 2 +- .../{ => simple_commands}/ping/CommandPing.java | 2 +- .../setblock/CommandSetblock.java | 2 +- .../speed_message/CommandSpeedMessage.java | 2 +- .../speed_message/Message.java | 2 +- .../survival_cuboid/CommandWandSelection.java | 2 +- .../CommandSystem.java | 2 +- .../{system => system_analyzer}/TPSAnalyser.java | 2 +- .../bukkit}/protocol/ParticleEffect.java | 2 +- .../bukkit}/protocol/ReflectionUtils.java | 2 +- 15 files changed, 22 insertions(+), 22 deletions(-) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{creativ_cheat => cheat_protect/creative}/CreativCheatManager.java (92%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{nopvp_protect => cheat_protect/no_pvp}/NoPvpProtectManager.java (99%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{command_alias => simple_commands/_command_alias}/CommandAliasManager.java (94%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{ => simple_commands}/list/CommandList.java (99%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{ => simple_commands}/me/CommandMe.java (93%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{ => simple_commands}/ping/CommandPing.java (94%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{ => simple_commands}/setblock/CommandSetblock.java (97%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{ => simple_commands}/speed_message/CommandSpeedMessage.java (93%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{ => simple_commands}/speed_message/Message.java (83%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{system => system_analyzer}/CommandSystem.java (98%) rename src/net/mc_pandacraft/java/plugin/pandacraftutils/{system => system_analyzer}/TPSAnalyser.java (96%) rename src/net/mc_pandacraft/java/{plugin/pandacraftutils => util/bukkit}/protocol/ParticleEffect.java (99%) rename src/net/mc_pandacraft/java/{plugin/pandacraftutils => util/bukkit}/protocol/ReflectionUtils.java (99%) diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/PandacraftUtils.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/PandacraftUtils.java index a74c2c2..40b5345 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/PandacraftUtils.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/PandacraftUtils.java @@ -3,18 +3,18 @@ package net.mc_pandacraft.java.plugin.pandacraftutils; import net.mc_pandacraft.java.plugin.pandacraftutils.afk.CommandAfk; import net.mc_pandacraft.java.plugin.pandacraftutils.chat_analyzer.ChatAnalysisManager; -import net.mc_pandacraft.java.plugin.pandacraftutils.creativ_cheat.CreativCheatManager; -import net.mc_pandacraft.java.plugin.pandacraftutils.list.CommandList; +import net.mc_pandacraft.java.plugin.pandacraftutils.cheat_protect.creative.CreativCheatManager; +import net.mc_pandacraft.java.plugin.pandacraftutils.cheat_protect.no_pvp.NoPvpProtectManager; import net.mc_pandacraft.java.plugin.pandacraftutils.login_message.LoginLogoutManager; -import net.mc_pandacraft.java.plugin.pandacraftutils.me.CommandMe; -import net.mc_pandacraft.java.plugin.pandacraftutils.nopvp_protect.NoPvpProtectManager; -import net.mc_pandacraft.java.plugin.pandacraftutils.ping.CommandPing; import net.mc_pandacraft.java.plugin.pandacraftutils.player_count_list.PacketOutServerInfoListener; -import net.mc_pandacraft.java.plugin.pandacraftutils.setblock.CommandSetblock; +import net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.list.CommandList; +import net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.me.CommandMe; +import net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.ping.CommandPing; +import net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.setblock.CommandSetblock; +import net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.speed_message.CommandSpeedMessage; import net.mc_pandacraft.java.plugin.pandacraftutils.spawntime.SpawnTimeManager; -import net.mc_pandacraft.java.plugin.pandacraftutils.speed_message.CommandSpeedMessage; import net.mc_pandacraft.java.plugin.pandacraftutils.survival_cuboid.CommandWandSelection; -import net.mc_pandacraft.java.plugin.pandacraftutils.system.CommandSystem; +import net.mc_pandacraft.java.plugin.pandacraftutils.system_analyzer.CommandSystem; import org.bukkit.plugin.java.JavaPlugin; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/creativ_cheat/CreativCheatManager.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/cheat_protect/creative/CreativCheatManager.java similarity index 92% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/creativ_cheat/CreativCheatManager.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/cheat_protect/creative/CreativCheatManager.java index 4b1fb02..7bc2cb3 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/creativ_cheat/CreativCheatManager.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/cheat_protect/creative/CreativCheatManager.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.creativ_cheat; +package net.mc_pandacraft.java.plugin.pandacraftutils.cheat_protect.creative; import net.mc_pandacraft.java.plugin.pandacraftutils.PandacraftUtils; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/nopvp_protect/NoPvpProtectManager.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/cheat_protect/no_pvp/NoPvpProtectManager.java similarity index 99% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/nopvp_protect/NoPvpProtectManager.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/cheat_protect/no_pvp/NoPvpProtectManager.java index d062caf..ef8eb89 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/nopvp_protect/NoPvpProtectManager.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/cheat_protect/no_pvp/NoPvpProtectManager.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.nopvp_protect; +package net.mc_pandacraft.java.plugin.pandacraftutils.cheat_protect.no_pvp; import java.util.List; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/command_alias/CommandAliasManager.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/_command_alias/CommandAliasManager.java similarity index 94% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/command_alias/CommandAliasManager.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/_command_alias/CommandAliasManager.java index 95e984d..5e84f46 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/command_alias/CommandAliasManager.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/_command_alias/CommandAliasManager.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.command_alias; +package net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands._command_alias; import java.util.List; import java.util.Map; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/list/CommandList.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/list/CommandList.java similarity index 99% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/list/CommandList.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/list/CommandList.java index a2756ee..1e7bf4b 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/list/CommandList.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/list/CommandList.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.list; +package net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.list; import java.util.ArrayList; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/me/CommandMe.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/me/CommandMe.java similarity index 93% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/me/CommandMe.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/me/CommandMe.java index 5b56737..346e304 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/me/CommandMe.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/me/CommandMe.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.me; +package net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.me; import net.mc_pandacraft.java.plugin.pandacraftutils.PandacraftUtils; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/ping/CommandPing.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/ping/CommandPing.java similarity index 94% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/ping/CommandPing.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/ping/CommandPing.java index 2b53daf..e509bd6 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/ping/CommandPing.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/ping/CommandPing.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.ping; +package net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.ping; import net.mc_pandacraft.java.plugin.pandacraftutils.PandacraftUtils; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/setblock/CommandSetblock.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/setblock/CommandSetblock.java similarity index 97% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/setblock/CommandSetblock.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/setblock/CommandSetblock.java index 191d43f..a52e8a8 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/setblock/CommandSetblock.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/setblock/CommandSetblock.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.setblock; +package net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.setblock; import net.mc_pandacraft.java.plugin.pandacraftutils.PandacraftUtils; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/speed_message/CommandSpeedMessage.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/speed_message/CommandSpeedMessage.java similarity index 93% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/speed_message/CommandSpeedMessage.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/speed_message/CommandSpeedMessage.java index a24c3a6..56dfe2c 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/speed_message/CommandSpeedMessage.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/speed_message/CommandSpeedMessage.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.speed_message; +package net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.speed_message; import java.util.ArrayList; import java.util.List; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/speed_message/Message.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/speed_message/Message.java similarity index 83% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/speed_message/Message.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/speed_message/Message.java index 2664e68..92b83b9 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/speed_message/Message.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/simple_commands/speed_message/Message.java @@ -1,7 +1,7 @@ /** * */ -package net.mc_pandacraft.java.plugin.pandacraftutils.speed_message; +package net.mc_pandacraft.java.plugin.pandacraftutils.simple_commands.speed_message; /** * @author marcbal diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/survival_cuboid/CommandWandSelection.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/survival_cuboid/CommandWandSelection.java index 0321808..01c0e03 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/survival_cuboid/CommandWandSelection.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/survival_cuboid/CommandWandSelection.java @@ -7,7 +7,7 @@ import java.util.Map; import java.util.Map.Entry; import net.mc_pandacraft.java.plugin.pandacraftutils.PandacraftUtils; -import net.mc_pandacraft.java.plugin.pandacraftutils.protocol.ParticleEffect; +import net.mc_pandacraft.java.util.bukkit.protocol.ParticleEffect; import org.bukkit.ChatColor; import org.bukkit.Location; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/system/CommandSystem.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/system_analyzer/CommandSystem.java similarity index 98% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/system/CommandSystem.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/system_analyzer/CommandSystem.java index d98d427..e293c13 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/system/CommandSystem.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/system_analyzer/CommandSystem.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.system; +package net.mc_pandacraft.java.plugin.pandacraftutils.system_analyzer; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/system/TPSAnalyser.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/system_analyzer/TPSAnalyser.java similarity index 96% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/system/TPSAnalyser.java rename to src/net/mc_pandacraft/java/plugin/pandacraftutils/system_analyzer/TPSAnalyser.java index 69a0944..d5810ef 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/system/TPSAnalyser.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/system_analyzer/TPSAnalyser.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.system; +package net.mc_pandacraft.java.plugin.pandacraftutils.system_analyzer; import java.util.LinkedList; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/protocol/ParticleEffect.java b/src/net/mc_pandacraft/java/util/bukkit/protocol/ParticleEffect.java similarity index 99% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/protocol/ParticleEffect.java rename to src/net/mc_pandacraft/java/util/bukkit/protocol/ParticleEffect.java index 234ab27..4152c6d 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/protocol/ParticleEffect.java +++ b/src/net/mc_pandacraft/java/util/bukkit/protocol/ParticleEffect.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.protocol; +package net.mc_pandacraft.java.util.bukkit.protocol; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/protocol/ReflectionUtils.java b/src/net/mc_pandacraft/java/util/bukkit/protocol/ReflectionUtils.java similarity index 99% rename from src/net/mc_pandacraft/java/plugin/pandacraftutils/protocol/ReflectionUtils.java rename to src/net/mc_pandacraft/java/util/bukkit/protocol/ReflectionUtils.java index a4ad83e..c96cdee 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/protocol/ReflectionUtils.java +++ b/src/net/mc_pandacraft/java/util/bukkit/protocol/ReflectionUtils.java @@ -1,4 +1,4 @@ -package net.mc_pandacraft.java.plugin.pandacraftutils.protocol; +package net.mc_pandacraft.java.util.bukkit.protocol; import java.lang.reflect.Constructor; import java.lang.reflect.Field;