Move modules to modules

This commit is contained in:
Minecon724 2025-01-24 10:05:49 +01:00
parent 2788829967
commit 7b65be86ad
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8
62 changed files with 142 additions and 136 deletions

View file

@ -6,6 +6,8 @@
package eu.m724.tweaks; package eu.m724.tweaks;
import eu.m724.tweaks.module.TweaksModule;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;

View file

@ -7,25 +7,26 @@
package eu.m724.tweaks; package eu.m724.tweaks;
import eu.m724.mstats.MStatsPlugin; import eu.m724.mstats.MStatsPlugin;
import eu.m724.tweaks.alert.AlertModule; import eu.m724.tweaks.module.TweaksModule;
import eu.m724.tweaks.auth.AuthModule; import eu.m724.tweaks.module.alert.AlertModule;
import eu.m724.tweaks.chat.ChatModule; import eu.m724.tweaks.module.auth.AuthModule;
import eu.m724.tweaks.door.DoorKnockModule; import eu.m724.tweaks.module.chat.ChatModule;
import eu.m724.tweaks.door.DoorOpenModule; import eu.m724.tweaks.module.door.DoorKnockModule;
import eu.m724.tweaks.full.FullModule; import eu.m724.tweaks.module.door.DoorOpenModule;
import eu.m724.tweaks.hardcore.HardcoreModule; import eu.m724.tweaks.module.full.FullModule;
import eu.m724.tweaks.killswitch.KillswitchModule; import eu.m724.tweaks.module.hardcore.HardcoreModule;
import eu.m724.tweaks.knockback.KnockbackModule; import eu.m724.tweaks.module.killswitch.KillswitchModule;
import eu.m724.tweaks.motd.MotdModule; import eu.m724.tweaks.module.knockback.KnockbackModule;
import eu.m724.tweaks.ping.F3NameListener; import eu.m724.tweaks.module.motd.MotdModule;
import eu.m724.tweaks.ping.PingChecker; import eu.m724.tweaks.module.ping.F3NameListener;
import eu.m724.tweaks.pomodoro.PomodoroModule; import eu.m724.tweaks.module.ping.PingChecker;
import eu.m724.tweaks.redstone.RedstoneModule; import eu.m724.tweaks.module.pomodoro.PomodoroModule;
import eu.m724.tweaks.sleep.SleepModule; import eu.m724.tweaks.module.redstone.RedstoneModule;
import eu.m724.tweaks.swing.SwingModule; import eu.m724.tweaks.module.sleep.SleepModule;
import eu.m724.tweaks.updater.UpdaterModule; import eu.m724.tweaks.module.swing.SwingModule;
import eu.m724.tweaks.worldborder.WorldBorderExpandModule; import eu.m724.tweaks.module.updater.UpdaterModule;
import eu.m724.tweaks.worldborder.WorldBorderHideModule; import eu.m724.tweaks.module.worldborder.WorldBorderExpandModule;
import eu.m724.tweaks.module.worldborder.WorldBorderHideModule;
import java.util.Locale; import java.util.Locale;
import java.util.logging.Level; import java.util.logging.Level;

View file

@ -4,13 +4,16 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks; package eu.m724.tweaks.module;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.events.ListenerPriority; import com.comphenix.protocol.events.ListenerPriority;
import com.comphenix.protocol.events.PacketAdapter; import com.comphenix.protocol.events.PacketAdapter;
import com.comphenix.protocol.events.PacketEvent; import com.comphenix.protocol.events.PacketEvent;
import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksConfig;
import eu.m724.tweaks.TweaksPlugin;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.alert; package eu.m724.tweaks.module.alert;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Material; import org.bukkit.Material;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.alert; package eu.m724.tweaks.module.alert;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.command.Command; import org.bukkit.command.Command;

View file

@ -4,12 +4,12 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.alert; package eu.m724.tweaks.module.alert;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.events.PacketContainer; import com.comphenix.protocol.events.PacketContainer;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitTask; import org.bukkit.scheduler.BukkitTask;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.alert; package eu.m724.tweaks.module.alert;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.ChatMessageType; import net.md_5.bungee.api.ChatMessageType;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.auth; package eu.m724.tweaks.module.auth;
import eu.m724.tweaks.Language; import eu.m724.tweaks.Language;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.auth; package eu.m724.tweaks.module.auth;
import eu.m724.tweaks.Language; import eu.m724.tweaks.Language;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.auth; package eu.m724.tweaks.module.auth;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
public class AuthModule extends TweaksModule { public class AuthModule extends TweaksModule {
@Override @Override

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.auth; package eu.m724.tweaks.module.auth;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.chat; package eu.m724.tweaks.module.chat;
import eu.m724.tweaks.Language; import eu.m724.tweaks.Language;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.chat; package eu.m724.tweaks.module.chat;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.chat.BaseComponent; import net.md_5.bungee.api.chat.BaseComponent;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.chat; package eu.m724.tweaks.module.chat;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.chat; package eu.m724.tweaks.module.chat;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.chat.ComponentBuilder; import net.md_5.bungee.api.chat.ComponentBuilder;
import org.bukkit.NamespacedKey; import org.bukkit.NamespacedKey;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.chat; package eu.m724.tweaks.module.chat;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.chat.BaseComponent; import net.md_5.bungee.api.chat.BaseComponent;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.chat; package eu.m724.tweaks.module.chat;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.compass; package eu.m724.tweaks.module.compass;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.ChatMessageType; import net.md_5.bungee.api.ChatMessageType;
import net.md_5.bungee.api.chat.ComponentBuilder; import net.md_5.bungee.api.chat.ComponentBuilder;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.compass; package eu.m724.tweaks.module.compass;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.door; package eu.m724.tweaks.module.door;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.Sound; import org.bukkit.Sound;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.door; package eu.m724.tweaks.module.door;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import org.bukkit.*; import org.bukkit.*;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.block.BlockFace; import org.bukkit.block.BlockFace;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.full; package eu.m724.tweaks.module.full;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerLoginEvent; import org.bukkit.event.player.PlayerLoginEvent;

View file

@ -4,12 +4,12 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.hardcore; package eu.m724.tweaks.module.hardcore;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.PacketContainer; import com.comphenix.protocol.events.PacketContainer;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import net.minecraft.world.level.levelgen.RandomSupport; import net.minecraft.world.level.levelgen.RandomSupport;
import net.minecraft.world.level.levelgen.Xoroshiro128PlusPlus; import net.minecraft.world.level.levelgen.Xoroshiro128PlusPlus;

View file

@ -4,13 +4,13 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.killswitch; package eu.m724.tweaks.module.killswitch;
import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler; import com.sun.net.httpserver.HttpHandler;
import com.sun.net.httpserver.HttpServer; import com.sun.net.httpserver.HttpServer;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.killswitch; package eu.m724.tweaks.module.killswitch;
import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.scheduler.BukkitRunnable;

View file

@ -4,10 +4,10 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.knockback; package eu.m724.tweaks.module.knockback;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import org.bukkit.entity.EntityType; import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.motd; package eu.m724.tweaks.module.motd;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.*; import com.comphenix.protocol.events.*;
@ -14,7 +14,7 @@ import com.google.gson.JsonParseException;
import com.google.gson.JsonParser; import com.google.gson.JsonParser;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import net.md_5.bungee.api.chat.TextComponent; import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bungee.chat.ComponentSerializer; import net.md_5.bungee.chat.ComponentSerializer;
import net.minecraft.SharedConstants; import net.minecraft.SharedConstants;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.ping; package eu.m724.tweaks.module.ping;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.ProtocolLibrary;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.ping; package eu.m724.tweaks.module.ping;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.ProtocolLibrary;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.ping; package eu.m724.tweaks.module.ping;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.scheduler.BukkitRunnable;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.ping; package eu.m724.tweaks.module.ping;
import org.bukkit.command.PluginCommand; import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.ping; package eu.m724.tweaks.module.ping;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.chat.BaseComponent; import net.md_5.bungee.api.chat.BaseComponent;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.ping; package eu.m724.tweaks.module.ping;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.pomodoro; package eu.m724.tweaks.module.pomodoro;
public class PlayerPomodoro { public class PlayerPomodoro {
private int pomodori = 0; private int pomodori = 0;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.pomodoro; package eu.m724.tweaks.module.pomodoro;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.pomodoro; package eu.m724.tweaks.module.pomodoro;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;
import net.md_5.bungee.api.chat.ComponentBuilder; import net.md_5.bungee.api.chat.ComponentBuilder;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.pomodoro; package eu.m724.tweaks.module.pomodoro;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
public class PomodoroModule extends TweaksModule { public class PomodoroModule extends TweaksModule {
@Override @Override

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.pomodoro; package eu.m724.tweaks.module.pomodoro;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;
import net.md_5.bungee.api.ChatMessageType; import net.md_5.bungee.api.ChatMessageType;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.pomodoro; package eu.m724.tweaks.module.pomodoro;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.chat.BaseComponent; import net.md_5.bungee.api.chat.BaseComponent;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.redstone; package eu.m724.tweaks.module.redstone;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.Language; import eu.m724.tweaks.Language;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.redstone; package eu.m724.tweaks.module.redstone;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.Command; import org.bukkit.command.Command;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.redstone; package eu.m724.tweaks.module.redstone;
import com.google.common.collect.BiMap; import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap; import com.google.common.collect.HashBiMap;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.redstone; package eu.m724.tweaks.module.redstone;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.Language; import eu.m724.tweaks.Language;

View file

@ -4,11 +4,11 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.redstone; package eu.m724.tweaks.module.redstone;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import java.io.IOException; import java.io.IOException;
import java.net.*; import java.net.*;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.redstone; package eu.m724.tweaks.module.redstone;
import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.scheduler.BukkitRunnable;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.redstone; package eu.m724.tweaks.module.redstone;
import com.google.common.primitives.Ints; import com.google.common.primitives.Ints;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.sleep; package eu.m724.tweaks.module.sleep;
import eu.m724.tweaks.TweaksConfig; import eu.m724.tweaks.TweaksConfig;
import org.bukkit.GameRule; import org.bukkit.GameRule;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.sleep; package eu.m724.tweaks.module.sleep;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
public class SleepModule extends TweaksModule { public class SleepModule extends TweaksModule {
@Override @Override

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.sleep; package eu.m724.tweaks.module.sleep;
public class SleepState { public class SleepState {
static int playersSleeping; static int playersSleeping;

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (C) 2024 Minecon724 * Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file * Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.sleep; package eu.m724.tweaks.module.sleep;
import org.bukkit.GameRule; import org.bukkit.GameRule;
import org.bukkit.Server; import org.bukkit.Server;

View file

@ -4,10 +4,10 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.swing; package eu.m724.tweaks.module.swing;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.attribute.Attribute; import org.bukkit.attribute.Attribute;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;

View file

@ -4,11 +4,11 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater; package eu.m724.tweaks.module.updater;
import eu.m724.tweaks.Language; import eu.m724.tweaks.Language;
import eu.m724.tweaks.updater.backend.UpdateChecker; import eu.m724.tweaks.module.updater.backend.UpdateChecker;
import eu.m724.tweaks.updater.object.VersionedResource; import eu.m724.tweaks.module.updater.object.VersionedResource;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.chat.BaseComponent; import net.md_5.bungee.api.chat.BaseComponent;
import net.md_5.bungee.api.chat.ClickEvent; import net.md_5.bungee.api.chat.ClickEvent;

View file

@ -4,15 +4,15 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater; package eu.m724.tweaks.module.updater;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import eu.m724.tweaks.updater.backend.UpdateChecker; import eu.m724.tweaks.module.updater.backend.UpdateChecker;
import eu.m724.tweaks.updater.backend.VersionCache; import eu.m724.tweaks.module.updater.backend.VersionCache;
import eu.m724.tweaks.updater.object.ResourceVersion; import eu.m724.tweaks.module.updater.object.ResourceVersion;
import eu.m724.tweaks.updater.object.SpigotResource; import eu.m724.tweaks.module.updater.object.SpigotResource;
import eu.m724.tweaks.updater.object.VersionedResource; import eu.m724.tweaks.module.updater.object.VersionedResource;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;

View file

@ -4,11 +4,11 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater.backend; package eu.m724.tweaks.module.updater.backend;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.Language; import eu.m724.tweaks.Language;
import eu.m724.tweaks.updater.object.VersionedResource; import eu.m724.tweaks.module.updater.object.VersionedResource;
import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.scheduler.BukkitRunnable;
import java.io.File; import java.io.File;

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater.backend; package eu.m724.tweaks.module.updater.backend;
import eu.m724.tweaks.updater.object.ResourceVersion; import eu.m724.tweaks.module.updater.object.ResourceVersion;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.FileOutputStream; import java.io.FileOutputStream;

View file

@ -4,17 +4,17 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater.backend; package eu.m724.tweaks.module.updater.backend;
import com.google.gson.JsonArray; import com.google.gson.JsonArray;
import com.google.gson.JsonElement; import com.google.gson.JsonElement;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;
import com.google.gson.JsonParser; import com.google.gson.JsonParser;
import eu.m724.tweaks.DebugLogger; import eu.m724.tweaks.DebugLogger;
import eu.m724.tweaks.updater.object.SpigotResource; import eu.m724.tweaks.module.updater.object.SpigotResource;
import eu.m724.tweaks.updater.object.ResourceVersion; import eu.m724.tweaks.module.updater.object.ResourceVersion;
import eu.m724.tweaks.updater.object.UpdateDescription; import eu.m724.tweaks.module.updater.object.UpdateDescription;
import eu.m724.tweaks.updater.object.VersionedResource; import eu.m724.tweaks.module.updater.object.VersionedResource;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater.object; package eu.m724.tweaks.module.updater.object;
import java.util.Objects; import java.util.Objects;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater.object; package eu.m724.tweaks.module.updater.object;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater.object; package eu.m724.tweaks.module.updater.object;
public record UpdateDescription( public record UpdateDescription(
String title, String title,

View file

@ -4,7 +4,7 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.updater.object; package eu.m724.tweaks.module.updater.object;
public record VersionedResource( public record VersionedResource(
SpigotResource resource, SpigotResource resource,

View file

@ -4,9 +4,9 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.worldborder; package eu.m724.tweaks.module.worldborder;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerLevel;
import org.bukkit.craftbukkit.v1_21_R3.CraftWorld; import org.bukkit.craftbukkit.v1_21_R3.CraftWorld;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;

View file

@ -4,11 +4,11 @@
* in the project root for the full license text. * in the project root for the full license text.
*/ */
package eu.m724.tweaks.worldborder; package eu.m724.tweaks.module.worldborder;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.PacketContainer; import com.comphenix.protocol.events.PacketContainer;
import eu.m724.tweaks.TweaksModule; import eu.m724.tweaks.module.TweaksModule;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;