forked from ChomeNS/chomens-bot-java
change chomens bot namespace yup
This commit is contained in:
parent
e1b9500309
commit
6e2eb9ec74
50 changed files with 141 additions and 147 deletions
|
@ -17,7 +17,7 @@
|
|||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>me.chayapak1.chomensbot_mabe.Main</mainClass>
|
||||
<mainClass>me.chayapak1.chomens_bot.Main</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -108,7 +108,7 @@
|
|||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>me.chayapak1.chomensbot_mabe.Main</mainClass>
|
||||
<mainClass>me.chayapak1.chomens_bot.Main</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
|
|
|
@ -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.packet.ingame.clientbound.ClientboundLoginPacket;
|
||||
|
@ -8,7 +8,7 @@ import com.github.steveice10.packetlib.packet.Packet;
|
|||
import com.github.steveice10.packetlib.tcp.TcpClientSession;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import me.chayapak1.chomensbot_mabe.plugins.*;
|
||||
import me.chayapak1.chomens_bot.plugins.*;
|
||||
import org.apache.commons.lang3.RandomStringUtils;
|
||||
|
||||
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
|||
package me.chayapak1.chomensbot_mabe;
|
||||
package me.chayapak1.chomens_bot;
|
||||
|
||||
import lombok.Getter;
|
||||
|
|
@ -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.constructor.Constructor;
|
||||
|
|
@ -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.chomensbot_mabe.chatParsers.data.PlayerMessage;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.TranslatableComponent;
|
||||
|
|
@ -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.chomensbot_mabe.chatParsers.data.PlayerMessage;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.TextComponent;
|
||||
import net.kyori.adventure.text.TranslatableComponent;
|
|
@ -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.chomensbot_mabe.chatParsers.data.PlayerMessage;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.TranslatableComponent;
|
||||
import net.kyori.adventure.text.event.HoverEvent;
|
|
@ -1,4 +1,4 @@
|
|||
package me.chayapak1.chomensbot_mabe.chatParsers.data;
|
||||
package me.chayapak1.chomens_bot.chatParsers.data;
|
||||
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package me.chayapak1.chomensbot_mabe.chatParsers.data;
|
||||
package me.chayapak1.chomens_bot.chatParsers.data;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.AllArgsConstructor;
|
|
@ -1,4 +1,4 @@
|
|||
package me.chayapak1.chomensbot_mabe.command;
|
||||
package me.chayapak1.chomens_bot.command;
|
||||
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package me.chayapak1.chomensbot_mabe.command;
|
||||
package me.chayapak1.chomens_bot.command;
|
||||
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
public class CommandContext {
|
|
@ -1,8 +1,7 @@
|
|||
package me.chayapak1.chomensbot_mabe.command;
|
||||
package me.chayapak1.chomens_bot.command;
|
||||
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.util.ComponentUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package me.chayapak1.chomensbot_mabe.command;
|
||||
package me.chayapak1.chomens_bot.command;
|
||||
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
public class PlayerCommandContext extends CommandContext {
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
import java.util.ArrayList;
|
|
@ -1,8 +1,8 @@
|
|||
package me.chayapak1.chomensbot_mabe.commands;
|
||||
package me.chayapak1.chomens_bot.commands;
|
||||
|
||||
import com.github.ricksbrown.cowsay.plugin.CowExecutor;
|
||||
import me.chayapak1.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
import java.util.ArrayList;
|
|
@ -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.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
|
|
@ -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.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.event.ClickEvent;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
import java.util.ArrayList;
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.JoinConfiguration;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomensbot_mabe.plugins.MusicPlayerPlugin;
|
||||
import me.chayapak1.chomensbot_mabe.song.Song;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.plugins.MusicPlayerPlugin;
|
||||
import me.chayapak1.chomens_bot.song.Song;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.JoinConfiguration;
|
||||
import net.kyori.adventure.text.event.ClickEvent;
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities;
|
||||
import me.chayapak1.chomensbot_mabe.util.NumberUtilities;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.util.ComponentUtilities;
|
||||
import me.chayapak1.chomens_bot.util.NumberUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
|
|
@ -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.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
|
|
@ -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.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
import java.util.ArrayList;
|
|
@ -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.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package me.chayapak1.chomensbot_mabe.plugins;
|
||||
package me.chayapak1.chomens_bot.plugins;
|
||||
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.chatParsers.data.PlayerMessage;
|
||||
import me.chayapak1.chomensbot_mabe.command.PlayerCommandContext;
|
||||
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
|
||||
import me.chayapak1.chomens_bot.command.PlayerCommandContext;
|
||||
import me.chayapak1.chomens_bot.util.ComponentUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.TextComponent;
|
||||
|
|
@ -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.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.event.session.SessionAdapter;
|
||||
import com.github.steveice10.packetlib.packet.Packet;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.chatParsers.ChomeNSCustomChatParser;
|
||||
import me.chayapak1.chomensbot_mabe.chatParsers.KaboomChatParser;
|
||||
import me.chayapak1.chomensbot_mabe.chatParsers.MinecraftChatParser;
|
||||
import me.chayapak1.chomensbot_mabe.chatParsers.data.ChatParser;
|
||||
import me.chayapak1.chomensbot_mabe.chatParsers.data.PlayerMessage;
|
||||
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities;
|
||||
import me.chayapak1.chomensbot_mabe.util.UUIDUtilities;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.chatParsers.ChomeNSCustomChatParser;
|
||||
import me.chayapak1.chomens_bot.chatParsers.KaboomChatParser;
|
||||
import me.chayapak1.chomens_bot.chatParsers.MinecraftChatParser;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.ChatParser;
|
||||
import me.chayapak1.chomens_bot.chatParsers.data.PlayerMessage;
|
||||
import me.chayapak1.chomens_bot.util.ComponentUtilities;
|
||||
import me.chayapak1.chomens_bot.util.UUIDUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.TranslatableComponent;
|
||||
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
|
@ -1,10 +1,10 @@
|
|||
package me.chayapak1.chomensbot_mabe.plugins;
|
||||
package me.chayapak1.chomens_bot.plugins;
|
||||
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.command.Command;
|
||||
import me.chayapak1.chomensbot_mabe.command.CommandContext;
|
||||
import me.chayapak1.chomensbot_mabe.commands.*;
|
||||
import me.chayapak1.chomensbot_mabe.util.ElementUtilities;
|
||||
import me.chayapak1.chomens_bot.command.Command;
|
||||
import me.chayapak1.chomens_bot.command.CommandContext;
|
||||
import me.chayapak1.chomens_bot.commands.*;
|
||||
import me.chayapak1.chomens_bot.util.ElementUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.event.HoverEvent;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
|
@ -1,8 +1,8 @@
|
|||
package me.chayapak1.chomensbot_mabe.plugins;
|
||||
package me.chayapak1.chomens_bot.plugins;
|
||||
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.command.ConsoleCommandContext;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.command.ConsoleCommandContext;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.TextComponent;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
|
@ -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.object.Direction;
|
||||
|
@ -16,7 +16,7 @@ import com.github.steveice10.opennbt.tag.builtin.Tag;
|
|||
import com.github.steveice10.packetlib.Session;
|
||||
import com.nukkitx.math.vector.Vector3i;
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
|
||||
import java.util.*;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package me.chayapak1.chomensbot_mabe.plugins;
|
||||
package me.chayapak1.chomens_bot.plugins;
|
||||
|
||||
import com.google.common.hash.Hashing;
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Timer;
|
|
@ -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.DisconnectedEvent;
|
||||
import com.github.steveice10.packetlib.event.session.SessionAdapter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.util.ComponentUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
public class LoggerPlugin extends ChatPlugin.ChatListener {
|
|
@ -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.SessionAdapter;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.song.Note;
|
||||
import me.chayapak1.chomensbot_mabe.song.Song;
|
||||
import me.chayapak1.chomensbot_mabe.song.SongLoaderException;
|
||||
import me.chayapak1.chomensbot_mabe.song.SongLoaderThread;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.song.Note;
|
||||
import me.chayapak1.chomens_bot.song.Song;
|
||||
import me.chayapak1.chomens_bot.song.SongLoaderException;
|
||||
import me.chayapak1.chomens_bot.song.SongLoaderThread;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
|
@ -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.serverbound.level.ServerboundAcceptTeleportationPacket;
|
||||
|
@ -7,7 +7,7 @@ import com.github.steveice10.packetlib.event.session.SessionAdapter;
|
|||
import com.github.steveice10.packetlib.packet.Packet;
|
||||
import com.nukkitx.math.vector.Vector3i;
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -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.data.ProtocolState;
|
||||
|
@ -18,8 +18,8 @@ import com.github.steveice10.packetlib.packet.Packet;
|
|||
import com.github.steveice10.packetlib.packet.PacketProtocol;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.Configuration;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.Configuration;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
import java.util.Timer;
|
|
@ -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.level.ClientboundSetTimePacket;
|
||||
import com.github.steveice10.packetlib.Session;
|
||||
import com.github.steveice10.packetlib.event.session.SessionAdapter;
|
||||
import com.github.steveice10.packetlib.packet.Packet;
|
||||
import me.chayapak1.chomensbot_mabe.Bot;
|
||||
import me.chayapak1.chomensbot_mabe.util.NumberUtilities;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.util.NumberUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
|
@ -1,4 +1,4 @@
|
|||
package me.chayapak1.chomensbot_mabe.song;
|
||||
package me.chayapak1.chomens_bot.song;
|
||||
|
||||
public class Instrument {
|
||||
public static final Instrument HARP = new Instrument(0, "harp", 54);
|
|
@ -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.net.*;
|
||||
import java.nio.file.Paths;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
|
@ -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.nio.ByteBuffer;
|
|
@ -1,4 +1,4 @@
|
|||
package me.chayapak1.chomensbot_mabe.song;
|
||||
package me.chayapak1.chomens_bot.song;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
|
@ -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 java.util.ArrayList;
|
||||
import java.util.Collections;
|
|
@ -1,8 +1,8 @@
|
|||
package me.chayapak1.chomensbot_mabe.song;
|
||||
package me.chayapak1.chomens_bot.song;
|
||||
|
||||
import net.kyori.adventure.text.Component;
|
||||
import lombok.Getter;
|
||||
import me.chayapak1.chomensbot_mabe.util.ComponentUtilities;
|
||||
import me.chayapak1.chomens_bot.util.ComponentUtilities;
|
||||
|
||||
public class SongLoaderException extends Exception {
|
||||
@Getter private final Component message;
|
|
@ -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.chomensbot_mabe.plugins.MusicPlayerPlugin;
|
||||
import me.chayapak1.chomensbot_mabe.util.DownloadUtilities;
|
||||
import me.chayapak1.chomens_bot.Bot;
|
||||
import me.chayapak1.chomens_bot.plugins.MusicPlayerPlugin;
|
||||
import me.chayapak1.chomens_bot.util.DownloadUtilities;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Files;
|
|
@ -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.JsonObject;
|
|
@ -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.SSLContext;
|
|
@ -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;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package me.chayapak1.chomensbot_mabe.util;
|
||||
package me.chayapak1.chomens_bot.util;
|
||||
|
||||
public class NumberUtilities {
|
||||
public static int between (int min, int max) {
|
|
@ -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 java.util.UUID;
|
Loading…
Reference in a new issue