mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 03:54:19 +02:00
package name change to net.ess3
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import com.earth2me.essentials.api.IUser;
|
||||
import com.earth2me.essentials.commands.EssentialsCommand;
|
||||
import com.earth2me.essentials.commands.NotEnoughArgumentsException;
|
||||
import net.ess3.api.IUser;
|
||||
import net.ess3.commands.EssentialsCommand;
|
||||
import net.ess3.commands.NotEnoughArgumentsException;
|
||||
|
||||
|
||||
public class Commandsetxmpp extends EssentialsCommand
|
@@ -1,8 +1,8 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import com.earth2me.essentials.Console;
|
||||
import com.earth2me.essentials.commands.EssentialsCommand;
|
||||
import com.earth2me.essentials.commands.NotEnoughArgumentsException;
|
||||
import net.ess3.Console;
|
||||
import net.ess3.commands.EssentialsCommand;
|
||||
import net.ess3.commands.NotEnoughArgumentsException;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import com.earth2me.essentials.commands.EssentialsCommand;
|
||||
import com.earth2me.essentials.commands.NotEnoughArgumentsException;
|
||||
import net.ess3.commands.EssentialsCommand;
|
||||
import net.ess3.commands.NotEnoughArgumentsException;
|
||||
import java.util.List;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
@@ -1,10 +1,10 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import static com.earth2me.essentials.I18n._;
|
||||
import com.earth2me.essentials.api.ICommandHandler;
|
||||
import com.earth2me.essentials.api.IEssentials;
|
||||
import com.earth2me.essentials.api.IUser;
|
||||
import com.earth2me.essentials.commands.EssentialsCommandHandler;
|
||||
import static net.ess3.I18n._;
|
||||
import net.ess3.api.ICommandHandler;
|
||||
import net.ess3.api.IEssentials;
|
||||
import net.ess3.api.IUser;
|
||||
import net.ess3.commands.EssentialsCommandHandler;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.logging.Level;
|
||||
@@ -36,7 +36,7 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
|
||||
instance = this;
|
||||
|
||||
final PluginManager pluginManager = getServer().getPluginManager();
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials3");
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials-3");
|
||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||
{
|
||||
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
||||
@@ -56,7 +56,7 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
|
||||
ess.addReloadListener(users);
|
||||
ess.addReloadListener(xmpp);
|
||||
|
||||
commandHandler = new EssentialsCommandHandler(EssentialsXMPP.class.getClassLoader(), "com.earth2me.essentials.xmpp.Command", "essentials.", ess);
|
||||
commandHandler = new EssentialsCommandHandler(EssentialsXMPP.class.getClassLoader(), "net.ess3.xmpp.Command", "essentials.", ess);
|
||||
}
|
||||
|
||||
@Override
|
@@ -1,7 +1,7 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import com.earth2me.essentials.api.IEssentials;
|
||||
import com.earth2me.essentials.api.IUser;
|
||||
import net.ess3.api.IEssentials;
|
||||
import net.ess3.api.IUser;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
@@ -1,6 +1,6 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import com.earth2me.essentials.api.IUser;
|
||||
import net.ess3.api.IUser;
|
||||
import java.util.List;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
@@ -1,6 +1,6 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import com.earth2me.essentials.api.IReload;
|
||||
import net.ess3.api.IReload;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.*;
|
@@ -1,8 +1,8 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
package net.ess3.xmpp;
|
||||
|
||||
import com.earth2me.essentials.api.IReload;
|
||||
import com.earth2me.essentials.api.IUser;
|
||||
import com.earth2me.essentials.utils.Util;
|
||||
import net.ess3.api.IReload;
|
||||
import net.ess3.api.IUser;
|
||||
import net.ess3.utils.Util;
|
||||
import java.io.File;
|
||||
import java.util.*;
|
||||
import java.util.logging.Handler;
|
@@ -1,13 +1,13 @@
|
||||
# This determines the command prefix when there are conflicts (/name:home, /name:help, etc.)
|
||||
name: EssentialsXMPP
|
||||
main: com.earth2me.essentials.xmpp.EssentialsXMPP
|
||||
main: net.ess3.xmpp.EssentialsXMPP
|
||||
# Note to developers: This next line cannot change, or the automatic versioning system will break.
|
||||
version: ${build.number}
|
||||
website: http://tiny.cc/EssentialsWiki
|
||||
description: Provides xmpp communication.
|
||||
authors:
|
||||
- snowleo
|
||||
depend: [Essentials3]
|
||||
depend: [Essentials-3]
|
||||
commands:
|
||||
setxmpp:
|
||||
description: set your xmpp address
|
||||
|
Reference in New Issue
Block a user