Refactoring: org.mcteam.ancientgates -> de.craftinc.gates

This commit is contained in:
Tobias Ottenweller 2012-11-04 19:29:14 +01:00
parent 139bfc7d54
commit 9067f875ce
25 changed files with 70 additions and 57 deletions

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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
{

View File

@ -1,4 +1,4 @@
package org.mcteam.ancientgates.commands;
package de.craftinc.gates.commands;
import org.bukkit.Location;
import org.bukkit.Material;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
{

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
{

View File

@ -1,4 +1,4 @@
package org.mcteam.ancientgates.listeners;
package de.craftinc.gates.listeners;
import org.bukkit.Material;
import org.bukkit.block.Block;

View File

@ -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

View File

@ -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
{

View File

@ -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
{

View File

@ -1,4 +1,4 @@
package org.mcteam.ancientgates.util;
package de.craftinc.gates.util;
import org.bukkit.Location;

View File

@ -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;
/**

View File

@ -1,4 +1,4 @@
package org.mcteam.ancientgates.util;
package de.craftinc.gates.util;
import java.util.List;