mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-27 08:59:45 +00:00
Code cleanup and remove remote skull edit.
This commit is contained in:
parent
5c74af42a3
commit
6174e4a98b
25 changed files with 179 additions and 84 deletions
|
@ -52,9 +52,9 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
teleport = new Teleport(this, ess);
|
teleport = new Teleport(this, ess);
|
||||||
if (isAfk())
|
if (isAfk())
|
||||||
{
|
{
|
||||||
afkPosition = getLocation();
|
afkPosition = this.getBase().getLocation();
|
||||||
}
|
}
|
||||||
if (isOnline())
|
if (this.getBase().isOnline())
|
||||||
{
|
{
|
||||||
lastOnlineActivity = System.currentTimeMillis();
|
lastOnlineActivity = System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
|
@ -238,13 +238,13 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
@Override
|
@Override
|
||||||
public void setLastLocation()
|
public void setLastLocation()
|
||||||
{
|
{
|
||||||
setLastLocation(getLocation());
|
setLastLocation(this.getBase().getLocation());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setLogoutLocation()
|
public void setLogoutLocation()
|
||||||
{
|
{
|
||||||
setLogoutLocation(getLocation());
|
setLogoutLocation(this.getBase().getLocation());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -259,7 +259,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
teleportLocation = here ? player.getLocation() : this.getLocation();
|
teleportLocation = here ? player.getBase().getLocation() : this.getBase().getLocation();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -294,7 +294,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
suffix = "§r";
|
suffix = "§r";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isOp())
|
if (this.getBase().isOp())
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -351,13 +351,13 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
{
|
{
|
||||||
if (base.isOnline() && ess.getSettings().changeDisplayName())
|
if (base.isOnline() && ess.getSettings().changeDisplayName())
|
||||||
{
|
{
|
||||||
setDisplayName(getNick(true));
|
this.getBase().setDisplayName(getNick(true));
|
||||||
if (ess.getSettings().changePlayerListName())
|
if (ess.getSettings().changePlayerListName())
|
||||||
{
|
{
|
||||||
String name = getNick(false);
|
String name = getNick(false);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
setPlayerListName(name);
|
this.getBase().setPlayerListName(name);
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException e)
|
catch (IllegalArgumentException e)
|
||||||
{
|
{
|
||||||
|
@ -370,10 +370,9 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getDisplayName()
|
public String getDisplayName()
|
||||||
{
|
{
|
||||||
return super.getDisplayName() == null ? super.getName() : super.getDisplayName();
|
return super.getBase().getDisplayName() == null ? super.getBase().getName() : super.getBase().getDisplayName();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -495,10 +494,10 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setSleepingIgnored(this.isAuthorized("essentials.sleepingignored") ? true : set);
|
this.getBase().setSleepingIgnored(this.isAuthorized("essentials.sleepingignored") ? true : set);
|
||||||
if (set && !isAfk())
|
if (set && !isAfk())
|
||||||
{
|
{
|
||||||
afkPosition = getLocation();
|
afkPosition = this.getBase().getLocation();
|
||||||
}
|
}
|
||||||
else if (!set && isAfk())
|
else if (!set && isAfk())
|
||||||
{
|
{
|
||||||
|
@ -573,10 +572,10 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
//Returns true if status expired during this check
|
//Returns true if status expired during this check
|
||||||
public boolean checkBanTimeout(final long currentTime)
|
public boolean checkBanTimeout(final long currentTime)
|
||||||
{
|
{
|
||||||
if (getBanTimeout() > 0 && getBanTimeout() < currentTime && isBanned())
|
if (getBanTimeout() > 0 && getBanTimeout() < currentTime && this.getBase().isBanned())
|
||||||
{
|
{
|
||||||
setBanTimeout(0);
|
setBanTimeout(0);
|
||||||
setBanned(false);
|
this.getBase().setBanned(false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
@ -608,7 +607,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
{
|
{
|
||||||
final String kickReason = _("autoAfkKickReason", autoafkkick / 60.0);
|
final String kickReason = _("autoAfkKickReason", autoafkkick / 60.0);
|
||||||
lastActivity = 0;
|
lastActivity = 0;
|
||||||
kickPlayer(kickReason);
|
this.getBase().kickPlayer(kickReason);
|
||||||
|
|
||||||
|
|
||||||
for (Player player : ess.getServer().getOnlinePlayers())
|
for (Player player : ess.getServer().getOnlinePlayers())
|
||||||
|
@ -644,7 +643,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
@Override
|
@Override
|
||||||
public boolean isGodModeEnabled()
|
public boolean isGodModeEnabled()
|
||||||
{
|
{
|
||||||
return (super.isGodModeEnabled() && !ess.getSettings().getNoGodWorlds().contains(getLocation().getWorld().getName()))
|
return (super.isGodModeEnabled() && !ess.getSettings().getNoGodWorlds().contains(this.getBase().getLocation().getWorld().getName()))
|
||||||
|| (isAfk() && ess.getSettings().getFreezeAfkPlayers());
|
|| (isAfk() && ess.getSettings().getFreezeAfkPlayers());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -678,7 +677,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
@Override
|
@Override
|
||||||
public boolean canBuild()
|
public boolean canBuild()
|
||||||
{
|
{
|
||||||
if (isOp())
|
if (this.getBase().isOp())
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -759,7 +758,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
ess.getVanishedPlayers().add(getName());
|
ess.getVanishedPlayers().add(getName());
|
||||||
if (isAuthorized("essentials.vanish.effect"))
|
if (isAuthorized("essentials.vanish.effect"))
|
||||||
{
|
{
|
||||||
this.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1, false));
|
this.getBase().addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1, false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -772,7 +771,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
ess.getVanishedPlayers().remove(getName());
|
ess.getVanishedPlayers().remove(getName());
|
||||||
if (isAuthorized("essentials.vanish.effect"))
|
if (isAuthorized("essentials.vanish.effect"))
|
||||||
{
|
{
|
||||||
this.removePotionEffect(PotionEffectType.INVISIBILITY);
|
this.getBase().removePotionEffect(PotionEffectType.INVISIBILITY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -848,7 +847,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
@Override
|
@Override
|
||||||
public int compareTo(final User other)
|
public int compareTo(final User other)
|
||||||
{
|
{
|
||||||
return FormatUtil.stripFormat(this.getDisplayName()).compareToIgnoreCase(FormatUtil.stripFormat(other.getDisplayName()));
|
return FormatUtil.stripFormat(getDisplayName()).compareToIgnoreCase(FormatUtil.stripFormat(other.getDisplayName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -873,4 +872,10 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
|
||||||
{
|
{
|
||||||
return new CommandSource(getBase());
|
return new CommandSource(getBase());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName()
|
||||||
|
{
|
||||||
|
return this.getBase().getName();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ public abstract class UserData extends PlayerExtension implements IConf
|
||||||
public final void reset()
|
public final void reset()
|
||||||
{
|
{
|
||||||
config.getFile().delete();
|
config.getFile().delete();
|
||||||
ess.getUserMap().removeUser(this.getName());
|
ess.getUserMap().removeUser(this.getBase().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -149,7 +149,7 @@ public abstract class UserData extends PlayerExtension implements IConf
|
||||||
public Location getHome(String name) throws Exception
|
public Location getHome(String name) throws Exception
|
||||||
{
|
{
|
||||||
String search = getHomeName(name);
|
String search = getHomeName(name);
|
||||||
return config.getLocation("homes." + search, getServer());
|
return config.getLocation("homes." + search, this.getBase().getServer());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Location getHome(final Location world)
|
public Location getHome(final Location world)
|
||||||
|
@ -163,14 +163,14 @@ public abstract class UserData extends PlayerExtension implements IConf
|
||||||
Location loc;
|
Location loc;
|
||||||
for (String home : getHomes())
|
for (String home : getHomes())
|
||||||
{
|
{
|
||||||
loc = config.getLocation("homes." + home, getServer());
|
loc = config.getLocation("homes." + home, this.getBase().getServer());
|
||||||
if (world.getWorld() == loc.getWorld())
|
if (world.getWorld() == loc.getWorld())
|
||||||
{
|
{
|
||||||
return loc;
|
return loc;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
loc = config.getLocation("homes." + getHomes().get(0), getServer());
|
loc = config.getLocation("homes." + getHomes().get(0), this.getBase().getServer());
|
||||||
return loc;
|
return loc;
|
||||||
}
|
}
|
||||||
catch (InvalidWorldException ex)
|
catch (InvalidWorldException ex)
|
||||||
|
@ -322,7 +322,7 @@ public abstract class UserData extends PlayerExtension implements IConf
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return config.getLocation("lastlocation", getServer());
|
return config.getLocation("lastlocation", this.getBase().getServer());
|
||||||
}
|
}
|
||||||
catch (InvalidWorldException e)
|
catch (InvalidWorldException e)
|
||||||
{
|
{
|
||||||
|
@ -351,7 +351,7 @@ public abstract class UserData extends PlayerExtension implements IConf
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return config.getLocation("logoutlocation", getServer());
|
return config.getLocation("logoutlocation", this.getBase().getServer());
|
||||||
}
|
}
|
||||||
catch (InvalidWorldException e)
|
catch (InvalidWorldException e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@ package com.earth2me.essentials.commands;
|
||||||
|
|
||||||
import static com.earth2me.essentials.I18n._;
|
import static com.earth2me.essentials.I18n._;
|
||||||
import com.earth2me.essentials.User;
|
import com.earth2me.essentials.User;
|
||||||
|
import com.earth2me.essentials.craftbukkit.InventoryWorkaround;
|
||||||
import com.earth2me.essentials.utils.LocationUtil;
|
import com.earth2me.essentials.utils.LocationUtil;
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
|
@ -22,63 +23,52 @@ public class Commandskull extends EssentialsCommand
|
||||||
@Override
|
@Override
|
||||||
protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
|
protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
|
||||||
{
|
{
|
||||||
if (args.length < 1)
|
String owner;
|
||||||
{
|
|
||||||
user.getInventory().addItem(spawnSkull(user.getName(), 1));
|
if (args.length > 0 && user.isAuthorized("essentials.skull.others")) {
|
||||||
user.sendMessage(_("givenSkull", user.getName()));
|
|
||||||
} else {
|
|
||||||
// Alphanumeric and underscores only
|
|
||||||
if (!args[0].matches("^[A-Za-z0-9_]+$")) {
|
if (!args[0].matches("^[A-Za-z0-9_]+$")) {
|
||||||
throw new IllegalArgumentException(_("invalidSkullOwner"));
|
throw new IllegalArgumentException(_("alphaNames"));
|
||||||
}
|
}
|
||||||
|
owner = args[0];
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
owner = user.getName();
|
||||||
|
}
|
||||||
|
|
||||||
final Location target = LocationUtil.getTarget(user.getBase());
|
ItemStack itemSkull = user.getBase().getItemInHand();
|
||||||
BlockState state = target.getBlock().getState();
|
SkullMeta metaSkull = null;
|
||||||
Skull skull = null;
|
boolean spawn = false;
|
||||||
|
|
||||||
if (state instanceof Skull)
|
if (itemSkull != null && itemSkull.getType() == Material.SKULL_ITEM && itemSkull.getDurability() == 3) {
|
||||||
{
|
metaSkull = (SkullMeta) itemSkull.getItemMeta();
|
||||||
skull = (Skull) state;
|
}
|
||||||
if (skull.hasOwner() && !user.isAuthorized("essentials.skull.change"))
|
else if (user.isAuthorized("essentials.skull.spawn"))
|
||||||
{
|
{
|
||||||
throw new Exception(_("noPermissionSkull"));
|
itemSkull = new ItemStack(Material.SKULL_ITEM, 1, (byte) 3);
|
||||||
}
|
metaSkull = (SkullMeta) itemSkull.getItemMeta();
|
||||||
|
spawn = true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
throw new Exception(_("invalidSkull"));
|
||||||
|
}
|
||||||
|
|
||||||
user.sendMessage(_("skullChanged", args[0]));
|
if (metaSkull.hasOwner() && !user.isAuthorized("essentials.skull.modify"))
|
||||||
|
{
|
||||||
|
throw new Exception(_("noPermissionSkull"));
|
||||||
|
}
|
||||||
|
|
||||||
skull.setOwner(args[0]);
|
metaSkull.setDisplayName("§fSkull of " + owner);
|
||||||
skull.update(true);
|
metaSkull.setOwner(owner);
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (skull == null)
|
itemSkull.setItemMeta(metaSkull);
|
||||||
{
|
|
||||||
ItemStack cSkull = user.getItemInHand();
|
|
||||||
if (cSkull.getType() == Material.SKULL_ITEM && cSkull.getDurability() == 3) {
|
|
||||||
SkullMeta cSkullMeta = (SkullMeta) cSkull.getItemMeta();
|
|
||||||
if (cSkullMeta.hasOwner() && !user.isAuthorized("essentials.skull.change"))
|
|
||||||
{
|
|
||||||
throw new Exception(_("noPermissionSkull"));
|
|
||||||
}
|
|
||||||
|
|
||||||
user.sendMessage(_("skullChanged", args[0]));
|
if (spawn) {
|
||||||
user.setItemInHand(spawnSkull(args[0], cSkull.getAmount()));
|
InventoryWorkaround.addItems(user.getBase().getInventory(), itemSkull);
|
||||||
} else {
|
user.sendMessage(_("givenSkull", owner));
|
||||||
throw new Exception(_("invalidSkull"));
|
}
|
||||||
}
|
else {
|
||||||
}
|
user.sendMessage(_("skullChanged", owner));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private ItemStack spawnSkull(String owner, int amount) {
|
|
||||||
if (amount < 1 || amount > 64) {
|
|
||||||
amount = 1;
|
|
||||||
}
|
|
||||||
ItemStack skull = new ItemStack(Material.SKULL_ITEM, amount, (byte) 3);
|
|
||||||
SkullMeta skullMeta = (SkullMeta) skull.getItemMeta();
|
|
||||||
skullMeta.setDisplayName("§fSkull of " + owner);
|
|
||||||
skullMeta.setOwner(owner);
|
|
||||||
skull.setItemMeta(skullMeta);
|
|
||||||
return skull;
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -535,8 +535,8 @@ ignoreExempt=\u00a74You can not ignore that player.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
skullChanged=\u00a76Skull owner set to \u00a7c{0}.\u00a76.
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
invalidSkullOwner=\u00a74Skull owners names can only contain letters, numbers and underscores.
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
noPermissionSkull=\u00a74You do not have permission to spawn/modify that Skull.
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
invalidSkull=\u00a74Please hold or look at a player Skull.
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Nemuzes ignorovat tohoto hrace.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Du kan ikke ignorere den spiller.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Du kannst diesen Spieler nicht ignorieren.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74You may not ignore that player.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74No puedes ignorar a este jugador.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74You can not ignore that player.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Vous ne pouvez pas ignorer ce joueur.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Nem hagyhatod figyelmen k\u00edv\u0171l ezt a j\u00e1t\u00e9
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Non puoi ignorare quel giocatore.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Tu negali ignoruoti sio zaidejo.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Je kan die speler niet negeren.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Nie mozesz ignorowac tego gracza.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74Voce nao pode ignorar aquele jogador.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74You can not ignore that player.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74\u0412\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u04
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74DU kan inte ignorera den spelaren.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74You can not ignore that player.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74\u4f60\u65e0\u6cd5\u5ffd\u7565\u90a3\u4e2a\u73a9\u5bb6.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74You can not ignore that player.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -535,3 +535,8 @@ ignoreExempt=\u00a74You can not ignore that player.
|
||||||
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
|
||||||
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
|
||||||
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
|
||||||
|
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
|
||||||
|
alphaNames=\u00a74Player names can only contain letters, numbers and underscores.
|
||||||
|
givenSkull=\u00a76You have been given the Skull of \u00a7c{0}\u00a76.
|
||||||
|
noPermissionSkull=\u00a74You do not have permission to modify that Skull.
|
||||||
|
invalidSkull=\u00a74Please hold a player Skull.
|
|
@ -326,10 +326,6 @@ commands:
|
||||||
description: Creates a jail where you specified named [jailname].
|
description: Creates a jail where you specified named [jailname].
|
||||||
usage: /<command> <jailname>
|
usage: /<command> <jailname>
|
||||||
aliases: [esetjail,createjail,ecreatejail]
|
aliases: [esetjail,createjail,ecreatejail]
|
||||||
skull:
|
|
||||||
description: Give yourself or change the owner of a Skull.
|
|
||||||
usage: /<command> [owner]
|
|
||||||
aliases: [eskull, egiveskull, giveskull]
|
|
||||||
setwarp:
|
setwarp:
|
||||||
description: Creates a new warp.
|
description: Creates a new warp.
|
||||||
usage: /<command> <warp>
|
usage: /<command> <warp>
|
||||||
|
@ -338,6 +334,10 @@ commands:
|
||||||
description: Set the sell value of an item.
|
description: Set the sell value of an item.
|
||||||
usage: /<command> [itemname|id] <price>
|
usage: /<command> [itemname|id] <price>
|
||||||
aliases: [esetworth]
|
aliases: [esetworth]
|
||||||
|
skull:
|
||||||
|
description: Set the owner of a player skull
|
||||||
|
usage: /<command> [owner]
|
||||||
|
aliases: [eskull, playerskull, eplayerskull, head, ehead]
|
||||||
socialspy:
|
socialspy:
|
||||||
description: Toggles if you can see msg/mail commands in chat.
|
description: Toggles if you can see msg/mail commands in chat.
|
||||||
usage: /<command> [player] [on|off]
|
usage: /<command> [player] [on|off]
|
||||||
|
|
Loading…
Reference in a new issue