Refactoring: org.mcteam.ancientgates -> de.craftinc.gates
This commit is contained in:
parent
139bfc7d54
commit
9067f875ce
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates;
|
||||
package de.craftinc.gates;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@ -6,7 +6,8 @@ import java.util.Set;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.Block;
|
||||
import org.mcteam.ancientgates.util.FloodUtil;
|
||||
|
||||
import de.craftinc.gates.util.FloodUtil;
|
||||
|
||||
|
||||
public abstract class BaseGate
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates;
|
||||
package de.craftinc.gates;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
@ -9,7 +9,8 @@ import java.util.Map;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.configuration.serialization.ConfigurationSerializable;
|
||||
import org.mcteam.ancientgates.util.LocationSerializer;
|
||||
|
||||
import de.craftinc.gates.util.LocationSerializer;
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates;
|
||||
package de.craftinc.gates;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@ -16,11 +16,12 @@ import org.bukkit.configuration.file.YamlConfiguration;
|
||||
import org.bukkit.configuration.serialization.ConfigurationSerialization;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.mcteam.ancientgates.commands.*;
|
||||
|
||||
import org.mcteam.ancientgates.listeners.PluginBlockListener;
|
||||
import org.mcteam.ancientgates.listeners.PluginPlayerListener;
|
||||
import org.mcteam.ancientgates.listeners.PluginPortalListener;
|
||||
|
||||
import de.craftinc.gates.commands.*;
|
||||
import de.craftinc.gates.listeners.PluginBlockListener;
|
||||
import de.craftinc.gates.listeners.PluginPlayerListener;
|
||||
import de.craftinc.gates.listeners.PluginPortalListener;
|
||||
|
||||
|
||||
public class Plugin extends JavaPlugin
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -6,9 +6,9 @@ import java.util.List;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import org.mcteam.ancientgates.util.TextUtil;
|
||||
import de.craftinc.gates.Gate;
|
||||
import de.craftinc.gates.Plugin;
|
||||
import de.craftinc.gates.util.TextUtil;
|
||||
|
||||
public abstract class BaseCommand
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
@ -1,6 +1,6 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandClose extends BaseCommand
|
@ -1,8 +1,9 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
|
||||
import de.craftinc.gates.Gate;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandCreate extends BaseLocationCommand
|
@ -1,7 +1,7 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Gate;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandDelete extends BaseCommand
|
@ -1,9 +1,10 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.mcteam.ancientgates.util.TextUtil;
|
||||
|
||||
import de.craftinc.gates.util.TextUtil;
|
||||
|
||||
public class CommandHelp extends BaseCommand
|
||||
{
|
@ -1,7 +1,8 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandInfo extends BaseCommand
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
@ -8,9 +8,9 @@ import java.util.List;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import org.mcteam.ancientgates.util.TextUtil;
|
||||
import de.craftinc.gates.Gate;
|
||||
import de.craftinc.gates.Plugin;
|
||||
import de.craftinc.gates.util.TextUtil;
|
||||
|
||||
|
||||
public class CommandList extends BaseCommand
|
@ -1,6 +1,6 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandOpen extends BaseCommand
|
@ -1,7 +1,7 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Gate;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandRename extends BaseCommand
|
@ -1,6 +1,6 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandSetExit extends BaseCommand
|
@ -1,6 +1,6 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandSetHidden extends BaseCommand
|
@ -1,8 +1,9 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandSetLocation extends BaseLocationCommand
|
@ -1,6 +1,6 @@
|
||||
package org.mcteam.ancientgates.commands;
|
||||
package de.craftinc.gates.commands;
|
||||
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class CommandSetVisible extends BaseCommand
|
@ -1,11 +1,13 @@
|
||||
package org.mcteam.ancientgates.listeners;
|
||||
package de.craftinc.gates.listeners;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.event.player.PlayerMoveEvent;
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
|
||||
import de.craftinc.gates.Gate;
|
||||
|
||||
|
||||
public abstract class BaseLocationListener
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.listeners;
|
||||
package de.craftinc.gates.listeners;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.Block;
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.listeners;
|
||||
package de.craftinc.gates.listeners;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
@ -12,8 +12,8 @@ import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.player.PlayerMoveEvent;
|
||||
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
import de.craftinc.gates.Gate;
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class PluginPlayerListener extends BaseLocationListener implements Listener
|
@ -1,10 +1,11 @@
|
||||
package org.mcteam.ancientgates.listeners;
|
||||
package de.craftinc.gates.listeners;
|
||||
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.player.PlayerPortalEvent;
|
||||
import org.mcteam.ancientgates.Gate;
|
||||
|
||||
import de.craftinc.gates.Gate;
|
||||
|
||||
public class PluginPortalListener extends BaseLocationListener implements Listener
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.util;
|
||||
package de.craftinc.gates.util;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@ -7,7 +7,9 @@ import java.util.logging.Level;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
public class FloodUtil
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.util;
|
||||
package de.craftinc.gates.util;
|
||||
|
||||
import org.bukkit.Location;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.util;
|
||||
package de.craftinc.gates.util;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@ -7,7 +7,8 @@ import org.bukkit.Location;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.World.Environment;
|
||||
import org.bukkit.WorldCreator;
|
||||
import org.mcteam.ancientgates.Plugin;
|
||||
|
||||
import de.craftinc.gates.Plugin;
|
||||
|
||||
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package org.mcteam.ancientgates.util;
|
||||
package de.craftinc.gates.util;
|
||||
|
||||
import java.util.List;
|
||||
|
Loading…
x
Reference in New Issue
Block a user