Renamed package...

This commit is contained in:
Norbi Peti 2016-09-08 16:23:44 +02:00
parent 842df1c85a
commit abbad506cc
55 changed files with 110 additions and 110 deletions

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import org.bukkit.entity.Player;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
public class Channel {
public final String DisplayName;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.ArrayList;
import java.util.List;
@ -6,7 +6,7 @@ import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import buttondevteam.thebuttonmcchat.commands.ucmds.admin.DebugCommand;
import buttondevteam.chat.commands.ucmds.admin.DebugCommand;
public final class ChatFormatter {
private Pattern regex;

View file

@ -1,11 +1,11 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.function.Function;
import java.util.regex.Pattern;
import buttondevteam.thebuttonmcchat.ChatFormatter.Color;
import buttondevteam.thebuttonmcchat.ChatFormatter.Format;
import buttondevteam.thebuttonmcchat.ChatFormatter.Priority;
import buttondevteam.chat.ChatFormatter.Color;
import buttondevteam.chat.ChatFormatter.Format;
import buttondevteam.chat.ChatFormatter.Priority;
public class ChatFormatterBuilder {
private Pattern regex;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.HashMap;
import java.util.List;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.ArrayList;
import java.util.regex.Pattern;
@ -19,10 +19,10 @@ import com.palmergames.bukkit.towny.object.Nation;
import com.palmergames.bukkit.towny.object.Resident;
import com.palmergames.bukkit.towny.object.Town;
import buttondevteam.thebuttonmcchat.ChatFormatter.Color;
import buttondevteam.thebuttonmcchat.ChatFormatter.Priority;
import buttondevteam.thebuttonmcchat.commands.UnlolCommand;
import buttondevteam.thebuttonmcchat.commands.ucmds.admin.DebugCommand;
import buttondevteam.chat.ChatFormatter.Color;
import buttondevteam.chat.ChatFormatter.Priority;
import buttondevteam.chat.commands.UnlolCommand;
import buttondevteam.chat.commands.ucmds.admin.DebugCommand;
public class ChatProcessing {
private static final Pattern CONSOLE_PING_PATTERN = Pattern.compile("(?i)" + Pattern.quote("@console"));

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.EnumSet;
import java.util.List;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
public enum FlairStates {
Accepted, Ignored, Recognised, Commented, NoComment

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.ArrayList;
import java.util.Collection;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.TimerTask;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.util.ArrayList;
import java.util.Random;
@ -40,7 +40,7 @@ import buttondevteam.bucket.core.TBMCPlayerAddEvent;
import buttondevteam.bucket.core.TBMCPlayerJoinEvent;
import buttondevteam.bucket.core.TBMCPlayerLoadEvent;
import buttondevteam.bucket.core.TBMCPlayerSaveEvent;
import buttondevteam.thebuttonmcchat.commands.ucmds.KittycannonCommand;
import buttondevteam.chat.commands.ucmds.KittycannonCommand;
import com.earth2me.essentials.Essentials;
import com.google.common.collect.BiMap;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import net.milkbowl.vault.chat.Chat;
import net.milkbowl.vault.economy.Economy;
@ -19,7 +19,7 @@ import org.json.JSONObject;
import au.com.mineauz.minigames.mechanics.GameMechanics;
import buttondevteam.bucket.core.TBMCCoreAPI;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.chat.commands.CommandCaller;
import com.palmergames.bukkit.towny.Towny;
import com.palmergames.bukkit.towny.object.Nation;

View file

@ -1,10 +1,10 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import org.bukkit.plugin.java.JavaPlugin;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.TBMCCommandBase;
import buttondevteam.thebuttonmcchat.commands.ucmds.admin.PlayerInfoCommand;
import buttondevteam.chat.commands.CommandCaller;
import buttondevteam.chat.commands.TBMCCommandBase;
import buttondevteam.chat.commands.ucmds.admin.PlayerInfoCommand;
public class TBMCChatAPI {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.io.Serializable;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.io.Serializable;
import java.util.ArrayList;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
public interface TellrawSerializableEnum {
public String getName();

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat;
package buttondevteam.chat;
import java.io.IOException;

View file

@ -1,10 +1,10 @@
package buttondevteam.thebuttonmcchat.commands;
package buttondevteam.chat.commands;
import org.bukkit.GameMode;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
public final class ChatonlyCommand extends TBMCCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands;
package buttondevteam.chat.commands;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
@ -18,7 +18,7 @@ import org.reflections.scanners.SubTypesScanner;
import org.reflections.util.ClasspathHelper;
import org.reflections.util.ConfigurationBuilder;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class CommandCaller implements CommandExecutor {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands;
package buttondevteam.chat.commands;
import org.bukkit.command.CommandSender;

View file

@ -1,9 +1,9 @@
package buttondevteam.thebuttonmcchat.commands;
package buttondevteam.chat.commands;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
public final class OOCCommand extends TBMCCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands;
package buttondevteam.chat.commands;
import org.bukkit.command.CommandSender;

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands;
package buttondevteam.chat.commands;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
@ -6,7 +6,7 @@ import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public final class UnlolCommand extends TBMCCommandBase {

View file

@ -1,9 +1,9 @@
package buttondevteam.thebuttonmcchat.commands;
package buttondevteam.chat.commands;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class YeehawCommand extends TBMCCommandBase {

View file

@ -1,9 +1,9 @@
package buttondevteam.thebuttonmcchat.commands.appendtext;
package buttondevteam.chat.commands.appendtext;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.ChatProcessing;
import buttondevteam.thebuttonmcchat.commands.TBMCCommandBase;
import buttondevteam.chat.ChatProcessing;
import buttondevteam.chat.commands.TBMCCommandBase;
public abstract class AppendTextCommandBase extends TBMCCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands.appendtext;
package buttondevteam.chat.commands.appendtext;
public final class ShrugCommand extends AppendTextCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands.appendtext;
package buttondevteam.chat.commands.appendtext;
public final class TableflipCommand extends AppendTextCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands.appendtext;
package buttondevteam.chat.commands.appendtext;
public final class UnflipCommand extends AppendTextCommandBase {

View file

@ -1,14 +1,14 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import java.util.Timer;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.FlairStates;
import buttondevteam.thebuttonmcchat.PlayerJoinTimerTask;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
import buttondevteam.chat.FlairStates;
import buttondevteam.chat.PlayerJoinTimerTask;
import buttondevteam.chat.PluginMain;
public class AcceptCommand extends UCommandBase {

View file

@ -1,11 +1,11 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.ChatFormatter;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatFormatter;
import buttondevteam.chat.ChatPlayer;
import buttondevteam.chat.PluginMain;
public class CCommand extends UCommandBase {

View file

@ -1,11 +1,11 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import java.util.ArrayList;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.TBMCCommandBase;
import buttondevteam.chat.commands.CommandCaller;
import buttondevteam.chat.commands.TBMCCommandBase;
public final class HelpCommand extends UCommandBase {

View file

@ -1,10 +1,10 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.FlairStates;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
import buttondevteam.chat.FlairStates;
public final class IgnoreCommand extends UCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import java.util.ArrayList;
import java.util.Random;
@ -16,7 +16,7 @@ import org.bukkit.potion.PotionEffectType;
import au.com.mineauz.minigames.MinigamePlayer;
import au.com.mineauz.minigames.Minigames;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
import com.earth2me.essentials.Mob;
import com.earth2me.essentials.Mob.MobException;

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
public class NameCommand extends UCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import org.bukkit.command.CommandSender;

View file

@ -1,9 +1,9 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.TBMCCommandBase;
import buttondevteam.chat.commands.CommandCaller;
import buttondevteam.chat.commands.TBMCCommandBase;
public final class UCommand extends TBMCCommandBase {

View file

@ -1,6 +1,6 @@
package buttondevteam.thebuttonmcchat.commands.ucmds;
package buttondevteam.chat.commands.ucmds;
import buttondevteam.thebuttonmcchat.commands.TBMCCommandBase;
import buttondevteam.chat.commands.TBMCCommandBase;
public abstract class UCommandBase extends TBMCCommandBase {

View file

@ -1,9 +1,9 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.ucmds.UCommandBase;
import buttondevteam.chat.commands.CommandCaller;
import buttondevteam.chat.commands.ucmds.UCommandBase;
public final class AdminCommand extends UCommandBase {

View file

@ -1,6 +1,6 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import buttondevteam.thebuttonmcchat.commands.ucmds.UCommandBase;
import buttondevteam.chat.commands.ucmds.UCommandBase;
public abstract class AdminCommandBase extends UCommandBase {

View file

@ -1,10 +1,10 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
import buttondevteam.chat.PluginMain;
public class ConfirmCommand extends AdminCommandBase {

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class DebugCommand extends AdminCommandBase {
private static boolean DebugMode = false;

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class GetLastErrorCommand extends AdminCommandBase {

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
public class PlayerInfoCommand extends AdminCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class SaveCommand extends AdminCommandBase {

View file

@ -1,11 +1,11 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.FlairStates;
import buttondevteam.thebuttonmcchat.ChatPlayer;
import buttondevteam.chat.ChatPlayer;
import buttondevteam.chat.FlairStates;
public class SetFlairCommand extends AdminCommandBase {

View file

@ -1,4 +1,4 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
package buttondevteam.chat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.bucket.core.TBMCCoreAPI;

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
package buttondevteam.chat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class AddCommand extends AnnounceCommandBase {

View file

@ -1,9 +1,9 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
package buttondevteam.chat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.ucmds.UCommandBase;
import buttondevteam.chat.commands.CommandCaller;
import buttondevteam.chat.commands.ucmds.UCommandBase;
public class AnnounceCommand extends UCommandBase {

View file

@ -1,6 +1,6 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
package buttondevteam.chat.commands.ucmds.announce;
import buttondevteam.thebuttonmcchat.commands.ucmds.UCommandBase;
import buttondevteam.chat.commands.ucmds.UCommandBase;
public abstract class AnnounceCommandBase extends UCommandBase {

View file

@ -1,9 +1,9 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
package buttondevteam.chat.commands.ucmds.announce;
import org.bukkit.command.BlockCommandSender;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class EditCommand extends AnnounceCommandBase {

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
package buttondevteam.chat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class ListCommand extends AnnounceCommandBase {

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
package buttondevteam.chat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class RemoveCommand extends AnnounceCommandBase {

View file

@ -1,8 +1,8 @@
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
package buttondevteam.chat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.chat.PluginMain;
public class SetTimeCommand extends AnnounceCommandBase {