1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-11 09:05:01 +02:00

package name change to net.ess3

This commit is contained in:
ementalo
2012-06-27 13:35:39 +01:00
parent c1230bd6ae
commit 16d0b5c228
408 changed files with 1631 additions and 1749 deletions

View File

@@ -1,6 +1,9 @@
package com.earth2me.essentials.api;
package com.earth2me.essentials;
import com.earth2me.essentials.utils.Util;
import net.ess3.api.IEssentials;
import net.ess3.api.NoLoanPermittedException;
import net.ess3.api.UserDoesNotExistException;
import net.ess3.utils.Util;
/**
@@ -19,7 +22,7 @@ public final class Economy
*
* @param name Name of the user
* @return balance
* @throws UserDoesNotExistException
* @throws net.ess3.api.UserDoesNotExistException
*/
public static double getMoney(String name) throws UserDoesNotExistException
{
@@ -36,7 +39,7 @@ public final class Economy
* @param name Name of the user
* @param balance The balance you want to set
* @throws UserDoesNotExistException If a user by that name does not exists
* @throws NoLoanPermittedException If the user is not allowed to have a negative balance
* @throws net.ess3.api.NoLoanPermittedException If the user is not allowed to have a negative balance
*/
public static void setMoney(String name, double balance) throws UserDoesNotExistException, NoLoanPermittedException
{

View File

@@ -1,6 +1,6 @@
package com.earth2me.essentials;
import static com.earth2me.essentials.I18n._;
import static net.ess3.I18n._;
import com.google.common.io.Files;
import java.io.*;
import java.nio.ByteBuffer;

View File

@@ -1,12 +1,13 @@
package com.earth2me.essentials;
import com.earth2me.essentials.economy.WorthHolder;
import com.earth2me.essentials.storage.ManagedFile;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.api.IEssentials;
import com.earth2me.essentials.settings.Spawns;
import com.earth2me.essentials.storage.Location;
import com.earth2me.essentials.storage.YamlStorageWriter;
import net.ess3.economy.WorthHolder;
import net.ess3.Warps;
import net.ess3.storage.ManagedFile;
import static net.ess3.I18n._;
import net.ess3.api.IEssentials;
import net.ess3.settings.Spawns;
import net.ess3.storage.Location;
import net.ess3.storage.YamlStorageWriter;
import java.io.*;
import java.math.BigInteger;
import java.security.DigestInputStream;
@@ -658,7 +659,7 @@ public class EssentialsUpgrade
config.load();
if (!config.hasProperty("jails"))
{
final com.earth2me.essentials.settings.Jails jails = new com.earth2me.essentials.settings.Jails();
final net.ess3.settings.Jails jails = new net.ess3.settings.Jails();
Set<String> keys = config.getKeys(false);
for (String jailName : keys)
{

View File

@@ -1,5 +1,5 @@
name: Essentials
main: com.earth2me.essentials.Essentials
main: net.ess3.Essentials
version: 2.9
website: http://tiny.cc/EssentialsWiki
description: Compatibility plugin for older plugins