change chomens bot namespace yup

This commit is contained in:
ChomeNS 2023-03-24 09:04:55 +07:00
parent e1b9500309
commit 6e2eb9ec74
50 changed files with 141 additions and 147 deletions

View file

@ -17,7 +17,7 @@
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<mainClass>me.chayapak1.chomensbot_mabe.Main</mainClass> <mainClass>me.chayapak1.chomens_bot.Main</mainClass>
</manifest> </manifest>
</archive> </archive>
</configuration> </configuration>

View file

@ -108,7 +108,7 @@
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<mainClass>me.chayapak1.chomensbot_mabe.Main</mainClass> <mainClass>me.chayapak1.chomens_bot.Main</mainClass>
</manifest> </manifest>
</archive> </archive>
</configuration> </configuration>

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe; package me.chayapak1.chomens_bot;
import com.github.steveice10.mc.protocol.MinecraftProtocol; import com.github.steveice10.mc.protocol.MinecraftProtocol;
import com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundLoginPacket; import com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundLoginPacket;
@ -8,7 +8,7 @@ import com.github.steveice10.packetlib.packet.Packet;
import com.github.steveice10.packetlib.tcp.TcpClientSession; import com.github.steveice10.packetlib.tcp.TcpClientSession;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import me.chayapak1.chomensbot_mabe.plugins.*; import me.chayapak1.chomens_bot.plugins.*;
import org.apache.commons.lang3.RandomStringUtils; import org.apache.commons.lang3.RandomStringUtils;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe; package me.chayapak1.chomens_bot;
import lombok.Getter; import lombok.Getter;

View file

@ -1,6 +1,6 @@
package me.chayapak1.chomensbot_mabe; package me.chayapak1.chomens_bot;
import me.chayapak1.chomensbot_mabe.plugins.ConsolePlugin; import me.chayapak1.chomens_bot.plugins.ConsolePlugin;
import org.yaml.snakeyaml.Yaml; import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.constructor.Constructor; import org.yaml.snakeyaml.constructor.Constructor;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.chatParsers; package me.chayapak1.chomens_bot.chatParsers;
import me.chayapak1.chomensbot_mabe.chatParsers.data.ChatParser; import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
import me.chayapak1.chomensbot_mabe.chatParsers.data.PlayerMessage; import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TranslatableComponent; import net.kyori.adventure.text.TranslatableComponent;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.chatParsers; package me.chayapak1.chomens_bot.chatParsers;
import me.chayapak1.chomensbot_mabe.chatParsers.data.ChatParser; import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
import me.chayapak1.chomensbot_mabe.chatParsers.data.PlayerMessage; import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TextComponent; import net.kyori.adventure.text.TextComponent;
import net.kyori.adventure.text.TranslatableComponent; import net.kyori.adventure.text.TranslatableComponent;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.chatParsers; package me.chayapak1.chomens_bot.chatParsers;
import me.chayapak1.chomensbot_mabe.chatParsers.data.ChatParser; import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
import me.chayapak1.chomensbot_mabe.chatParsers.data.PlayerMessage; import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TranslatableComponent; import net.kyori.adventure.text.TranslatableComponent;
import net.kyori.adventure.text.event.HoverEvent; import net.kyori.adventure.text.event.HoverEvent;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.chatParsers.data; package me.chayapak1.chomens_bot.chatParsers.data;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.chatParsers.data; package me.chayapak1.chomens_bot.chatParsers.data;
import lombok.Data; import lombok.Data;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.command; package me.chayapak1.chomens_bot.command;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.command; package me.chayapak1.chomens_bot.command;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
public class CommandContext { public class CommandContext {

View file

@ -1,8 +1,7 @@
package me.chayapak1.chomensbot_mabe.command; package me.chayapak1.chomens_bot.command;
import lombok.Getter; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.util.ComponentUtilities;
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.command; package me.chayapak1.chomens_bot.command;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
public class PlayerCommandContext extends CommandContext { public class PlayerCommandContext extends CommandContext {

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import com.github.ricksbrown.cowsay.plugin.CowExecutor; import com.github.ricksbrown.cowsay.plugin.CowExecutor;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.event.ClickEvent; import net.kyori.adventure.text.event.ClickEvent;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.JoinConfiguration; import net.kyori.adventure.text.JoinConfiguration;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,10 +1,10 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import me.chayapak1.chomensbot_mabe.plugins.MusicPlayerPlugin; import me.chayapak1.chomens_bot.plugins.MusicPlayerPlugin;
import me.chayapak1.chomensbot_mabe.song.Song; import me.chayapak1.chomens_bot.song.Song;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.JoinConfiguration; import net.kyori.adventure.text.JoinConfiguration;
import net.kyori.adventure.text.event.ClickEvent; import net.kyori.adventure.text.event.ClickEvent;

View file

@ -1,10 +1,10 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities; import me.chayapak1.chomens_bot.util.ComponentUtilities;
import me.chayapak1.chomensbot_mabe.util.NumberUtilities; import me.chayapak1.chomens_bot.util.NumberUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,7 +1,7 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.commands; package me.chayapak1.chomens_bot.commands;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,10 +1,10 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.chatParsers.data.PlayerMessage; import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
import me.chayapak1.chomensbot_mabe.command.PlayerCommandContext; import me.chayapak1.chomens_bot.command.PlayerCommandContext;
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities; import me.chayapak1.chomens_bot.util.ComponentUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TextComponent; import net.kyori.adventure.text.TextComponent;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundSystemChatPacket; import com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundSystemChatPacket;
import com.github.steveice10.mc.protocol.packet.ingame.serverbound.ServerboundChatCommandPacket; import com.github.steveice10.mc.protocol.packet.ingame.serverbound.ServerboundChatCommandPacket;
@ -6,14 +6,14 @@ import com.github.steveice10.mc.protocol.packet.ingame.serverbound.ServerboundCh
import com.github.steveice10.packetlib.Session; import com.github.steveice10.packetlib.Session;
import com.github.steveice10.packetlib.event.session.SessionAdapter; import com.github.steveice10.packetlib.event.session.SessionAdapter;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.chatParsers.ChomeNSCustomChatParser; import me.chayapak1.chomens_bot.chatParsers.ChomeNSCustomChatParser;
import me.chayapak1.chomensbot_mabe.chatParsers.KaboomChatParser; import me.chayapak1.chomens_bot.chatParsers.KaboomChatParser;
import me.chayapak1.chomensbot_mabe.chatParsers.MinecraftChatParser; import me.chayapak1.chomens_bot.chatParsers.MinecraftChatParser;
import me.chayapak1.chomensbot_mabe.chatParsers.data.ChatParser; import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
import me.chayapak1.chomensbot_mabe.chatParsers.data.PlayerMessage; import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities; import me.chayapak1.chomens_bot.util.ComponentUtilities;
import me.chayapak1.chomensbot_mabe.util.UUIDUtilities; import me.chayapak1.chomens_bot.util.UUIDUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TranslatableComponent; import net.kyori.adventure.text.TranslatableComponent;
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer; import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;

View file

@ -1,10 +1,10 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import me.chayapak1.chomensbot_mabe.command.CommandContext; import me.chayapak1.chomens_bot.command.CommandContext;
import me.chayapak1.chomensbot_mabe.commands.*; import me.chayapak1.chomens_bot.commands.*;
import me.chayapak1.chomensbot_mabe.util.ElementUtilities; import me.chayapak1.chomens_bot.util.ElementUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.event.HoverEvent; import net.kyori.adventure.text.event.HoverEvent;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.command.ConsoleCommandContext; import me.chayapak1.chomens_bot.command.ConsoleCommandContext;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TextComponent; import net.kyori.adventure.text.TextComponent;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack;
import com.github.steveice10.mc.protocol.data.game.entity.object.Direction; import com.github.steveice10.mc.protocol.data.game.entity.object.Direction;
@ -16,7 +16,7 @@ import com.github.steveice10.opennbt.tag.builtin.Tag;
import com.github.steveice10.packetlib.Session; import com.github.steveice10.packetlib.Session;
import com.nukkitx.math.vector.Vector3i; import com.nukkitx.math.vector.Vector3i;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import java.util.*; import java.util.*;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.google.common.hash.Hashing; import com.google.common.hash.Hashing;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.util.Timer; import java.util.Timer;

View file

@ -1,10 +1,10 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.github.steveice10.packetlib.event.session.ConnectedEvent; import com.github.steveice10.packetlib.event.session.ConnectedEvent;
import com.github.steveice10.packetlib.event.session.DisconnectedEvent; import com.github.steveice10.packetlib.event.session.DisconnectedEvent;
import com.github.steveice10.packetlib.event.session.SessionAdapter; import com.github.steveice10.packetlib.event.session.SessionAdapter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities; import me.chayapak1.chomens_bot.util.ComponentUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
public class LoggerPlugin extends ChatPlugin.ChatListener { public class LoggerPlugin extends ChatPlugin.ChatListener {

View file

@ -1,14 +1,14 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.github.steveice10.packetlib.event.session.DisconnectedEvent; import com.github.steveice10.packetlib.event.session.DisconnectedEvent;
import com.github.steveice10.packetlib.event.session.SessionAdapter; import com.github.steveice10.packetlib.event.session.SessionAdapter;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.song.Note; import me.chayapak1.chomens_bot.song.Note;
import me.chayapak1.chomensbot_mabe.song.Song; import me.chayapak1.chomens_bot.song.Song;
import me.chayapak1.chomensbot_mabe.song.SongLoaderException; import me.chayapak1.chomens_bot.song.SongLoaderException;
import me.chayapak1.chomensbot_mabe.song.SongLoaderThread; import me.chayapak1.chomens_bot.song.SongLoaderThread;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer; import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.github.steveice10.mc.protocol.packet.ingame.clientbound.entity.player.ClientboundPlayerPositionPacket; import com.github.steveice10.mc.protocol.packet.ingame.clientbound.entity.player.ClientboundPlayerPositionPacket;
import com.github.steveice10.mc.protocol.packet.ingame.serverbound.level.ServerboundAcceptTeleportationPacket; import com.github.steveice10.mc.protocol.packet.ingame.serverbound.level.ServerboundAcceptTeleportationPacket;
@ -7,7 +7,7 @@ import com.github.steveice10.packetlib.event.session.SessionAdapter;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import com.nukkitx.math.vector.Vector3i; import com.nukkitx.math.vector.Vector3i;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.github.steveice10.mc.protocol.MinecraftProtocol; import com.github.steveice10.mc.protocol.MinecraftProtocol;
import com.github.steveice10.mc.protocol.data.ProtocolState; import com.github.steveice10.mc.protocol.data.ProtocolState;
@ -18,8 +18,8 @@ import com.github.steveice10.packetlib.packet.Packet;
import com.github.steveice10.packetlib.packet.PacketProtocol; import com.github.steveice10.packetlib.packet.PacketProtocol;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.Configuration; import me.chayapak1.chomens_bot.Configuration;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.util.Timer; import java.util.Timer;

View file

@ -1,12 +1,12 @@
package me.chayapak1.chomensbot_mabe.plugins; package me.chayapak1.chomens_bot.plugins;
import com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundLoginPacket; import com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundLoginPacket;
import com.github.steveice10.mc.protocol.packet.ingame.clientbound.level.ClientboundSetTimePacket; import com.github.steveice10.mc.protocol.packet.ingame.clientbound.level.ClientboundSetTimePacket;
import com.github.steveice10.packetlib.Session; import com.github.steveice10.packetlib.Session;
import com.github.steveice10.packetlib.event.session.SessionAdapter; import com.github.steveice10.packetlib.event.session.SessionAdapter;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.util.NumberUtilities; import me.chayapak1.chomens_bot.util.NumberUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.NamedTextColor;
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer; import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.song; package me.chayapak1.chomens_bot.song;
public class Instrument { public class Instrument {
public static final Instrument HARP = new Instrument(0, "harp", 54); public static final Instrument HARP = new Instrument(0, "harp", 54);

View file

@ -1,12 +1,8 @@
package me.chayapak1.chomensbot_mabe.song; package me.chayapak1.chomens_bot.song;
import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.Bot;
import me.chayapak1.chomensbot_mabe.util.DownloadUtilities;
import java.io.*; import java.io.*;
import java.net.*;
import java.nio.file.Paths;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;

View file

@ -1,6 +1,6 @@
package me.chayapak1.chomensbot_mabe.song; package me.chayapak1.chomens_bot.song;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import java.io.IOException; import java.io.IOException;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.song; package me.chayapak1.chomens_bot.song;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;

View file

@ -1,6 +1,6 @@
package me.chayapak1.chomensbot_mabe.song; package me.chayapak1.chomens_bot.song;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;

View file

@ -1,8 +1,8 @@
package me.chayapak1.chomensbot_mabe.song; package me.chayapak1.chomens_bot.song;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import lombok.Getter; import lombok.Getter;
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities; import me.chayapak1.chomens_bot.util.ComponentUtilities;
public class SongLoaderException extends Exception { public class SongLoaderException extends Exception {
@Getter private final Component message; @Getter private final Component message;

View file

@ -1,11 +1,10 @@
package me.chayapak1.chomensbot_mabe.song; package me.chayapak1.chomens_bot.song;
import me.chayapak1.chomensbot_mabe.Bot; import me.chayapak1.chomens_bot.Bot;
import me.chayapak1.chomensbot_mabe.plugins.MusicPlayerPlugin; import me.chayapak1.chomens_bot.plugins.MusicPlayerPlugin;
import me.chayapak1.chomensbot_mabe.util.DownloadUtilities; import me.chayapak1.chomens_bot.util.DownloadUtilities;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.File; import java.io.File;
import java.io.IOException;
import java.net.URL; import java.net.URL;
import java.nio.file.Path; import java.nio.file.Path;
import java.nio.file.Files; import java.nio.file.Files;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.util; package me.chayapak1.chomens_bot.util;
import com.google.gson.JsonElement; import com.google.gson.JsonElement;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.util; package me.chayapak1.chomens_bot.util;
import javax.net.ssl.KeyManager; import javax.net.ssl.KeyManager;
import javax.net.ssl.SSLContext; import javax.net.ssl.SSLContext;

View file

@ -1,6 +1,6 @@
package me.chayapak1.chomensbot_mabe.util; package me.chayapak1.chomens_bot.util;
import me.chayapak1.chomensbot_mabe.command.Command; import me.chayapak1.chomens_bot.command.Command;
import java.util.List; import java.util.List;

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.util; package me.chayapak1.chomens_bot.util;
public class NumberUtilities { public class NumberUtilities {
public static int between (int min, int max) { public static int between (int min, int max) {

View file

@ -1,4 +1,4 @@
package me.chayapak1.chomensbot_mabe.util; package me.chayapak1.chomens_bot.util;
import com.github.steveice10.opennbt.tag.builtin.IntArrayTag; import com.github.steveice10.opennbt.tag.builtin.IntArrayTag;
import java.util.UUID; import java.util.UUID;