1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-26 07:54:41 +02:00

Change namespace from com.earth2me to org.mcess - net.ess3.api changes still required

This commit is contained in:
ementalo
2015-04-11 21:47:56 +01:00
parent ce8313bd68
commit 9e6c686c29
334 changed files with 1788 additions and 1816 deletions

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.ess3</groupId>
<groupId>org.mcess</groupId>
<artifactId>EssentialsParent</artifactId>
<version>2.x-SNAPSHOT</version>
</parent>
@@ -43,7 +43,7 @@
<dependencies>
<dependency>
<groupId>net.ess3</groupId>
<groupId>org.mcess</groupId>
<artifactId>Essentials</artifactId>
<version>${project.version}</version>
</dependency>

View File

@@ -1,4 +1,4 @@
package com.earth2me.essentials.antibuild;
package org.mcess.essentials.antibuild;
public enum AntiBuildConfig

View File

@@ -1,4 +1,4 @@
package com.earth2me.essentials.antibuild;
package org.mcess.essentials.antibuild;
import java.util.EnumMap;
import java.util.List;

View File

@@ -1,7 +1,7 @@
package com.earth2me.essentials.antibuild;
package org.mcess.essentials.antibuild;
import static com.earth2me.essentials.I18n.tl;
import com.earth2me.essentials.User;
import static org.mcess.essentials.I18n.tl;
import org.mcess.essentials.User;
import net.ess3.api.IEssentials;
import java.util.logging.Level;
import org.bukkit.Material;

View File

@@ -1,14 +1,14 @@
package com.earth2me.essentials.antibuild;
package org.mcess.essentials.antibuild;
import com.earth2me.essentials.IConf;
import com.earth2me.essentials.User;
import static com.earth2me.essentials.I18n.tl;
import org.mcess.essentials.IConf;
import org.mcess.essentials.User;
import net.ess3.api.IEssentials;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.mcess.essentials.I18n;
public class EssentialsConnect
@@ -21,7 +21,7 @@ public class EssentialsConnect
{
if (!essProtect.getDescription().getVersion().equals(essPlugin.getDescription().getVersion()))
{
LOGGER.log(Level.WARNING, tl("versionMismatchAll"));
LOGGER.log(Level.WARNING, I18n.tl("versionMismatchAll"));
}
ess = (IEssentials)essPlugin;
protect = (IAntiBuild)essProtect;
@@ -42,9 +42,9 @@ public class EssentialsConnect
public void alert(final User user, final String item, final String type)
{
final Location loc = user.getLocation();
final String warnMessage = tl("alertFormat", user.getName(), type, item,
loc.getWorld().getName() + "," + loc.getBlockX() + ","
+ loc.getBlockY() + "," + loc.getBlockZ());
final String warnMessage = I18n.tl("alertFormat", user.getName(), type, item,
loc.getWorld().getName() + "," + loc.getBlockX() + ","
+ loc.getBlockY() + "," + loc.getBlockZ());
LOGGER.log(Level.WARNING, warnMessage);
for (Player p : ess.getServer().getOnlinePlayers())
{

View File

@@ -1,4 +1,4 @@
package com.earth2me.essentials.antibuild;
package org.mcess.essentials.antibuild;
import java.util.List;
import java.util.Map;

View File

@@ -1,6 +1,6 @@
# This determines the command prefix when there are conflicts (/name:home, /name:help, etc.)
name: EssentialsAntiBuild
main: com.earth2me.essentials.antibuild.EssentialsAntiBuild
main: org.mcess.essentials.antibuild.EssentialsAntiBuild
# Note to developers: This next line cannot change, or the automatic versioning system will break.
version: TeamCity
website: http://tiny.cc/EssentialsCommands