mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 17:45:08 +02:00
Fix depends
This commit is contained in:
@@ -22,7 +22,7 @@ public class EssentialsChat extends JavaPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
final PluginManager pluginManager = getServer().getPluginManager();
|
||||
final IEssentials ess = (IEssentials)pluginManager.getPlugin("Essentials");
|
||||
final IEssentials ess = (IEssentials)pluginManager.getPlugin("Essentials3");
|
||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||
{
|
||||
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
||||
|
@@ -6,5 +6,5 @@ version: TeamCity
|
||||
website: http://tiny.cc/EssentialsWiki
|
||||
description: Provides chat control features for Essentials. Requires Permissions.
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, Okamosy]
|
||||
depend: [Essentials]
|
||||
depend: [Essentials3]
|
||||
#softdepend: [Factions]
|
@@ -22,7 +22,7 @@ public class EssentialsGeoIP extends JavaPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
final PluginManager pm = getServer().getPluginManager();
|
||||
final IEssentials ess = (IEssentials)pm.getPlugin("Essentials");
|
||||
final IEssentials ess = (IEssentials)pm.getPlugin("Essentials3");
|
||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||
{
|
||||
getLogger().log(Level.WARNING, _("versionMismatchAll"));
|
||||
|
@@ -5,5 +5,5 @@ main: com.earth2me.essentials.geoip.EssentialsGeoIP
|
||||
version: TeamCity
|
||||
website: http://tiny.cc/EssentialsWiki
|
||||
description: Shows the country or city of a user on login and /whois.
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology]
|
||||
depend: [Essentials]
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits]
|
||||
depend: [Essentials3]
|
@@ -38,7 +38,7 @@ public class EssentialsProtect extends JavaPlugin implements IProtect
|
||||
public void onEnable()
|
||||
{
|
||||
final PluginManager pm = this.getServer().getPluginManager();
|
||||
final Plugin essPlugin = pm.getPlugin("Essentials");
|
||||
final Plugin essPlugin = pm.getPlugin("Essentials3");
|
||||
if (essPlugin == null || !essPlugin.isEnabled())
|
||||
{
|
||||
enableEmergencyMode(pm);
|
||||
|
@@ -6,4 +6,4 @@ version: TeamCity
|
||||
website: http://tiny.cc/EssentialsWiki
|
||||
description: Provides protection for various parts of the world.
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits]
|
||||
softdepend: [Essentials]
|
||||
softdepend: [Essentials3]
|
@@ -18,7 +18,7 @@ public class EssentialsSignsPlugin extends JavaPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
final PluginManager pluginManager = getServer().getPluginManager();
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials");
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials3");
|
||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||
{
|
||||
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
||||
|
@@ -6,4 +6,4 @@ version: TeamCity
|
||||
website: http://tiny.cc/EssentialsWiki
|
||||
description: Provides signs, utilizing Essentials.
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits]
|
||||
depend: [Essentials]
|
||||
depend: [Essentials3]
|
@@ -29,7 +29,7 @@ public class EssentialsSpawn extends JavaPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
final PluginManager pluginManager = getServer().getPluginManager();
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials");
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials3");
|
||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||
{
|
||||
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
||||
|
@@ -6,7 +6,7 @@ version: TeamCity
|
||||
website: http://tiny.cc/EssentialsWiki
|
||||
description: Provides spawn control commands, utilizing Essentials.
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits]
|
||||
depend: [Essentials]
|
||||
depend: [Essentials3]
|
||||
commands:
|
||||
setspawn:
|
||||
description: Set the spawnpoint to your current position.
|
||||
|
@@ -36,7 +36,7 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
|
||||
instance = this;
|
||||
|
||||
final PluginManager pluginManager = getServer().getPluginManager();
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials");
|
||||
ess = (IEssentials)pluginManager.getPlugin("Essentials3");
|
||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||
{
|
||||
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
||||
|
@@ -7,7 +7,7 @@ website: http://tiny.cc/EssentialsWiki
|
||||
description: Provides xmpp communication.
|
||||
authors:
|
||||
- snowleo
|
||||
depend: [Essentials]
|
||||
depend: [Essentials3]
|
||||
commands:
|
||||
setxmpp:
|
||||
description: set your xmpp address
|
||||
|
Reference in New Issue
Block a user