Browse Source

Complete package refractoring + changed speedtest server to cloudflare.

master
Stefatorus 3 years ago
parent
commit
2baa239327
  1. 56
      .settings/org.eclipse.core.resources.prefs
  2. 4
      plugin.yml
  3. 12
      server.yml
  4. 8
      src/com/entryrise/lagassist/Data.java
  5. 2
      src/com/entryrise/lagassist/ExactTPS.java
  6. 56
      src/com/entryrise/lagassist/Main.java
  7. 10
      src/com/entryrise/lagassist/MonTools.java
  8. 10
      src/com/entryrise/lagassist/Monitor.java
  9. 12
      src/com/entryrise/lagassist/MsrExec.java
  10. 4
      src/com/entryrise/lagassist/Physics.java
  11. 6
      src/com/entryrise/lagassist/Redstone.java
  12. 4
      src/com/entryrise/lagassist/api/APIManager.java
  13. 8
      src/com/entryrise/lagassist/api/MotdAPI.java
  14. 4
      src/com/entryrise/lagassist/chunks/ChkAnalyse.java
  15. 6
      src/com/entryrise/lagassist/chunks/ChkLimiter.java
  16. 5
      src/com/entryrise/lagassist/chunks/ChkStats.java
  17. 12
      src/com/entryrise/lagassist/chunks/ChunkGenerator.java
  18. 10
      src/com/entryrise/lagassist/chunks/DynViewer.java
  19. 15
      src/com/entryrise/lagassist/client/ClientMain.java
  20. 13
      src/com/entryrise/lagassist/client/ClientPacket.java
  21. 6
      src/com/entryrise/lagassist/cmd/ClientCmdListener.java
  22. 26
      src/com/entryrise/lagassist/cmd/CommandListener.java
  23. 2
      src/com/entryrise/lagassist/cmd/CommandTabListener.java
  24. 9
      src/com/entryrise/lagassist/cmd/StatsAnalyse.java
  25. 5
      src/com/entryrise/lagassist/economy/EconomyManager.java
  26. 10
      src/com/entryrise/lagassist/gui/AdminGUI.java
  27. 4
      src/com/entryrise/lagassist/gui/ClientGUI.java
  28. 8
      src/com/entryrise/lagassist/gui/DataGUI.java
  29. 4
      src/com/entryrise/lagassist/gui/HopperGUI.java
  30. 18
      src/com/entryrise/lagassist/hoppers/ChunkHoppers.java
  31. 16
      src/com/entryrise/lagassist/hoppers/HopperFilter.java
  32. 12
      src/com/entryrise/lagassist/hoppers/HopperManager.java
  33. 10
      src/com/entryrise/lagassist/hoppers/SellHoppers.java
  34. 6
      src/com/entryrise/lagassist/logpurger/PurgerMain.java
  35. 8
      src/com/entryrise/lagassist/maps/TpsRender.java
  36. 2
      src/com/entryrise/lagassist/metrics/BStats.java
  37. 8
      src/com/entryrise/lagassist/metrics/MetricsManager.java
  38. 8
      src/com/entryrise/lagassist/microfeatures/AdvertRunner.java
  39. 4
      src/com/entryrise/lagassist/microfeatures/GrowableStack.java
  40. 4
      src/com/entryrise/lagassist/microfeatures/MicroManager.java
  41. 4
      src/com/entryrise/lagassist/minebench/Approximate.java
  42. 2
      src/com/entryrise/lagassist/minebench/BenchResponse.java
  43. 4
      src/com/entryrise/lagassist/minebench/HTTPClient.java
  44. 4
      src/com/entryrise/lagassist/minebench/SpecsGetter.java
  45. 6
      src/com/entryrise/lagassist/minebench/SpeedTest.java
  46. 4
      src/com/entryrise/lagassist/minebench/SysInfo.java
  47. 12
      src/com/entryrise/lagassist/mobs/SmartMob.java
  48. 10
      src/com/entryrise/lagassist/mobs/SpawnerMgr.java
  49. 5
      src/com/entryrise/lagassist/packets/BlacklistHandler.java
  50. 7
      src/com/entryrise/lagassist/packets/PacketHandler.java
  51. 9
      src/com/entryrise/lagassist/packets/PacketInjector.java
  52. 8
      src/com/entryrise/lagassist/packets/PacketMain.java
  53. 9
      src/com/entryrise/lagassist/packets/Reflection.java
  54. 2
      src/com/entryrise/lagassist/packets/ServerPackage.java
  55. 6
      src/com/entryrise/lagassist/safety/SafetyAnticrash.java
  56. 4
      src/com/entryrise/lagassist/safety/SafetyManager.java
  57. 10
      src/com/entryrise/lagassist/stacker/StackChunk.java
  58. 4
      src/com/entryrise/lagassist/stacker/StackComparer.java
  59. 8
      src/com/entryrise/lagassist/stacker/StackManager.java
  60. 6
      src/com/entryrise/lagassist/stacker/StackManipulator.java
  61. 4
      src/com/entryrise/lagassist/stacker/StackMonitor.java
  62. 2
      src/com/entryrise/lagassist/stacker/StackSpawners.java
  63. 4
      src/com/entryrise/lagassist/superloader/SuperMain.java
  64. 4
      src/com/entryrise/lagassist/updater/SmartUpdater.java
  65. 4
      src/com/entryrise/lagassist/updater/UpdateCondition.java
  66. 2
      src/com/entryrise/lagassist/updater/UpdateInfo.java
  67. 2
      src/com/entryrise/lagassist/updater/VersionComparator.java
  68. 2
      src/com/entryrise/lagassist/utils/Cache.java
  69. 2
      src/com/entryrise/lagassist/utils/Chat.java
  70. 2
      src/com/entryrise/lagassist/utils/MathUtils.java
  71. 4
      src/com/entryrise/lagassist/utils/Others.java
  72. 4
      src/com/entryrise/lagassist/utils/PaperOnly.java
  73. 4
      src/com/entryrise/lagassist/utils/V1_11.java
  74. 4
      src/com/entryrise/lagassist/utils/V1_12.java
  75. 6
      src/com/entryrise/lagassist/utils/V1_13.java
  76. 5
      src/com/entryrise/lagassist/utils/V1_8.java
  77. 4
      src/com/entryrise/lagassist/utils/VersionMgr.java
  78. 4
      src/com/entryrise/lagassist/utils/WorldMgr.java
  79. 1
      target/classes/.gitignore

56
.settings/org.eclipse.core.resources.prefs

@ -1,29 +1,29 @@
eclipse.preferences.version=1
encoding//src/cx/sfy/LagAssist/MonTools.java=UTF-8
encoding//src/cx/sfy/LagAssist/Monitor.java=UTF-8
encoding//src/cx/sfy/LagAssist/Physics.java=UTF-8
encoding//src/cx/sfy/LagAssist/Redstone.java=UTF-8
encoding//src/cx/sfy/LagAssist/chunks/ChkAnalyse.java=UTF-8
encoding//src/cx/sfy/LagAssist/chunks/ChkLimiter.java=UTF-8
encoding//src/cx/sfy/LagAssist/chunks/ChkStats.java=UTF-8
encoding//src/cx/sfy/LagAssist/chunks/ChunkGenerator.java=UTF-8
encoding//src/cx/sfy/LagAssist/chunks/DynViewer.java=UTF-8
encoding//src/cx/sfy/LagAssist/client/ClientMain.java=UTF-8
encoding//src/cx/sfy/LagAssist/cmd/CommandListener.java=UTF-8
encoding//src/cx/sfy/LagAssist/cmd/StatsAnalyse.java=UTF-8
encoding//src/cx/sfy/LagAssist/gui/AdminGUI.java=UTF-8
encoding//src/cx/sfy/LagAssist/gui/DataGUI.java=UTF-8
encoding//src/cx/sfy/LagAssist/hoppers/HopperManager.java=UTF-8
encoding//src/cx/sfy/LagAssist/logpurger/PurgerMain.java=UTF-8
encoding//src/cx/sfy/LagAssist/minebench/Approximate.java=UTF-8
encoding//src/cx/sfy/LagAssist/minebench/HTTPClient.java=UTF-8
encoding//src/cx/sfy/LagAssist/minebench/SpeedTest.java=UTF-8
encoding//src/cx/sfy/LagAssist/mobs/SmartMob.java=UTF-8
encoding//src/cx/sfy/LagAssist/mobs/SpawnerMgr.java=UTF-8
encoding//src/cx/sfy/LagAssist/packets/PacketMain.java=UTF-8
encoding//src/cx/sfy/LagAssist/packets/Reflection.java=UTF-8
encoding//src/cx/sfy/LagAssist/safety/SafetyManager.java=UTF-8
encoding//src/cx/sfy/LagAssist/stacker/StackManager.java=UTF-8
encoding//src/cx/sfy/LagAssist/superloader/SuperMain.java=UTF-8
encoding//src/cx/sfy/LagAssist/updater/SmartUpdater.java=UTF-8
encoding//src/cx/sfy/LagAssist/utils/WorldMgr.java=UTF-8
encoding//src/com/entryrise/lagassist/MonTools.java=UTF-8
encoding//src/com/entryrise/lagassist/Monitor.java=UTF-8
encoding//src/com/entryrise/lagassist/Physics.java=UTF-8
encoding//src/com/entryrise/lagassist/Redstone.java=UTF-8
encoding//src/com/entryrise/lagassist/chunks/ChkAnalyse.java=UTF-8
encoding//src/com/entryrise/lagassist/chunks/ChkLimiter.java=UTF-8
encoding//src/com/entryrise/lagassist/chunks/ChkStats.java=UTF-8
encoding//src/com/entryrise/lagassist/chunks/ChunkGenerator.java=UTF-8
encoding//src/com/entryrise/lagassist/chunks/DynViewer.java=UTF-8
encoding//src/com/entryrise/lagassist/client/ClientMain.java=UTF-8
encoding//src/com/entryrise/lagassist/cmd/CommandListener.java=UTF-8
encoding//src/com/entryrise/lagassist/cmd/StatsAnalyse.java=UTF-8
encoding//src/com/entryrise/lagassist/gui/AdminGUI.java=UTF-8
encoding//src/com/entryrise/lagassist/gui/DataGUI.java=UTF-8
encoding//src/com/entryrise/lagassist/hoppers/HopperManager.java=UTF-8
encoding//src/com/entryrise/lagassist/logpurger/PurgerMain.java=UTF-8
encoding//src/com/entryrise/lagassist/minebench/Approximate.java=UTF-8
encoding//src/com/entryrise/lagassist/minebench/HTTPClient.java=UTF-8
encoding//src/com/entryrise/lagassist/minebench/SpeedTest.java=UTF-8
encoding//src/com/entryrise/lagassist/mobs/SmartMob.java=UTF-8
encoding//src/com/entryrise/lagassist/mobs/SpawnerMgr.java=UTF-8
encoding//src/com/entryrise/lagassist/packets/PacketMain.java=UTF-8
encoding//src/com/entryrise/lagassist/packets/Reflection.java=UTF-8
encoding//src/com/entryrise/lagassist/safety/SafetyManager.java=UTF-8
encoding//src/com/entryrise/lagassist/stacker/StackManager.java=UTF-8
encoding//src/com/entryrise/lagassist/superloader/SuperMain.java=UTF-8
encoding//src/com/entryrise/lagassist/updater/SmartUpdater.java=UTF-8
encoding//src/com/entryrise/lagassist/utils/WorldMgr.java=UTF-8

4
plugin.yml

@ -1,9 +1,9 @@
name: LagAssist
author: Stefatorus
authors: [Stefatorus, EntryRise]
version: 2.25.0
api-version: 1.13
description: LagAssist is an advanced anti-lag solution that allows server owners find and remove lag using multiple advanced and efficient methods.
main: cx.sfy.LagAssist.Main
main: com.entryrise.lagassist.Main
softdepend: [Vault]
commands:
lagassist:

12
server.yml

@ -347,8 +347,10 @@ redstone-culler:
# we have 100 redstone, you will still have an effect on them.
#
# (!) TO disable set chance to 0.
# We highly suggest you enable this. Try the value 3, but, note, this can cause
# widespread issues so be careful.
# It is highly recommended to set to 2-5 to prevent people from simply re-starting their
# lag machines after they are culled. Most malicious users will and will not care that they
# have to spend hours babysitting their lag machine.
#
chance: 0
#
# What blocks do you want to be affected by the redstone culler. This allows you
@ -598,9 +600,9 @@ benchmark:
#
# (!) The size for upload is in bytes. A MB = 1.000.000 bytes. Default is 50MB
download:
link: "ftp://speedtest.tele2.net/50MB.zip"
link: "https://speed.cloudflare.com/__down?bytes=50000000"
upload:
link: "ftp://speedtest.tele2.net/upload/%RND%.bin"
link: "https://speed.cloudflare.com/__up"
size: 50000000
@ -782,4 +784,4 @@ hooks:
message: "&c&lLag&f&lAssist &eยป &fYou were paid %amount% in the paywave."
# This allows the system to update the config if the plugin is updated.
version: 31
version: 32

8
src/cx/sfy/LagAssist/Data.java → src/com/entryrise/lagassist/Data.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
import java.io.File;
import java.io.IOException;
@ -19,9 +19,9 @@ import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.map.MapView;
import cx.sfy.LagAssist.hoppers.SellHoppers;
import cx.sfy.LagAssist.packets.Reflection;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.hoppers.SellHoppers;
import com.entryrise.lagassist.packets.Reflection;
import com.entryrise.lagassist.utils.WorldMgr;
public class Data {

2
src/cx/sfy/LagAssist/ExactTPS.java → src/com/entryrise/lagassist/ExactTPS.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
public class ExactTPS implements Runnable {
public static int TICK_COUNT = 0;

56
src/cx/sfy/LagAssist/Main.java → src/com/entryrise/lagassist/Main.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
import java.io.File;
@ -10,31 +10,31 @@ import org.bukkit.entity.Player;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import cx.sfy.LagAssist.api.APIManager;
import cx.sfy.LagAssist.chunks.ChkAnalyse;
import cx.sfy.LagAssist.chunks.ChkLimiter;
import cx.sfy.LagAssist.chunks.DynViewer;
import cx.sfy.LagAssist.client.ClientMain;
import cx.sfy.LagAssist.cmd.CommandListener;
import cx.sfy.LagAssist.cmd.CommandTabListener;
import cx.sfy.LagAssist.cmd.StatsAnalyse;
import cx.sfy.LagAssist.economy.EconomyManager;
import cx.sfy.LagAssist.gui.DataGUI;
import cx.sfy.LagAssist.hoppers.HopperManager;
import cx.sfy.LagAssist.logpurger.PurgerMain;
import cx.sfy.LagAssist.metrics.MetricsManager;
import cx.sfy.LagAssist.microfeatures.MicroManager;
import cx.sfy.LagAssist.mobs.SmartMob;
import cx.sfy.LagAssist.mobs.SpawnerMgr;
import cx.sfy.LagAssist.packets.PacketInjector;
import cx.sfy.LagAssist.packets.PacketMain;
import cx.sfy.LagAssist.packets.Reflection;
import cx.sfy.LagAssist.safety.SafetyManager;
import cx.sfy.LagAssist.stacker.StackManager;
import cx.sfy.LagAssist.updater.SmartUpdater;
import cx.sfy.LagAssist.utils.Others;
import cx.sfy.LagAssist.utils.VersionMgr;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.api.APIManager;
import com.entryrise.lagassist.chunks.ChkAnalyse;
import com.entryrise.lagassist.chunks.ChkLimiter;
import com.entryrise.lagassist.chunks.DynViewer;
import com.entryrise.lagassist.client.ClientMain;
import com.entryrise.lagassist.cmd.CommandListener;
import com.entryrise.lagassist.cmd.CommandTabListener;
import com.entryrise.lagassist.cmd.StatsAnalyse;
import com.entryrise.lagassist.economy.EconomyManager;
import com.entryrise.lagassist.gui.DataGUI;
import com.entryrise.lagassist.hoppers.HopperManager;
import com.entryrise.lagassist.logpurger.PurgerMain;
import com.entryrise.lagassist.metrics.MetricsManager;
import com.entryrise.lagassist.microfeatures.MicroManager;
import com.entryrise.lagassist.mobs.SmartMob;
import com.entryrise.lagassist.mobs.SpawnerMgr;
import com.entryrise.lagassist.packets.PacketInjector;
import com.entryrise.lagassist.packets.PacketMain;
import com.entryrise.lagassist.packets.Reflection;
import com.entryrise.lagassist.safety.SafetyManager;
import com.entryrise.lagassist.stacker.StackManager;
import com.entryrise.lagassist.updater.SmartUpdater;
import com.entryrise.lagassist.utils.Others;
import com.entryrise.lagassist.utils.VersionMgr;
import com.entryrise.lagassist.utils.WorldMgr;
public class Main extends JavaPlugin implements Listener {
@ -56,7 +56,7 @@ public class Main extends JavaPlugin implements Listener {
p = this;
file = new File(getDataFolder(), "server.yml");
config = Others.getConfig(file, 31);
config = Others.getConfig(file, 32);
paper = VersionMgr.isPaper();
@ -106,7 +106,7 @@ public class Main extends JavaPlugin implements Listener {
}
public static void ReloadPlugin(CommandSender s) {
config = Others.getConfig(file, 31);
config = Others.getConfig(file, 32);
Bukkit.getLogger().info(Main.PREFIX + "Reloading Systems:");
EnableClasses(true);

10
src/cx/sfy/LagAssist/MonTools.java → src/com/entryrise/lagassist/MonTools.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
import java.text.DecimalFormat;
import java.util.ArrayList;
@ -17,10 +17,10 @@ import org.bukkit.inventory.PlayerInventory;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.map.MapView;
import cx.sfy.LagAssist.maps.TpsRender;
import cx.sfy.LagAssist.minebench.SpecsGetter;
import cx.sfy.LagAssist.packets.Reflection;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.maps.TpsRender;
import com.entryrise.lagassist.minebench.SpecsGetter;
import com.entryrise.lagassist.packets.Reflection;
import com.entryrise.lagassist.utils.VersionMgr;
public class MonTools implements Listener {

10
src/cx/sfy/LagAssist/Monitor.java → src/com/entryrise/lagassist/Monitor.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
import java.text.DecimalFormat;
import java.util.Arrays;
@ -8,10 +8,10 @@ import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitTask;
import cx.sfy.LagAssist.hoppers.ChunkHoppers;
import cx.sfy.LagAssist.mobs.SmartMob;
import cx.sfy.LagAssist.mobs.SpawnerMgr;
import cx.sfy.LagAssist.packets.Reflection;
import com.entryrise.lagassist.hoppers.ChunkHoppers;
import com.entryrise.lagassist.mobs.SmartMob;
import com.entryrise.lagassist.mobs.SpawnerMgr;
import com.entryrise.lagassist.packets.Reflection;
public class Monitor {

12
src/cx/sfy/LagAssist/MsrExec.java → src/com/entryrise/lagassist/MsrExec.java

@ -1,14 +1,14 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.chunks.ChkAnalyse;
import cx.sfy.LagAssist.hoppers.ChunkHoppers;
import cx.sfy.LagAssist.mobs.SmartMob;
import cx.sfy.LagAssist.mobs.SpawnerMgr;
import cx.sfy.LagAssist.utils.MathUtils;
import com.entryrise.lagassist.chunks.ChkAnalyse;
import com.entryrise.lagassist.hoppers.ChunkHoppers;
import com.entryrise.lagassist.mobs.SmartMob;
import com.entryrise.lagassist.mobs.SpawnerMgr;
import com.entryrise.lagassist.utils.MathUtils;
public class MsrExec {

4
src/cx/sfy/LagAssist/Physics.java → src/com/entryrise/lagassist/Physics.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
import java.util.Arrays;
import java.util.HashSet;
@ -21,7 +21,7 @@ import org.bukkit.event.block.BlockSpreadEvent;
import org.bukkit.event.block.LeavesDecayEvent;
import org.bukkit.event.block.NotePlayEvent;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.utils.WorldMgr;
public class Physics implements Listener {

6
src/cx/sfy/LagAssist/Redstone.java → src/com/entryrise/lagassist/Redstone.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist;
package com.entryrise.lagassist;
import java.util.SplittableRandom;
@ -12,8 +12,8 @@ import org.bukkit.event.block.BlockRedstoneEvent;
import org.bukkit.scheduler.BukkitRunnable;
import org.bukkit.scheduler.BukkitTask;
import cx.sfy.LagAssist.utils.V1_11;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.utils.V1_11;
import com.entryrise.lagassist.utils.WorldMgr;
public class Redstone implements Listener {

4
src/cx/sfy/LagAssist/api/APIManager.java → src/com/entryrise/lagassist/api/APIManager.java

@ -1,8 +1,8 @@
package cx.sfy.LagAssist.api;
package com.entryrise.lagassist.api;
import org.bukkit.Bukkit;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class APIManager {

8
src/cx/sfy/LagAssist/api/MotdAPI.java → src/com/entryrise/lagassist/api/MotdAPI.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.api;
package com.entryrise.lagassist.api;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
@ -12,9 +12,9 @@ import org.bukkit.event.Listener;
import org.bukkit.event.server.ServerListPingEvent;
import org.bukkit.util.CachedServerIcon;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.Monitor;
import cx.sfy.LagAssist.utils.MathUtils;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.Monitor;
import com.entryrise.lagassist.utils.MathUtils;
public class MotdAPI implements Listener {

4
src/cx/sfy/LagAssist/chunks/ChkAnalyse.java → src/com/entryrise/lagassist/chunks/ChkAnalyse.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.chunks;
package com.entryrise.lagassist.chunks;
import java.util.ArrayList;
import java.util.Collections;
@ -19,7 +19,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class ChkAnalyse {

6
src/cx/sfy/LagAssist/chunks/ChkLimiter.java → src/com/entryrise/lagassist/chunks/ChkLimiter.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.chunks;
package com.entryrise.lagassist.chunks;
import java.util.HashMap;
import java.util.Map;
@ -18,8 +18,8 @@ import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.entity.EntitySpawnEvent;
import org.bukkit.event.vehicle.VehicleCreateEvent;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.Cache;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.Cache;
public class ChkLimiter implements Listener {

5
src/cx/sfy/LagAssist/chunks/ChkStats.java → src/com/entryrise/lagassist/chunks/ChkStats.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.chunks;
package com.entryrise.lagassist.chunks;
import java.util.Collections;
import java.util.HashMap;
@ -11,7 +11,8 @@ import org.bukkit.Chunk;
import org.bukkit.block.BlockState;
import org.bukkit.entity.Entity;
import cx.sfy.LagAssist.utils.Chat;
import com.entryrise.lagassist.utils.Chat;
import net.md_5.bungee.api.chat.TextComponent;
public class ChkStats implements Comparable<ChkStats> {

12
src/cx/sfy/LagAssist/chunks/ChunkGenerator.java → src/com/entryrise/lagassist/chunks/ChunkGenerator.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.chunks;
package com.entryrise.lagassist.chunks;
import java.util.ArrayList;
import java.util.List;
@ -12,11 +12,11 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitTask;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.packets.Reflection;
import cx.sfy.LagAssist.utils.Chat;
import cx.sfy.LagAssist.utils.MathUtils;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.packets.Reflection;
import com.entryrise.lagassist.utils.Chat;
import com.entryrise.lagassist.utils.MathUtils;
import com.entryrise.lagassist.utils.VersionMgr;
public class ChunkGenerator {

10
src/cx/sfy/LagAssist/chunks/DynViewer.java → src/com/entryrise/lagassist/chunks/DynViewer.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.chunks;
package com.entryrise.lagassist.chunks;
import org.bukkit.Bukkit;
import org.bukkit.World;
@ -8,10 +8,10 @@ import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.PaperOnly;
import cx.sfy.LagAssist.utils.VersionMgr;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.PaperOnly;
import com.entryrise.lagassist.utils.VersionMgr;
import com.entryrise.lagassist.utils.WorldMgr;
public class DynViewer implements Listener {

15
src/cx/sfy/LagAssist/client/ClientMain.java → src/com/entryrise/lagassist/client/ClientMain.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.client;
package com.entryrise.lagassist.client;
import java.io.File;
import java.util.List;
@ -10,12 +10,13 @@ import org.bukkit.entity.Entity;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.cmd.ClientCmdListener;
import cx.sfy.LagAssist.gui.DataGUI;
import cx.sfy.LagAssist.packets.Reflection;
import cx.sfy.LagAssist.utils.Others;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.cmd.ClientCmdListener;
import com.entryrise.lagassist.gui.DataGUI;
import com.entryrise.lagassist.packets.Reflection;
import com.entryrise.lagassist.utils.Others;
import com.entryrise.lagassist.utils.VersionMgr;
import net.md_5.bungee.api.ChatColor;
public class ClientMain implements Listener {

13
src/cx/sfy/LagAssist/client/ClientPacket.java → src/com/entryrise/lagassist/client/ClientPacket.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.client;
package com.entryrise.lagassist.client;
import java.util.ArrayList;
import java.util.UUID;
@ -7,11 +7,12 @@ import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.gui.ClientGUI;
import cx.sfy.LagAssist.gui.ClientGUI.ToggleState;
import cx.sfy.LagAssist.packets.Reflection;
import cx.sfy.LagAssist.utils.VersionMgr;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.gui.ClientGUI;
import com.entryrise.lagassist.gui.ClientGUI.ToggleState;
import com.entryrise.lagassist.packets.Reflection;
import com.entryrise.lagassist.utils.VersionMgr;
import com.entryrise.lagassist.utils.WorldMgr;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;

6
src/cx/sfy/LagAssist/cmd/ClientCmdListener.java → src/com/entryrise/lagassist/cmd/ClientCmdListener.java

@ -1,12 +1,12 @@
package cx.sfy.LagAssist.cmd;
package com.entryrise.lagassist.cmd;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.client.ClientMain;
import cx.sfy.LagAssist.gui.ClientGUI;
import com.entryrise.lagassist.client.ClientMain;
import com.entryrise.lagassist.gui.ClientGUI;
public class ClientCmdListener implements CommandExecutor {

26
src/cx/sfy/LagAssist/cmd/CommandListener.java → src/com/entryrise/lagassist/cmd/CommandListener.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.cmd;
package com.entryrise.lagassist.cmd;
import java.util.Arrays;
import java.util.Map.Entry;
@ -12,18 +12,18 @@ import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.Data;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.MonTools;
import cx.sfy.LagAssist.MsrExec;
import cx.sfy.LagAssist.chunks.ChunkGenerator;
import cx.sfy.LagAssist.gui.AdminGUI;
import cx.sfy.LagAssist.minebench.Approximate;
import cx.sfy.LagAssist.minebench.SpeedTest;
import cx.sfy.LagAssist.packets.Reflection;
import cx.sfy.LagAssist.updater.SmartUpdater;
import cx.sfy.LagAssist.utils.Chat;
import cx.sfy.LagAssist.utils.MathUtils;
import com.entryrise.lagassist.Data;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.MonTools;
import com.entryrise.lagassist.MsrExec;
import com.entryrise.lagassist.chunks.ChunkGenerator;
import com.entryrise.lagassist.gui.AdminGUI;
import com.entryrise.lagassist.minebench.Approximate;
import com.entryrise.lagassist.minebench.SpeedTest;
import com.entryrise.lagassist.packets.Reflection;
import com.entryrise.lagassist.updater.SmartUpdater;
import com.entryrise.lagassist.utils.Chat;
import com.entryrise.lagassist.utils.MathUtils;
public class CommandListener implements CommandExecutor {

2
src/cx/sfy/LagAssist/cmd/CommandTabListener.java → src/com/entryrise/lagassist/cmd/CommandTabListener.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.cmd;
package com.entryrise.lagassist.cmd;
import java.util.ArrayList;
import java.util.Arrays;

9
src/cx/sfy/LagAssist/cmd/StatsAnalyse.java → src/com/entryrise/lagassist/cmd/StatsAnalyse.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.cmd;
package com.entryrise.lagassist.cmd;
import java.text.DecimalFormat;
@ -10,9 +10,10 @@ import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.Monitor;
import cx.sfy.LagAssist.minebench.SpecsGetter;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.Monitor;
import com.entryrise.lagassist.minebench.SpecsGetter;
import net.md_5.bungee.api.chat.ComponentBuilder;
import net.md_5.bungee.api.chat.HoverEvent;
import net.md_5.bungee.api.chat.TextComponent;

5
src/cx/sfy/LagAssist/economy/EconomyManager.java → src/com/entryrise/lagassist/economy/EconomyManager.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.economy;
package com.entryrise.lagassist.economy;
import java.util.HashMap;
import java.util.Map;
@ -10,7 +10,8 @@ import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.plugin.RegisteredServiceProvider;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
import net.milkbowl.vault.economy.Economy;
public class EconomyManager {

10
src/cx/sfy/LagAssist/gui/AdminGUI.java → src/com/entryrise/lagassist/gui/AdminGUI.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.gui;
package com.entryrise.lagassist.gui;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
@ -11,10 +11,10 @@ import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.MsrExec;
import cx.sfy.LagAssist.chunks.ChkAnalyse;
import cx.sfy.LagAssist.minebench.Approximate;
import cx.sfy.LagAssist.minebench.SpeedTest;
import com.entryrise.lagassist.MsrExec;
import com.entryrise.lagassist.chunks.ChkAnalyse;
import com.entryrise.lagassist.minebench.Approximate;
import com.entryrise.lagassist.minebench.SpeedTest;
public class AdminGUI implements Listener {

4
src/cx/sfy/LagAssist/gui/ClientGUI.java → src/com/entryrise/lagassist/gui/ClientGUI.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.gui;
package com.entryrise.lagassist.gui;
import java.util.HashMap;
import java.util.Map;
@ -14,7 +14,7 @@ import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.client.ClientMain;
import com.entryrise.lagassist.client.ClientMain;
public class ClientGUI implements Listener {

8
src/cx/sfy/LagAssist/gui/DataGUI.java → src/com/entryrise/lagassist/gui/DataGUI.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.gui;
package com.entryrise.lagassist.gui;
import java.util.ArrayList;
import java.util.Arrays;
@ -12,9 +12,9 @@ import org.bukkit.inventory.ItemFlag;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.client.ClientMain;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.client.ClientMain;
import com.entryrise.lagassist.utils.VersionMgr;
public class DataGUI {

4
src/cx/sfy/LagAssist/gui/HopperGUI.java → src/com/entryrise/lagassist/gui/HopperGUI.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.gui;
package com.entryrise.lagassist.gui;
import java.util.HashMap;
import java.util.HashSet;
@ -19,7 +19,7 @@ import org.bukkit.event.inventory.InventoryDragEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.hoppers.HopperFilter;
import com.entryrise.lagassist.hoppers.HopperFilter;
public class HopperGUI implements Listener {

18
src/cx/sfy/LagAssist/hoppers/ChunkHoppers.java → src/com/entryrise/lagassist/hoppers/ChunkHoppers.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.hoppers;
package com.entryrise.lagassist.hoppers;
import java.util.ArrayList;
import java.util.Collections;
@ -31,14 +31,14 @@ import org.bukkit.inventory.ItemFlag;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import cx.sfy.LagAssist.Data;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.Cache;
import cx.sfy.LagAssist.utils.Others;
import cx.sfy.LagAssist.utils.V1_12;
import cx.sfy.LagAssist.utils.V1_13;
import cx.sfy.LagAssist.utils.V1_8;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.Data;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.Cache;
import com.entryrise.lagassist.utils.Others;
import com.entryrise.lagassist.utils.V1_12;
import com.entryrise.lagassist.utils.V1_13;
import com.entryrise.lagassist.utils.V1_8;
import com.entryrise.lagassist.utils.VersionMgr;
public class ChunkHoppers implements Listener {

16
src/cx/sfy/LagAssist/hoppers/HopperFilter.java → src/com/entryrise/lagassist/hoppers/HopperFilter.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.hoppers;
package com.entryrise.lagassist.hoppers;
import java.util.HashSet;
import java.util.Set;
@ -19,13 +19,13 @@ import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.Data;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.gui.HopperGUI;
import cx.sfy.LagAssist.utils.Cache;
import cx.sfy.LagAssist.utils.V1_12;
import cx.sfy.LagAssist.utils.V1_8;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.Data;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.gui.HopperGUI;
import com.entryrise.lagassist.utils.Cache;
import com.entryrise.lagassist.utils.V1_12;
import com.entryrise.lagassist.utils.V1_8;
import com.entryrise.lagassist.utils.VersionMgr;
public class HopperFilter implements Listener {

12
src/cx/sfy/LagAssist/hoppers/HopperManager.java → src/com/entryrise/lagassist/hoppers/HopperManager.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.hoppers;
package com.entryrise.lagassist.hoppers;
import java.util.SplittableRandom;
@ -14,11 +14,11 @@ import org.bukkit.event.inventory.CraftItemEvent;
import org.bukkit.event.inventory.InventoryMoveItemEvent;
import org.bukkit.inventory.InventoryHolder;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.V1_12;
import cx.sfy.LagAssist.utils.V1_8;
import cx.sfy.LagAssist.utils.VersionMgr;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.V1_12;
import com.entryrise.lagassist.utils.V1_8;
import com.entryrise.lagassist.utils.VersionMgr;
import com.entryrise.lagassist.utils.WorldMgr;
public class HopperManager implements Listener {

10
src/cx/sfy/LagAssist/hoppers/SellHoppers.java → src/com/entryrise/lagassist/hoppers/SellHoppers.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.hoppers;
package com.entryrise.lagassist.hoppers;
import java.util.HashMap;
import java.util.Map;
@ -12,10 +12,10 @@ import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.permissions.PermissionAttachmentInfo;
import cx.sfy.LagAssist.Data;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.economy.EconomyManager;
import cx.sfy.LagAssist.utils.MathUtils;
import com.entryrise.lagassist.Data;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.economy.EconomyManager;
import com.entryrise.lagassist.utils.MathUtils;
public class SellHoppers {

6
src/cx/sfy/LagAssist/logpurger/PurgerMain.java → src/com/entryrise/lagassist/logpurger/PurgerMain.java

@ -1,11 +1,11 @@
package cx.sfy.LagAssist.logpurger;
package com.entryrise.lagassist.logpurger;
import java.io.File;
import org.bukkit.Bukkit;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.MathUtils;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.MathUtils;
public class PurgerMain {

8
src/cx/sfy/LagAssist/maps/TpsRender.java → src/com/entryrise/lagassist/maps/TpsRender.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.maps;
package com.entryrise.lagassist.maps;
import java.text.DecimalFormat;
import java.util.SplittableRandom;
@ -10,9 +10,9 @@ import org.bukkit.map.MapRenderer;
import org.bukkit.map.MapView;
import org.bukkit.map.MinecraftFont;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.MonTools;
import cx.sfy.LagAssist.Monitor;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.MonTools;
import com.entryrise.lagassist.Monitor;
public class TpsRender extends MapRenderer {

2
src/cx/sfy/LagAssist/metrics/BStats.java → src/com/entryrise/lagassist/metrics/BStats.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.metrics;
package com.entryrise.lagassist.metrics;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;

8
src/cx/sfy/LagAssist/metrics/MetricsManager.java → src/com/entryrise/lagassist/metrics/MetricsManager.java

@ -1,12 +1,12 @@
package cx.sfy.LagAssist.metrics;
package com.entryrise.lagassist.metrics;
import org.bukkit.Bukkit;
import org.bukkit.Chunk;
import org.bukkit.World;
import cx.sfy.LagAssist.ExactTPS;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.minebench.SpecsGetter;
import com.entryrise.lagassist.ExactTPS;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.minebench.SpecsGetter;
public class MetricsManager {

8
src/cx/sfy/LagAssist/microfeatures/AdvertRunner.java → src/com/entryrise/lagassist/microfeatures/AdvertRunner.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.microfeatures;
package com.entryrise.lagassist.microfeatures;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
@ -7,9 +7,9 @@ import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.messaging.PluginMessageListener;
import cx.sfy.LagAssist.Data;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.Chat;
import com.entryrise.lagassist.Data;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.Chat;
public class AdvertRunner implements Listener, PluginMessageListener {

4
src/cx/sfy/LagAssist/microfeatures/GrowableStack.java → src/com/entryrise/lagassist/microfeatures/GrowableStack.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.microfeatures;
package com.entryrise.lagassist.microfeatures;
import java.util.WeakHashMap;
@ -10,7 +10,7 @@ import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockGrowEvent;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class GrowableStack implements Listener {
private static WeakHashMap<Chunk, WeakHashMap<Material, Integer>> counts = new WeakHashMap<>();

4
src/cx/sfy/LagAssist/microfeatures/MicroManager.java → src/com/entryrise/lagassist/microfeatures/MicroManager.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.microfeatures;
package com.entryrise.lagassist.microfeatures;
import java.util.ArrayList;
import java.util.Arrays;
@ -21,7 +21,7 @@ import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.material.MaterialData;
import org.bukkit.material.PistonBaseMaterial;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
@SuppressWarnings("deprecation")
public class MicroManager implements Listener {

4
src/cx/sfy/LagAssist/minebench/Approximate.java → src/com/entryrise/lagassist/minebench/Approximate.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.minebench;
package com.entryrise.lagassist.minebench;
import java.util.ArrayList;
import java.util.List;
@ -6,7 +6,7 @@ import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class Approximate {

2
src/cx/sfy/LagAssist/minebench/BenchResponse.java → src/com/entryrise/lagassist/minebench/BenchResponse.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.minebench;
package com.entryrise.lagassist.minebench;
public class BenchResponse {

4
src/cx/sfy/LagAssist/minebench/HTTPClient.java → src/com/entryrise/lagassist/minebench/HTTPClient.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.minebench;
package com.entryrise.lagassist.minebench;
import java.io.IOException;
import java.io.InputStream;
@ -9,7 +9,7 @@ import java.util.regex.Pattern;
import org.bukkit.Bukkit;
import cx.sfy.LagAssist.utils.Others;
import com.entryrise.lagassist.utils.Others;
public class HTTPClient {

4
src/cx/sfy/LagAssist/minebench/SpecsGetter.java → src/com/entryrise/lagassist/minebench/SpecsGetter.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.minebench;
package com.entryrise.lagassist.minebench;
import java.io.BufferedReader;
import java.io.File;
@ -12,7 +12,7 @@ import java.net.URLEncoder;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import cx.sfy.LagAssist.utils.Others;
import com.entryrise.lagassist.utils.Others;
public class SpecsGetter {

6
src/cx/sfy/LagAssist/minebench/SpeedTest.java → src/com/entryrise/lagassist/minebench/SpeedTest.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.minebench;
package com.entryrise.lagassist.minebench;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
@ -18,8 +18,8 @@ import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.packets.Reflection;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.packets.Reflection;
public class SpeedTest {

4
src/cx/sfy/LagAssist/minebench/SysInfo.java → src/com/entryrise/lagassist/minebench/SysInfo.java

@ -1,8 +1,8 @@
package cx.sfy.LagAssist.minebench;
package com.entryrise.lagassist.minebench;
import org.bukkit.command.CommandSender;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class SysInfo {

12
src/cx/sfy/LagAssist/mobs/SmartMob.java → src/com/entryrise/lagassist/mobs/SmartMob.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.mobs;
package com.entryrise.lagassist.mobs;
import java.util.ArrayList;
import java.util.List;
@ -19,11 +19,11 @@ import org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
import org.bukkit.event.entity.EntityDeathEvent;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.stacker.StackManager;
import cx.sfy.LagAssist.utils.PaperOnly;
import cx.sfy.LagAssist.utils.VersionMgr;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.stacker.StackManager;
import com.entryrise.lagassist.utils.PaperOnly;
import com.entryrise.lagassist.utils.VersionMgr;
import com.entryrise.lagassist.utils.WorldMgr;
public class SmartMob implements Listener {

10
src/cx/sfy/LagAssist/mobs/SpawnerMgr.java → src/com/entryrise/lagassist/mobs/SpawnerMgr.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.mobs;
package com.entryrise.lagassist.mobs;
import java.util.SplittableRandom;
@ -11,10 +11,10 @@ import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.SpawnerSpawnEvent;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.V1_12;
import cx.sfy.LagAssist.utils.VersionMgr;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.V1_12;
import com.entryrise.lagassist.utils.VersionMgr;
import com.entryrise.lagassist.utils.WorldMgr;
public class SpawnerMgr implements Listener {

5
src/cx/sfy/LagAssist/packets/BlacklistHandler.java → src/com/entryrise/lagassist/packets/BlacklistHandler.java

@ -1,6 +1,7 @@
package cx.sfy.LagAssist.packets;
package com.entryrise.lagassist.packets;
import com.entryrise.lagassist.safety.SafetyAnticrash;
import cx.sfy.LagAssist.safety.SafetyAnticrash;
import io.netty.channel.Channel;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;

7
src/cx/sfy/LagAssist/packets/PacketHandler.java → src/com/entryrise/lagassist/packets/PacketHandler.java

@ -1,9 +1,10 @@
package cx.sfy.LagAssist.packets;
package com.entryrise.lagassist.packets;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.client.ClientPacket;
import cx.sfy.LagAssist.safety.SafetyAnticrash;
import com.entryrise.lagassist.client.ClientPacket;
import com.entryrise.lagassist.safety.SafetyAnticrash;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;

9
src/cx/sfy/LagAssist/packets/PacketInjector.java → src/com/entryrise/lagassist/packets/PacketInjector.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.packets;
package com.entryrise.lagassist.packets;
import java.lang.reflect.Field;
import java.util.ArrayList;
@ -7,9 +7,10 @@ import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.client.ClientMain;
import cx.sfy.LagAssist.safety.SafetyManager;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.client.ClientMain;
import com.entryrise.lagassist.safety.SafetyManager;
import com.entryrise.lagassist.utils.VersionMgr;
import io.netty.channel.Channel;
public class PacketInjector {

8
src/cx/sfy/LagAssist/packets/PacketMain.java → src/com/entryrise/lagassist/packets/PacketMain.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.packets;
package com.entryrise.lagassist.packets;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
@ -8,9 +8,9 @@ import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.client.ClientMain;
import cx.sfy.LagAssist.safety.SafetyManager;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.client.ClientMain;
import com.entryrise.lagassist.safety.SafetyManager;
public class PacketMain implements Listener {

9
src/cx/sfy/LagAssist/packets/Reflection.java → src/com/entryrise/lagassist/packets/Reflection.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.packets;
package com.entryrise.lagassist.packets;
import java.lang.reflect.Array;
import java.lang.reflect.Constructor;
@ -26,9 +26,10 @@ import org.bukkit.plugin.SimplePluginManager;
import org.bukkit.scoreboard.Scoreboard;
import org.json.simple.JSONObject;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.V1_8;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.V1_8;
import com.entryrise.lagassist.utils.VersionMgr;
import net.md_5.bungee.api.ChatMessageType;
import net.md_5.bungee.api.chat.ComponentBuilder;

2
src/cx/sfy/LagAssist/packets/ServerPackage.java → src/com/entryrise/lagassist/packets/ServerPackage.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.packets;
package com.entryrise.lagassist.packets;
import org.bukkit.Bukkit;

6
src/cx/sfy/LagAssist/safety/SafetyAnticrash.java → src/com/entryrise/lagassist/safety/SafetyAnticrash.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.safety;
package com.entryrise.lagassist.safety;
import java.util.HashSet;
import java.util.Map;
@ -7,10 +7,10 @@ import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.packets.Reflection;
import com.google.common.collect.Maps;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.packets.Reflection;
import io.netty.channel.Channel;
public class SafetyAnticrash {

4
src/cx/sfy/LagAssist/safety/SafetyManager.java → src/com/entryrise/lagassist/safety/SafetyManager.java

@ -1,11 +1,11 @@
package cx.sfy.LagAssist.safety;
package com.entryrise.lagassist.safety;
import java.io.File;
import java.io.IOException;
import org.bukkit.Bukkit;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class SafetyManager {

10
src/cx/sfy/LagAssist/stacker/StackChunk.java → src/com/entryrise/lagassist/stacker/StackChunk.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.stacker;
package com.entryrise.lagassist.stacker;
import java.util.ArrayList;
import java.util.HashMap;
@ -21,10 +21,10 @@ import org.bukkit.event.entity.EntityDeathEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.metadata.FixedMetadataValue;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.MathUtils;
import cx.sfy.LagAssist.utils.Others;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.MathUtils;
import com.entryrise.lagassist.utils.Others;
import com.entryrise.lagassist.utils.WorldMgr;
public class StackChunk {

4
src/cx/sfy/LagAssist/stacker/StackComparer.java → src/com/entryrise/lagassist/stacker/StackComparer.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.stacker;
package com.entryrise.lagassist.stacker;
import java.util.ArrayList;
import java.util.List;
@ -13,7 +13,7 @@ import org.bukkit.entity.Slime;
import org.bukkit.entity.Tameable;
import org.bukkit.entity.Villager;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class StackComparer {

8
src/cx/sfy/LagAssist/stacker/StackManager.java → src/com/entryrise/lagassist/stacker/StackManager.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.stacker;
package com.entryrise.lagassist.stacker;
import java.util.EnumSet;
import java.util.regex.Matcher;
@ -23,9 +23,9 @@ import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.metadata.FixedMetadataValue;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.stacker.StackMonitor.SplitChangeEvent;
import cx.sfy.LagAssist.utils.WorldMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.stacker.StackMonitor.SplitChangeEvent;
import com.entryrise.lagassist.utils.WorldMgr;
public class StackManager implements Listener {

6
src/cx/sfy/LagAssist/stacker/StackManipulator.java → src/com/entryrise/lagassist/stacker/StackManipulator.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.stacker;
package com.entryrise.lagassist.stacker;
import org.bukkit.Location;
import org.bukkit.entity.Entity;
@ -10,8 +10,8 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
import cx.sfy.LagAssist.Main;
import cx.sfy.LagAssist.utils.VersionMgr;
import com.entryrise.lagassist.Main;
import com.entryrise.lagassist.utils.VersionMgr;
public class StackManipulator implements Listener {

4
src/cx/sfy/LagAssist/stacker/StackMonitor.java → src/com/entryrise/lagassist/stacker/StackMonitor.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.stacker;
package com.entryrise.lagassist.stacker;
import java.util.ArrayList;
import java.util.Collections;
@ -16,7 +16,7 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class StackMonitor {

2
src/cx/sfy/LagAssist/stacker/StackSpawners.java → src/com/entryrise/lagassist/stacker/StackSpawners.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.stacker;
package com.entryrise.lagassist.stacker;
import java.util.regex.Pattern;

4
src/cx/sfy/LagAssist/superloader/SuperMain.java → src/com/entryrise/lagassist/superloader/SuperMain.java

@ -1,8 +1,8 @@
package cx.sfy.LagAssist.superloader;
package com.entryrise.lagassist.superloader;
import org.bukkit.Bukkit;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class SuperMain {

4
src/cx/sfy/LagAssist/updater/SmartUpdater.java → src/com/entryrise/lagassist/updater/SmartUpdater.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.updater;
package com.entryrise.lagassist.updater;
import java.io.IOException;
import java.io.InputStream;
@ -16,7 +16,7 @@ import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.JSONValue;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class SmartUpdater {

4
src/cx/sfy/LagAssist/updater/UpdateCondition.java → src/com/entryrise/lagassist/updater/UpdateCondition.java

@ -1,6 +1,6 @@
package cx.sfy.LagAssist.updater;
package com.entryrise.lagassist.updater;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class UpdateCondition {

2
src/cx/sfy/LagAssist/updater/UpdateInfo.java → src/com/entryrise/lagassist/updater/UpdateInfo.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.updater;
package com.entryrise.lagassist.updater;
import java.util.Base64;

2
src/cx/sfy/LagAssist/updater/VersionComparator.java → src/com/entryrise/lagassist/updater/VersionComparator.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.updater;
package com.entryrise.lagassist.updater;
import java.util.Comparator;

2
src/cx/sfy/LagAssist/utils/Cache.java → src/com/entryrise/lagassist/utils/Cache.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import java.util.HashMap;
import java.util.HashSet;

2
src/cx/sfy/LagAssist/utils/Chat.java → src/com/entryrise/lagassist/utils/Chat.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import net.md_5.bungee.api.chat.ClickEvent;
import net.md_5.bungee.api.chat.ComponentBuilder;

2
src/cx/sfy/LagAssist/utils/MathUtils.java → src/com/entryrise/lagassist/utils/MathUtils.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;

4
src/cx/sfy/LagAssist/utils/Others.java → src/com/entryrise/lagassist/utils/Others.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
@ -16,7 +16,7 @@ import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class Others {

4
src/cx/sfy/LagAssist/utils/PaperOnly.java → src/com/entryrise/lagassist/utils/PaperOnly.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import org.bukkit.Chunk;
import org.bukkit.World;
@ -6,7 +6,7 @@ import org.bukkit.World.ChunkLoadCallback;
import org.bukkit.entity.ArmorStand;
import org.bukkit.entity.Player;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
@SuppressWarnings("deprecation")
public class PaperOnly {

4
src/cx/sfy/LagAssist/utils/V1_11.java → src/com/entryrise/lagassist/utils/V1_11.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import java.util.HashMap;
import java.util.Map;
@ -8,7 +8,7 @@ import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.material.Observer;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
public class V1_11 {

4
src/cx/sfy/LagAssist/utils/V1_12.java → src/com/entryrise/lagassist/utils/V1_12.java

@ -1,11 +1,11 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import org.bukkit.Material;
import org.bukkit.block.CreatureSpawner;
import org.bukkit.block.Hopper;
import org.bukkit.inventory.ItemStack;
import cx.sfy.LagAssist.Data;
import com.entryrise.lagassist.Data;
@SuppressWarnings("deprecation")
public class V1_12 {

6
src/cx/sfy/LagAssist/utils/V1_13.java → src/com/entryrise/lagassist/utils/V1_13.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import java.util.ArrayList;
import java.util.List;
@ -12,8 +12,8 @@ import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.loot.LootContext;
import org.bukkit.loot.LootTables;
import cx.sfy.LagAssist.Data;
import cx.sfy.LagAssist.packets.Reflection;
import com.entryrise.lagassist.Data;
import com.entryrise.lagassist.packets.Reflection;
public class V1_13 {

5
src/cx/sfy/LagAssist/utils/V1_8.java → src/com/entryrise/lagassist/utils/V1_8.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@ -8,7 +8,8 @@ import org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
import org.bukkit.inventory.meta.ItemMeta;
import cx.sfy.LagAssist.Main;
import com.entryrise.lagassist.Main;
import net.minecraft.server.v1_8_R3.IChatBaseComponent;
import net.minecraft.server.v1_8_R3.IChatBaseComponent.ChatSerializer;
import net.minecraft.server.v1_8_R3.PacketPlayOutChat;

4
src/cx/sfy/LagAssist/utils/VersionMgr.java → src/com/entryrise/lagassist/utils/VersionMgr.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import org.bukkit.Bukkit;
import org.bukkit.Chunk;
@ -9,7 +9,7 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import cx.sfy.LagAssist.packets.Reflection;
import com.entryrise.lagassist.packets.Reflection;
@SuppressWarnings("deprecation")
public class VersionMgr {

4
src/cx/sfy/LagAssist/utils/WorldMgr.java → src/com/entryrise/lagassist/utils/WorldMgr.java

@ -1,4 +1,4 @@
package cx.sfy.LagAssist.utils;
package com.entryrise.lagassist.utils;
import java.util.ArrayList;
import java.util.List;
@ -7,7 +7,7 @@ import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;
</