Renamed package

This commit is contained in:
Norbi Peti 2016-07-05 00:29:12 +02:00
parent 07b5541d8d
commit f1d0da594a
49 changed files with 126 additions and 128 deletions

View file

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

View file

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

View file

@ -1,6 +1,4 @@
package io.github.norbipeti.thebuttonmcchat;
import io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin.DebugCommand;
package buttondevteam.thebuttonmcchat;
import java.util.ArrayList;
import java.util.Collection;
@ -9,6 +7,8 @@ import java.util.function.Predicate;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import buttondevteam.thebuttonmcchat.commands.ucmds.admin.DebugCommand;
public final class ChatFormatter {
private Pattern regex;
private Format format;

View file

@ -1,7 +1,4 @@
package io.github.norbipeti.thebuttonmcchat;
import io.github.norbipeti.thebuttonmcchat.ChatFormatter.Priority;
import io.github.norbipeti.thebuttonmcchat.commands.UnlolCommand;
package buttondevteam.thebuttonmcchat;
import java.util.ArrayList;
import java.util.regex.Pattern;
@ -18,6 +15,9 @@ 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.Priority;
import buttondevteam.thebuttonmcchat.commands.UnlolCommand;
public class ChatProcessing {
private static boolean pingedconsole = false;

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
package io.github.norbipeti.thebuttonmcchat;
package buttondevteam.thebuttonmcchat;
import java.util.TimerTask;

View file

@ -1,6 +1,4 @@
package io.github.norbipeti.thebuttonmcchat;
import io.github.norbipeti.thebuttonmcchat.commands.ucmds.KittycannonCommand;
package buttondevteam.thebuttonmcchat;
import java.io.File;
import java.io.IOException;
@ -43,6 +41,7 @@ import org.bukkit.util.Vector;
import au.com.mineauz.minigames.MinigamePlayer;
import au.com.mineauz.minigames.Minigames;
import buttondevteam.thebuttonmcchat.commands.ucmds.KittycannonCommand;
import com.earth2me.essentials.Essentials;
import com.palmergames.bukkit.towny.exceptions.NotRegisteredException;

View file

@ -1,4 +1,4 @@
package io.github.norbipeti.thebuttonmcchat;
package buttondevteam.thebuttonmcchat;
import net.milkbowl.vault.chat.Chat;
import net.milkbowl.vault.economy.Economy;
@ -19,13 +19,13 @@ import org.json.JSONArray;
import org.json.JSONObject;
import au.com.mineauz.minigames.mechanics.GameMechanics;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import com.palmergames.bukkit.towny.Towny;
import com.palmergames.bukkit.towny.object.Nation;
import com.palmergames.bukkit.towny.object.Town;
import com.palmergames.bukkit.towny.object.TownyUniverse;
import io.github.norbipeti.thebuttonmcchat.commands.CommandCaller;
import java.io.*;
import java.lang.String;
import java.lang.reflect.Method;

View file

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

View file

@ -1,4 +1,4 @@
package io.github.norbipeti.thebuttonmcchat;
package buttondevteam.thebuttonmcchat;
import java.util.ArrayList;
import java.util.HashMap;

View file

@ -1,11 +1,11 @@
package io.github.norbipeti.thebuttonmcchat.commands;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
package buttondevteam.thebuttonmcchat.commands;
import org.bukkit.GameMode;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public final class ChatonlyCommand extends TBMCCommandBase {
@Override

View file

@ -1,6 +1,4 @@
package io.github.norbipeti.thebuttonmcchat.commands;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
@ -20,6 +18,8 @@ import org.reflections.scanners.SubTypesScanner;
import org.reflections.util.ClasspathHelper;
import org.reflections.util.ConfigurationBuilder;
import buttondevteam.thebuttonmcchat.PluginMain;
public class CommandCaller implements CommandExecutor {
private CommandCaller() {

View file

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

View file

@ -1,10 +1,10 @@
package io.github.norbipeti.thebuttonmcchat.commands;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
package buttondevteam.thebuttonmcchat.commands;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public final class OOCCommand extends TBMCCommandBase {
@Override

View file

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

View file

@ -1,6 +1,4 @@
package io.github.norbipeti.thebuttonmcchat.commands;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
@ -8,6 +6,8 @@ import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import buttondevteam.thebuttonmcchat.PluginMain;
public final class UnlolCommand extends TBMCCommandBase {
public static CommandSender Lastlol = null;

View file

@ -1,10 +1,10 @@
package io.github.norbipeti.thebuttonmcchat.commands;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.PluginMain;
public class YeehawCommand extends TBMCCommandBase {
@Override

View file

@ -1,10 +1,10 @@
package io.github.norbipeti.thebuttonmcchat.commands.appendtext;
import io.github.norbipeti.thebuttonmcchat.ChatProcessing;
import io.github.norbipeti.thebuttonmcchat.commands.TBMCCommandBase;
package buttondevteam.thebuttonmcchat.commands.appendtext;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.ChatProcessing;
import buttondevteam.thebuttonmcchat.commands.TBMCCommandBase;
public abstract class AppendTextCommandBase extends TBMCCommandBase {
public abstract String[] GetHelpText(String alias);

View file

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

View file

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

View file

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

View file

@ -1,15 +1,15 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds;
import io.github.norbipeti.thebuttonmcchat.FlairStates;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
import io.github.norbipeti.thebuttonmcchat.PlayerJoinTimerTask;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.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.TBMCPlayer;
public class AcceptCommand extends UCommandBase {
@Override

View file

@ -1,12 +1,12 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds;
import io.github.norbipeti.thebuttonmcchat.ChatFormatter;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.ChatFormatter;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public class CCommand extends UCommandBase {
@Override

View file

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

View file

@ -1,11 +1,11 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds;
import io.github.norbipeti.thebuttonmcchat.FlairStates;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
package buttondevteam.thebuttonmcchat.commands.ucmds;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.FlairStates;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public final class IgnoreCommand extends UCommandBase {
@Override

View file

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

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
package buttondevteam.thebuttonmcchat.commands.ucmds;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public class NameCommand extends UCommandBase {
@Override

View file

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

View file

@ -1,10 +1,10 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds;
import io.github.norbipeti.thebuttonmcchat.commands.CommandCaller;
import io.github.norbipeti.thebuttonmcchat.commands.TBMCCommandBase;
package buttondevteam.thebuttonmcchat.commands.ucmds;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.TBMCCommandBase;
public final class UCommand extends TBMCCommandBase {
@Override

View file

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

View file

@ -1,10 +1,10 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin;
import io.github.norbipeti.thebuttonmcchat.commands.CommandCaller;
import io.github.norbipeti.thebuttonmcchat.commands.ucmds.UCommandBase;
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.ucmds.UCommandBase;
public final class AdminCommand extends UCommandBase {
@Override

View file

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

View file

@ -1,11 +1,11 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.PluginMain;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public class ConfirmCommand extends AdminCommandBase {
@Override

View file

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

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class GetLastErrorCommand extends AdminCommandBase {
@Override

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public class PlayerInfoCommand extends AdminCommandBase {
@Override

View file

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

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class SaveCommand extends AdminCommandBase {
@Override

View file

@ -1,12 +1,12 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin;
import io.github.norbipeti.thebuttonmcchat.FlairStates;
import io.github.norbipeti.thebuttonmcchat.TBMCPlayer;
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import buttondevteam.thebuttonmcchat.FlairStates;
import buttondevteam.thebuttonmcchat.TBMCPlayer;
public class SetFlairCommand extends AdminCommandBase {
@Override

View file

@ -1,6 +1,4 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.admin;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.admin;
import java.io.File;
import java.io.IOException;
@ -10,6 +8,8 @@ import java.net.URL;
import org.apache.commons.io.FileUtils;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class UpdatePlugin extends AdminCommandBase {
@Override

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.announce;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class AddCommand extends AnnounceCommandBase {
@Override

View file

@ -1,10 +1,10 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.announce;
import io.github.norbipeti.thebuttonmcchat.commands.CommandCaller;
import io.github.norbipeti.thebuttonmcchat.commands.ucmds.UCommandBase;
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.commands.CommandCaller;
import buttondevteam.thebuttonmcchat.commands.ucmds.UCommandBase;
public class AnnounceCommand extends UCommandBase {
@Override

View file

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

View file

@ -1,10 +1,10 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.announce;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
import org.bukkit.command.BlockCommandSender;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class EditCommand extends AnnounceCommandBase {
@Override

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.announce;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class ListCommand extends AnnounceCommandBase {
@Override

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.announce;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class RemoveCommand extends AnnounceCommandBase {
@Override

View file

@ -1,9 +1,9 @@
package io.github.norbipeti.thebuttonmcchat.commands.ucmds.announce;
import io.github.norbipeti.thebuttonmcchat.PluginMain;
package buttondevteam.thebuttonmcchat.commands.ucmds.announce;
import org.bukkit.command.CommandSender;
import buttondevteam.thebuttonmcchat.PluginMain;
public class SetTimeCommand extends AnnounceCommandBase {
@Override