Merge branch 'master' into release

This commit is contained in:
snowleo 2011-08-21 20:22:28 +02:00
commit 7b8c2a4575
25 changed files with 436 additions and 254 deletions

View File

@ -35,7 +35,6 @@ public final class DescParseTickFormat
SDFTwelve.setTimeZone(TimeZone.getTimeZone("GMT")); SDFTwelve.setTimeZone(TimeZone.getTimeZone("GMT"));
nameToTicks.put("sunrise", 23000); nameToTicks.put("sunrise", 23000);
nameToTicks.put("rise", 23000);
nameToTicks.put("dawn", 23000); nameToTicks.put("dawn", 23000);
nameToTicks.put("daystart", 0); nameToTicks.put("daystart", 0);
@ -49,7 +48,6 @@ public final class DescParseTickFormat
nameToTicks.put("afternoon", 9000); nameToTicks.put("afternoon", 9000);
nameToTicks.put("sunset", 12000); nameToTicks.put("sunset", 12000);
nameToTicks.put("set", 12000);
nameToTicks.put("dusk", 12000); nameToTicks.put("dusk", 12000);
nameToTicks.put("sundown", 12000); nameToTicks.put("sundown", 12000);
nameToTicks.put("nightfall", 12000); nameToTicks.put("nightfall", 12000);
@ -227,18 +225,7 @@ public final class DescParseTickFormat
// -------------------------------------------- // --------------------------------------------
public static String format(final long ticks) public static String format(final long ticks)
{ {
final StringBuilder msg = new StringBuilder(); return Util.format("timeFormat", format24(ticks), format12(ticks), formatTicks(ticks));
msg.append(Commandtime.colorHighlight1);
msg.append(format24(ticks));
msg.append(Commandtime.colorDefault);
msg.append(" or ");
msg.append(Commandtime.colorHighlight1);
msg.append(format12(ticks));
msg.append(Commandtime.colorDefault);
msg.append(" or ");
msg.append(Commandtime.colorHighlight1);
msg.append(formatTicks(ticks));
return msg.toString();
} }
public static String formatTicks(final long ticks) public static String formatTicks(final long ticks)

View File

@ -86,6 +86,9 @@ public enum Mob
final protected String type; final protected String type;
} }
public CreatureType getType () {
return bukkitType;
}
public static class MobException extends Exception public static class MobException extends Exception
{ {

View File

@ -483,4 +483,9 @@ public class Util
} }
return buf.toString(); return buf.toString();
} }
public static String capitalCase(String s)
{
return s.toUpperCase().charAt(0) + s.toLowerCase().substring(1);
}
} }

View File

@ -1,5 +1,6 @@
package com.earth2me.essentials.commands; package com.earth2me.essentials.commands;
import com.earth2me.essentials.TargetBlock;
import org.bukkit.Server; import org.bukkit.Server;
import org.bukkit.TreeType; import org.bukkit.TreeType;
import com.earth2me.essentials.User; import com.earth2me.essentials.User;
@ -31,30 +32,12 @@ public class Commandbigtree extends EssentialsCommand
throw new NotEnoughArgumentsException(); throw new NotEnoughArgumentsException();
} }
double x = user.getLocation().getX(); final int[] ignore =
double y = user.getLocation().getY();
double z = user.getLocation().getZ();
// offset tree in direction player is facing
final int r = (int)user.getCorrectedYaw();
if (r < 68 || r > 292) // north
{ {
x -= 3.0D; 8, 9
} };
else if (r > 112 && r < 248) // south final Location loc = (new TargetBlock(user, 300, 0.2, ignore)).getTargetBlock().getLocation();
{ final Location safeLocation = Util.getSafeDestination(loc);
x += 3.0D;
}
if (r > 22 && r < 158) // east
{
z -= 3.0D;
}
else if (r > 202 && r < 338) // west
{
z += 3.0D;
}
final Location safeLocation = Util.getSafeDestination(new Location(user.getWorld(), x, y, z));
final boolean success = user.getWorld().generateTree(safeLocation, (TreeType)tree); final boolean success = user.getWorld().generateTree(safeLocation, (TreeType)tree);
if (success) if (success)
{ {

View File

@ -16,6 +16,7 @@ public class Commandgive extends EssentialsCommand
super("give"); super("give");
} }
//TODO: move these messages to message file
@Override @Override
public void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception public void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
{ {

View File

@ -45,6 +45,7 @@ public class Commandlist extends EssentialsCommand
} }
} }
charge(sender); charge(sender);
//TODO: move these to messages file
StringBuilder online = new StringBuilder(); StringBuilder online = new StringBuilder();
online.append(ChatColor.BLUE).append("There are ").append(ChatColor.RED).append(server.getOnlinePlayers().length - playerHidden); online.append(ChatColor.BLUE).append("There are ").append(ChatColor.RED).append(server.getOnlinePlayers().length - playerHidden);
if (showhidden && playerHidden > 0) if (showhidden && playerHidden > 0)

View File

@ -4,6 +4,7 @@ import com.earth2me.essentials.DescParseTickFormat;
import org.bukkit.Server; import org.bukkit.Server;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import com.earth2me.essentials.User; import com.earth2me.essentials.User;
import com.earth2me.essentials.Util;
import java.util.Collection; import java.util.Collection;
import java.util.Comparator; import java.util.Comparator;
import java.util.HashSet; import java.util.HashSet;
@ -17,12 +18,6 @@ import org.bukkit.entity.Player;
public class Commandptime extends EssentialsCommand public class Commandptime extends EssentialsCommand
{ {
// TODO: I suggest that the chat colors be centralized in the config file.
public static final ChatColor colorDefault = ChatColor.YELLOW;
public static final ChatColor colorChrome = ChatColor.GOLD;
public static final ChatColor colorLogo = ChatColor.GREEN;
public static final ChatColor colorHighlight1 = ChatColor.AQUA;
public static final ChatColor colorBad = ChatColor.RED;
public static final Set<String> getAliases = new HashSet<String>(); public static final Set<String> getAliases = new HashSet<String>();
static static
@ -57,10 +52,10 @@ public class Commandptime extends EssentialsCommand
} }
User user = ess.getUser(sender); User user = ess.getUser(sender);
if (user != null && !user.isAuthorized("essentials.ptime.others")) if ((!users.contains(user) || users.size() > 1) && user != null && !user.isAuthorized("essentials.ptime.others"))
{ {
// TODO should not be hardcoded !! user.sendMessage(Util.i18n("pTimeOthersPermission"));
throw new Exception(colorBad + "You are not authorized to set others PlayerTime"); return;
} }
Long ticks; Long ticks;
@ -102,41 +97,29 @@ public class Commandptime extends EssentialsCommand
*/ */
private void getUsersTime(final CommandSender sender, final Collection<User> users) private void getUsersTime(final CommandSender sender, final Collection<User> users)
{ {
if (users.size() == 1) if (users.size() > 1)
{ {
final User user = users.iterator().next(); sender.sendMessage(Util.format("pTimePlayers"));
if (user.getPlayerTimeOffset() == 0)
{
sender.sendMessage(colorDefault + user.getName() + "'s time is normal. Time is the same as on the server.");
}
else
{
String time = DescParseTickFormat.format(user.getPlayerTime());
if (!user.isPlayerTimeRelative())
{
time = "fixed to " + time;
}
sender.sendMessage(colorDefault + user.getName() + "'s time is " + time);
}
return;
} }
sender.sendMessage(colorDefault + "These players have their own time:");
for (User user : users) for (User user : users)
{ {
//if (!user.isPlayerTimeRelative()) if(user.getPlayerTimeOffset() == 0)
if (user.getPlayerTimeOffset() != 0)
{ {
sender.sendMessage(Util.format("pTimeNormal", user.getName()));
}
else {
String time = DescParseTickFormat.format(user.getPlayerTime()); String time = DescParseTickFormat.format(user.getPlayerTime());
if (!user.isPlayerTimeRelative()) if(!user.isPlayerTimeRelative())
{ {
time = "fixed to " + time; sender.sendMessage(Util.format("pTimeCurrentFixed", user.getName(), time));
}
else {
sender.sendMessage(Util.format("pTimeCurrent", user.getName(), time));
} }
sender.sendMessage(colorDefault + user.getName() + "'s time is " + time);
} }
} }
return; return;
} }
@ -171,44 +154,33 @@ public class Commandptime extends EssentialsCommand
} }
} }
final StringBuilder msg = new StringBuilder();
for (User user : users)
{
if (msg.length() > 0)
{
msg.append(", ");
}
msg.append(user.getName());
}
// Inform the sender of the change // Inform the sender of the change
sender.sendMessage("");
final StringBuilder msg = new StringBuilder();
if (ticks == null) if (ticks == null)
{ {
sender.sendMessage(colorDefault + "The players time was reset for:"); sender.sendMessage(Util.format("pTimeReset", msg.toString()));
} }
else else
{ {
String time = DescParseTickFormat.format(ticks); String time = DescParseTickFormat.format(ticks);
if (!relative) if (!relative)
{ {
time = "fixed to " + time; sender.sendMessage(Util.format("pTimeSetFixed", time, msg.toString()));
}
else {
sender.sendMessage(Util.format("pTimeSet", time, msg.toString()));
} }
sender.sendMessage(colorDefault + "The players time is " + time);
msg.append(colorDefault);
msg.append("For: ");
} }
boolean first = true;
for (User user : users)
{
if (!first)
{
msg.append(colorDefault);
msg.append(", ");
}
else
{
first = false;
}
msg.append(colorHighlight1);
msg.append(user.getName());
}
sender.sendMessage(msg.toString());
} }
/** /**
@ -258,7 +230,7 @@ public class Commandptime extends EssentialsCommand
// We failed to understand the world target... // We failed to understand the world target...
else else
{ {
throw new Exception("Could not find the player(s) \"" + selector + "\""); throw new Exception(Util.i18n("playerNotFound"));
} }
return users; return users;

View File

@ -0,0 +1,126 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.earth2me.essentials.commands;
import com.earth2me.essentials.User;
import com.earth2me.essentials.Util;
import org.bukkit.Material;
import org.bukkit.Server;
import org.bukkit.inventory.ItemStack;
import org.bukkit.material.MaterialData;
/**
*
* @author Seiji
*/
public class Commandrepair extends EssentialsCommand
{
public Commandrepair()
{
super("repair");
}
@Override
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
{
if (args.length < 1)
{
throw new NotEnoughArgumentsException();
}
if (args[0].equalsIgnoreCase("hand"))
{
ItemStack item = user.getItemInHand();
try
{
repairItem(item);
}
catch (Exception e)
{
user.sendMessage(e.getMessage());
return;
}
String itemName = item.getType().toString().toLowerCase().replace('_', ' ');
charge(user);
user.sendMessage(Util.format("repair", itemName));
}
else if (args[0].equalsIgnoreCase("all"))
{
StringBuilder itemList = new StringBuilder();
itemList.append(repairItems(user.getInventory().getContents()));
String armor = repairItems(user.getInventory().getArmorContents());
if (armor.length() > 0)
{
if (itemList.length() > 0)
{
itemList.append(", ");
}
itemList.append(armor);
}
if (itemList.length() == 0)
{
user.sendMessage(Util.format("repairNone"));
}
else
{
charge(user);
user.sendMessage(Util.format("repair", itemList.toString()));
}
}
else
{
throw new NotEnoughArgumentsException();
}
}
private void repairItem(ItemStack item) throws Exception
{
Material material = Material.getMaterial(item.getTypeId());
String error = null;
if (material.isBlock() || material.getMaxDurability() < 0)
{
throw new Exception(Util.i18n("repairInvalidType"));
}
if (item.getDurability() == 0)
{
throw new Exception(Util.i18n("repairAlreadyFixed"));
}
item.setDurability((short)0);
}
private String repairItems(ItemStack[] items)
{
StringBuilder itemList = new StringBuilder();
for (ItemStack item : items)
{
try
{
repairItem(item);
if (itemList.length() > 0)
{
itemList.append(", ");
}
String itemName = item.getType().toString().toLowerCase().replace('_', ' ');
itemList.append(itemName);
}
catch (Exception e)
{
}
}
return itemList.toString();
}
}

View File

@ -29,7 +29,7 @@ public class Commandsell extends EssentialsCommand
{ {
is = user.getItemInHand(); is = user.getItemInHand();
} }
if (args[0].equalsIgnoreCase("inventory")) else if (args[0].equalsIgnoreCase("inventory"))
{ {
for (ItemStack stack : user.getInventory().getContents()) for (ItemStack stack : user.getInventory().getContents())
{ {
@ -47,7 +47,7 @@ public class Commandsell extends EssentialsCommand
} }
return; return;
} }
if (args[0].equalsIgnoreCase("blocks")) else if (args[0].equalsIgnoreCase("blocks"))
{ {
for (ItemStack stack : user.getInventory().getContents()) for (ItemStack stack : user.getInventory().getContents())
{ {

View File

@ -1,5 +1,6 @@
package com.earth2me.essentials.commands; package com.earth2me.essentials.commands;
import com.earth2me.essentials.Mob;
import com.earth2me.essentials.User; import com.earth2me.essentials.User;
import com.earth2me.essentials.Util; import com.earth2me.essentials.Util;
import org.bukkit.Material; import org.bukkit.Material;
@ -22,6 +23,7 @@ public class Commandspawner extends EssentialsCommand
if (args.length < 1 || args[0].length() < 2) if (args.length < 1 || args[0].length() < 2)
{ {
throw new NotEnoughArgumentsException(); throw new NotEnoughArgumentsException();
//TODO: user.sendMessage("§7Mobs: Zombie PigZombie Skeleton Slime Chicken Pig Monster Spider Creeper Ghast Squid Giant Cow Sheep Wolf");
} }
final Block target = user.getTarget().getTargetBlock(); final Block target = user.getTarget().getTargetBlock();
@ -33,11 +35,18 @@ public class Commandspawner extends EssentialsCommand
charge(user); charge(user);
try try
{ {
String name = args[0].substring(0, 1).toUpperCase() + args[0].substring(1).toLowerCase(); String name = args[0];
if (name.equalsIgnoreCase("Pigzombie")) { name = name.equalsIgnoreCase("PigZombie") ? "PigZombie" : Util.capitalCase(name);
name = "PigZombie";
Mob mob = null;
mob = Mob.fromName(name);
if (mob == null)
{
user.sendMessage(Util.i18n("invalidMob"));
return;
} }
new CraftCreatureSpawner(target).setCreatureType(CreatureType.fromName(name)); new CraftCreatureSpawner(target).setCreatureType(mob.getType());
user.sendMessage(Util.format("setSpawner", mob.name));
} }
catch (Throwable ex) catch (Throwable ex)
{ {

View File

@ -40,7 +40,7 @@ public class Commandspawnmob extends EssentialsCommand
String[] mountparts = args[0].split(","); String[] mountparts = args[0].split(",");
String[] parts = mountparts[0].split(":"); String[] parts = mountparts[0].split(":");
String mobType = parts[0]; String mobType = parts[0];
mobType = mobType.equalsIgnoreCase("PigZombie") ? "PigZombie" : capitalCase(mobType); mobType = mobType.equalsIgnoreCase("PigZombie") ? "PigZombie" : Util.capitalCase(mobType);
String mobData = null; String mobData = null;
if (parts.length == 2) if (parts.length == 2)
{ {
@ -52,7 +52,7 @@ public class Commandspawnmob extends EssentialsCommand
{ {
parts = mountparts[1].split(":"); parts = mountparts[1].split(":");
mountType = parts[0]; mountType = parts[0];
mountType = mountType.equalsIgnoreCase("PigZombie") ? "PigZombie" : capitalCase(mountType); mountType = mountType.equalsIgnoreCase("PigZombie") ? "PigZombie" : Util.capitalCase(mountType);
if (parts.length == 2) if (parts.length == 2)
{ {
mountData = parts[1]; mountData = parts[1];
@ -83,17 +83,10 @@ public class Commandspawnmob extends EssentialsCommand
8, 9 8, 9
}; };
Location loc = (new TargetBlock(user, 300, 0.2, ignore)).getTargetBlock().getLocation(); Location loc = (new TargetBlock(user, 300, 0.2, ignore)).getTargetBlock().getLocation();
Location sloc = Util.getSafeDestination(loc);
Block block = user.getWorld().getBlockAt(loc);
while (!(block.getType() == Material.AIR || block.getType() == Material.WATER || block.getType() == Material.STATIONARY_WATER))
{
loc.setY(loc.getY() + 1);
block = user.getWorld().getBlockAt(loc);
}
try try
{ {
spawnedMob = mob.spawn(user, server, loc); spawnedMob = mob.spawn(user, server, sloc);
} }
catch (MobException e) catch (MobException e)
{ {
@ -186,11 +179,6 @@ public class Commandspawnmob extends EssentialsCommand
} }
} }
private String capitalCase(String s)
{
return s.toUpperCase().charAt(0) + s.toLowerCase().substring(1);
}
private void changeMobData(String type, Entity spawned, String data, User user) throws Exception private void changeMobData(String type, Entity spawned, String data, User user) throws Exception
{ {
if ("Slime".equalsIgnoreCase(type)) if ("Slime".equalsIgnoreCase(type))
@ -210,8 +198,8 @@ public class Commandspawnmob extends EssentialsCommand
{ {
if (data.equalsIgnoreCase("random")) if (data.equalsIgnoreCase("random"))
{ {
Random rand = new Random(); Random rand = new Random();
((CraftSheep)spawned).setColor(DyeColor.values()[rand.nextInt(DyeColor.values().length)]); ((CraftSheep)spawned).setColor(DyeColor.values()[rand.nextInt(DyeColor.values().length)]);
} }
else else
{ {

View File

@ -5,19 +5,12 @@ import org.bukkit.Server;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import com.earth2me.essentials.User; import com.earth2me.essentials.User;
import com.earth2me.essentials.Util;
import java.util.*; import java.util.*;
import org.bukkit.ChatColor;
public class Commandtime extends EssentialsCommand public class Commandtime extends EssentialsCommand
{ {
// TODO: I suggest that the chat colors be centralized in the config file.
public static final ChatColor colorDefault = ChatColor.YELLOW;
public static final ChatColor colorChrome = ChatColor.GOLD;
public static final ChatColor colorLogo = ChatColor.GREEN;
public static final ChatColor colorHighlight1 = ChatColor.AQUA;
public static final ChatColor colorBad = ChatColor.RED;
public Commandtime() public Commandtime()
{ {
super("time"); super("time");
@ -44,8 +37,8 @@ public class Commandtime extends EssentialsCommand
User user = ess.getUser(sender); User user = ess.getUser(sender);
if (user != null && !user.isAuthorized("essentials.time.set")) if (user != null && !user.isAuthorized("essentials.time.set"))
{ {
// TODO should not be hardcoded !! user.sendMessage(Util.i18n("timeSetPermission"));
throw new Exception(colorBad + "You are not authorized to set the time"); return;
} }
// Parse the target time int ticks from args[0] // Parse the target time int ticks from args[0]
@ -67,7 +60,6 @@ public class Commandtime extends EssentialsCommand
*/ */
private void getWorldsTime(CommandSender sender, Collection<World> worlds) private void getWorldsTime(CommandSender sender, Collection<World> worlds)
{ {
// TODO do we need to check for the essentials.time permission? Or is that tested for us already.
if (worlds.size() == 1) if (worlds.size() == 1)
{ {
Iterator<World> iter = worlds.iterator(); Iterator<World> iter = worlds.iterator();
@ -77,7 +69,7 @@ public class Commandtime extends EssentialsCommand
for (World world : worlds) for (World world : worlds)
{ {
sender.sendMessage(colorDefault + world.getName() + ": " + DescParseTickFormat.format(world.getTime())); sender.sendMessage(Util.format("timeCurrentWorld", world.getName(), DescParseTickFormat.format(world.getTime())));
} }
return; return;
} }
@ -96,30 +88,21 @@ public class Commandtime extends EssentialsCommand
} }
// Inform the sender of the change // Inform the sender of the change
sender.sendMessage(""); //sender.sendMessage("");
sender.sendMessage(colorDefault + "The time was set to " + DescParseTickFormat.format(ticks));
StringBuilder msg = new StringBuilder(); StringBuilder msg = new StringBuilder();
msg.append(colorDefault);
msg.append("In ");
boolean first = true; boolean first = true;
for (World world : worlds) for (World world : worlds)
{ {
if (!first) if (msg.length() > 0)
{ {
msg.append(colorDefault);
msg.append(", "); msg.append(", ");
} }
else
{
first = false;
}
msg.append(colorHighlight1);
msg.append(world.getName()); msg.append(world.getName());
} }
sender.sendMessage(msg.toString()); sender.sendMessage(Util.format("timeWorldSet", DescParseTickFormat.format(ticks), msg.toString()));
} }
/** /**
@ -158,7 +141,7 @@ public class Commandtime extends EssentialsCommand
// We failed to understand the world target... // We failed to understand the world target...
else else
{ {
throw new Exception("Could not find the world(s) \"" + selector + "\""); throw new Exception(Util.i18n("invalidWorld"));
} }
return worlds; return worlds;

View File

@ -15,6 +15,7 @@ public class Commandtogglejail extends EssentialsCommand
super("togglejail"); super("togglejail");
} }
//TODO: move these to messages file
@Override @Override
public void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception public void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
{ {
@ -45,9 +46,6 @@ public class Commandtogglejail extends EssentialsCommand
} }
} }
charge(sender); charge(sender);
p.setJailed(true);
p.sendMessage(Util.i18n("userJailed"));
p.setJail(null);
if (!(p.getBase() instanceof OfflinePlayer)) if (!(p.getBase() instanceof OfflinePlayer))
{ {
ess.getJail().sendToJail(p, args[1]); ess.getJail().sendToJail(p, args[1]);
@ -57,6 +55,9 @@ public class Commandtogglejail extends EssentialsCommand
// Check if jail exists // Check if jail exists
ess.getJail().getJail(args[1]); ess.getJail().getJail(args[1]);
} }
p.setJailed(true);
p.sendMessage(Util.i18n("userJailed"));
p.setJail(null);
p.setJail(args[1]); p.setJail(args[1]);
long timeDiff = 0; long timeDiff = 0;
if (args.length > 2) if (args.length > 2)

View File

@ -1,10 +1,13 @@
package com.earth2me.essentials.commands; package com.earth2me.essentials.commands;
import com.earth2me.essentials.TargetBlock;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Server; import org.bukkit.Server;
import org.bukkit.TreeType; import org.bukkit.TreeType;
import com.earth2me.essentials.User; import com.earth2me.essentials.User;
import com.earth2me.essentials.Util; import com.earth2me.essentials.Util;
import org.bukkit.Material;
import org.bukkit.block.Block;
public class Commandtree extends EssentialsCommand public class Commandtree extends EssentialsCommand
@ -39,31 +42,13 @@ public class Commandtree extends EssentialsCommand
throw new NotEnoughArgumentsException(); throw new NotEnoughArgumentsException();
} }
double x = user.getLocation().getX(); final int[] ignore =
double y = user.getLocation().getY();
double z = user.getLocation().getZ();
// offset tree in direction player is facing
int r = (int)user.getCorrectedYaw();
if (r < 68 || r > 292) // north
{ {
x -= 3.0D; 8, 9
} };
else if (r > 112 && r < 248) // south final Location loc = (new TargetBlock(user, 300, 0.2, ignore)).getTargetBlock().getLocation();
{ final Location safeLocation = Util.getSafeDestination(loc);
x += 3.0D; final boolean success = user.getWorld().generateTree(safeLocation, (TreeType)tree);
}
if (r > 22 && r < 158) // east
{
z -= 3.0D;
}
else if (r > 202 && r < 338) // west
{
z += 3.0D;
}
Location safeLocation = Util.getSafeDestination(new Location(user.getWorld(), x, y, z));
boolean success = user.getWorld().generateTree(safeLocation, (TreeType)tree);
if (success) if (success)
{ {
charge(user); charge(user);

View File

@ -41,6 +41,7 @@ public class SignProtection extends EssentialsSign
sign.setLine(3, "§1" + username); sign.setLine(3, "§1" + username);
return true; return true;
} }
//TODO: move to messages
player.sendMessage("§4You are not allowed to create sign here."); player.sendMessage("§4You are not allowed to create sign here.");
return false; return false;
} }

View File

@ -10,6 +10,7 @@ import org.bukkit.inventory.ItemStack;
public class SignTrade extends EssentialsSign public class SignTrade extends EssentialsSign
{ {
public SignTrade() public SignTrade()
{ {
super("Trade"); super("Trade");
@ -33,10 +34,17 @@ public class SignTrade extends EssentialsSign
{ {
if (sign.getLine(3).substring(2).equalsIgnoreCase(username)) if (sign.getLine(3).substring(2).equalsIgnoreCase(username))
{ {
final Trade stored = getTrade(sign, 1, true, true, ess); try
substractAmount(sign, 1, stored, ess); {
stored.pay(player); final Trade stored = getTrade(sign, 1, true, true, ess);
Trade.log("Sign", "Trade", "OwnerInteract", username, null, username, stored, sign.getBlock().getLocation(), ess); substractAmount(sign, 1, stored, ess);
stored.pay(player);
Trade.log("Sign", "Trade", "OwnerInteract", username, null, username, stored, sign.getBlock().getLocation(), ess);
}
catch (SignException e)
{
throw new SignException(Util.i18n("tradeSignEmptyOwner"));
}
} }
else else
{ {
@ -141,7 +149,7 @@ public class SignTrade extends EssentialsSign
sign.setLine(index, stackamount + " " + split[1] + ":" + amount); sign.setLine(index, stackamount + " " + split[1] + ":" + amount);
return; return;
} }
throw new SignException(Util.format("invalidSignLine", index+1)); throw new SignException(Util.format("invalidSignLine", index + 1));
} }
protected final Trade getTrade(final ISign sign, final int index, final boolean fullAmount, final boolean notEmpty, final IEssentials ess) throws SignException protected final Trade getTrade(final ISign sign, final int index, final boolean fullAmount, final boolean notEmpty, final IEssentials ess) throws SignException
@ -155,11 +163,18 @@ public class SignTrade extends EssentialsSign
if (split.length == 2) if (split.length == 2)
{ {
final Double money = getMoney(split[0]); try
final Double amount = notEmpty ? getDoublePositive(split[1]) : getDouble(split[1]);
if (money != null && amount != null)
{ {
return new Trade(fullAmount ? amount : money, ess); final Double money = getMoney(split[0]);
final Double amount = notEmpty ? getDoublePositive(split[1]) : getDouble(split[1]);
if (money != null && amount != null)
{
return new Trade(fullAmount ? amount : money, ess);
}
}
catch (SignException e)
{
throw new SignException(Util.i18n("tradeSignEmpty"));
} }
} }
@ -171,12 +186,12 @@ public class SignTrade extends EssentialsSign
amount -= amount % stackamount; amount -= amount % stackamount;
if (notEmpty && (amount < 1 || stackamount < 1 || item.getTypeId() == 0)) if (notEmpty && (amount < 1 || stackamount < 1 || item.getTypeId() == 0))
{ {
throw new SignException(Util.i18n("moreThanZero")); throw new SignException(Util.i18n("tradeSignEmpty"));
} }
item.setAmount(fullAmount ? amount : stackamount); item.setAmount(fullAmount ? amount : stackamount);
return new Trade(item, ess); return new Trade(item, ess);
} }
throw new SignException(Util.format("invalidSignLine", index+1)); throw new SignException(Util.format("invalidSignLine", index + 1));
} }
protected final void substractAmount(final ISign sign, final int index, final Trade trade, final IEssentials ess) throws SignException protected final void substractAmount(final ISign sign, final int index, final Trade trade, final IEssentials ess) throws SignException
@ -235,6 +250,6 @@ public class SignTrade extends EssentialsSign
sign.setLine(index, stackamount + " " + split[1] + ":" + (amount + Math.round(value))); sign.setLine(index, stackamount + " " + split[1] + ":" + (amount + Math.round(value)));
return; return;
} }
throw new SignException(Util.format("invalidSignLine", index+1)); throw new SignException(Util.format("invalidSignLine", index + 1));
} }
} }

View File

@ -1,6 +1,7 @@
#version: TeamCity #version: TeamCity
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by:
addedToAccount = \u00a7a{0} has been added to your account. addedToAccount = \u00a7a{0} has been added to your account.
addedToOthersAccount = \u00a7a{0} has been added to {1} account. addedToOthersAccount = \u00a7a{0} has been added to {1} account.
alertBroke = broke: alertBroke = broke:
@ -227,8 +228,20 @@ powerToolAir = Command can''t be attached to air.
powerToolAttach = Command assigned to {0} powerToolAttach = Command assigned to {0}
powerToolRemove = Command removed from {0} powerToolRemove = Command removed from {0}
protectionOwner = \u00a76[EssentialsProtect] Protection owner: {0} protectionOwner = \u00a76[EssentialsProtect] Protection owner: {0}
pTimeCurrent = \u00a7e{0}''s\u00a7f time is {1}.
pTimeCurrentFixed = \u00a7e{0}''s\u00a7f time is fixed to {1}.
pTimeNormal = \u00a7e{0}''s\u00a7f time is normal and matches the server.
pTimeOthersPermission = \u00a7cYou are not authorized to set other players'' time.
pTimePlayers = These players have their own time:
pTimeReset = Player time has been reset for: \u00a7e{0}
pTimeSet = Player time is set to \u00a73{0}\u00a7f for: \u00a7e{1}
pTimeSetFixed = Player time is fixed to \u00a73{0}\u00a7f for: \u00a7e{1}
questionFormat = \u00a77[Question]\u00a7f {0} questionFormat = \u00a77[Question]\u00a7f {0}
reloadAllPlugins = \u00a77Reloaded all plugins. reloadAllPlugins = \u00a77Reloaded all plugins.
repair = You have successfully repaired your: \u00a7e{0}.
repairAlreadyFixed = \u00a77This item does not need repairing.
repairInvalidType = \u00a7cThis item cannot be repaired.
repairNone = There were no items that needing repairing.
requestAccepted = \u00a77Teleport request accepted. requestAccepted = \u00a77Teleport request accepted.
requestAcceptedFrom = \u00a77{0} accepted your teleport request. requestAcceptedFrom = \u00a77{0} accepted your teleport request.
requestDenied = \u00a77Teleport request denied. requestDenied = \u00a77Teleport request denied.
@ -240,6 +253,7 @@ seconds = seconds
seenOffline = Player {0} is offline since {1} seenOffline = Player {0} is offline since {1}
seenOnline = Player {0} is online since {1} seenOnline = Player {0} is online since {1}
serverFull = Server is full serverFull = Server is full
setSpawner = Changed spawner type to {0}
sheepMalformedColor = Malformed color. sheepMalformedColor = Malformed color.
shoutFormat = \u00a77[Shout]\u00a7f {0} shoutFormat = \u00a77[Shout]\u00a7f {0}
similarWarpExist = A warp with a similar name already exists. similarWarpExist = A warp with a similar name already exists.
@ -270,17 +284,21 @@ thunder = You {0} thunder in your world
thunderDuration = You {0} thunder in your world for {1} seconds. thunderDuration = You {0} thunder in your world for {1} seconds.
timeBeforeHeal = Time before next heal: {0} timeBeforeHeal = Time before next heal: {0}
timeBeforeTeleport = Time before next teleport: {0} timeBeforeTeleport = Time before next teleport: {0}
timeFormat = \u00a73{0}\u00a7f or \u00a73{1}\u00a7f or \u00a73{2}\u00a7f
timePattern = (?:([0-9]+)\\s*y[a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*h[a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)? timePattern = (?:([0-9]+)\\s*y[a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*h[a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)?
timeSet = Time set in all worlds. timeSet = Time set in all worlds.
timeSetPermission = \u00a7cYou are not authorized to set the time.
timeWorldCurrent = The current time in {0} is \u00a73{1}
timeWorldSet = The time was set to {0} in: \u00a7c{1}
tradeCompleted = \u00a77Trade completed. tradeCompleted = \u00a77Trade completed.
tradeSignEmpty = The trade sign does not have enough supply left. tradeSignEmpty = The trade sign has nothing available for you.
tradeSignEmptyOwner = There is nothing to collect from this trade sign.
treeFailure = \u00a7cTree generation failure. Try again on grass or dirt. treeFailure = \u00a7cTree generation failure. Try again on grass or dirt.
treeSpawned = \u00a77Tree spawned. treeSpawned = \u00a77Tree spawned.
typeTpaccept = \u00a77To teleport, type \u00a7c/tpaccept\u00a77. typeTpaccept = \u00a77To teleport, type \u00a7c/tpaccept\u00a77.
typeTpdeny = \u00a77To deny this request, type \u00a7c/tpdeny\u00a77. typeTpdeny = \u00a77To deny this request, type \u00a7c/tpdeny\u00a77.
typeWorldName = \u00a77You can also type the name of a specific world. typeWorldName = \u00a77You can also type the name of a specific world.
unableToSpawnMob = Unable to spawn mob. unableToSpawnMob = Unable to spawn mob.
unableToSpawnMob = Unable to spawn mob.
unbannedIP = Unbanned IP address. unbannedIP = Unbanned IP address.
unbannedPlayer = Unbanned player. unbannedPlayer = Unbanned player.
unignorePlayer = You are not ignoring player {0} anymore. unignorePlayer = You are not ignoring player {0} anymore.

View File

@ -1,8 +1,7 @@
#version: TeamCity #version: TeamCity
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
#Danish Translation by papand13, papand13@gmail.com # by: papand13, papand13@gmail.com
#Danish Translation Version: 1.0
addedToAccount = \u00a7a{0} er tilf\u00f8jet til din konto. addedToAccount = \u00a7a{0} er tilf\u00f8jet til din konto.
addedToOthersAccount = \u00a7a{0} er blevet tilf\u00f8jet til {1} konto. addedToOthersAccount = \u00a7a{0} er blevet tilf\u00f8jet til {1} konto.
alertBroke = \u00f8delagde: alertBroke = \u00f8delagde:
@ -229,10 +228,24 @@ powerToolAir = Kommando kan ikke blive tildelt luft.
powerToolAttach = Kommando tildelt til {0} powerToolAttach = Kommando tildelt til {0}
powerToolRemove = Kommando fjernet fra {0} powerToolRemove = Kommando fjernet fra {0}
protectionOwner = \u00a76[EssentialsProtect] Beskyttelses ejer: {0} protectionOwner = \u00a76[EssentialsProtect] Beskyttelses ejer: {0}
pTimeCurrent = \u00a7e{0}''s\u00a7f time is {1}.
pTimeCurrentFixed = \u00a7e{0}''s\u00a7f time is fixed to {1}.
pTimeNormal = \u00a7e{0}''s\u00a7f time is normal and matches the server.
pTimeOthersPermission = \u00a7cYou are not authorized to set other players'' time.
pTimePlayers = These players have their own time:
pTimeReset = Player time has been reset for: \u00a7e{0}
pTimeSet = Player time is set to \u00a73{0}\u00a7f for: \u00a7e{1}
pTimeSetFixed = Player time is fixed to \u00a73{0}\u00a7f for: \u00a7e{1}
questionFormat = \u00a77[Sp\u00f8rgsm\u00e5l]\u00a7f {0} questionFormat = \u00a77[Sp\u00f8rgsm\u00e5l]\u00a7f {0}
reloadAllPlugins = \u00a77Genindl\u00e6ste alle tilf\u00f8jelser. reloadAllPlugins = \u00a77Genindl\u00e6ste alle tilf\u00f8jelser.
repair = You have successfully repaired your: \u00a7e{0}.
repairAlreadyFixed = \u00a77This item does not need repairing.
repairInvalidType = \u00a7cThis item cannot be repaired.
repairNone = There were no items that needing repairing.
requestAccepted = \u00a77Teleporterings anmodning n\u00e6gtet. requestAccepted = \u00a77Teleporterings anmodning n\u00e6gtet.
requestAcceptedFrom = \u00a77{0} accepted your teleport request.
requestDenied = \u00a77Teleporterings anmodning n\u00e6gtet. requestDenied = \u00a77Teleporterings anmodning n\u00e6gtet.
requestDeniedFrom = \u00a77{0} denied your teleport request.
requestSent = \u00a77Anmodning sendt til {0}\u00a77. requestSent = \u00a77Anmodning sendt til {0}\u00a77.
returnPlayerToJailError = En fejl opstod ved fors\u00f8g p\u00e5 at returnere spiller til f\u00e6ngsel. returnPlayerToJailError = En fejl opstod ved fors\u00f8g p\u00e5 at returnere spiller til f\u00e6ngsel.
second = sekunde second = sekunde
@ -240,6 +253,7 @@ seconds = sekunder
seenOffline = Spiller {0} er offline siden {1} seenOffline = Spiller {0} er offline siden {1}
seenOnline = Spiller {0} er online siden {1} seenOnline = Spiller {0} er online siden {1}
serverFull = Server er fuld serverFull = Server er fuld
setSpawner = Changed spawner type to {0}
sheepMalformedColor = Misdannet farve. sheepMalformedColor = Misdannet farve.
shoutFormat = \u00a77[R\u00e5b]\u00a7f {0} shoutFormat = \u00a77[R\u00e5b]\u00a7f {0}
similarWarpExist = En warp med lignende tekst eksisterer allerede. similarWarpExist = En warp med lignende tekst eksisterer allerede.
@ -251,6 +265,7 @@ suicideMessage = \u00a77Farvel grusomme verden...
suicideSuccess = \u00a77{0} tog sit eget liv suicideSuccess = \u00a77{0} tog sit eget liv
takenFromAccount = \u00a7c{0} er taget fra din konto. takenFromAccount = \u00a7c{0} er taget fra din konto.
takenFromOthersAccount = \u00a7c{0} er blevet taget fra {1} konto. takenFromOthersAccount = \u00a7c{0} er blevet taget fra {1} konto.
teleportAAll = \u00a77Teleporting request sent to all players...
teleportAll = \u00a77Teleportere alle spillere... teleportAll = \u00a77Teleportere alle spillere...
teleportAtoB = \u00a77{0}\u00a77 teleporterede dig til {1}\u00a77. teleportAtoB = \u00a77{0}\u00a77 teleporterede dig til {1}\u00a77.
teleportDisabled = {0} har teleportation deaktiveret. teleportDisabled = {0} har teleportation deaktiveret.
@ -269,16 +284,20 @@ thunder = Du {0} torden i din verden
thunderDuration = Du {0} torden i din verden i {1} sekunder. thunderDuration = Du {0} torden i din verden i {1} sekunder.
timeBeforeHeal = Tid inden n\u00e6ste helbredelse: {0} timeBeforeHeal = Tid inden n\u00e6ste helbredelse: {0}
timeBeforeTeleport = Tid f\u00f8r n\u00e6ste teleportering: {0} timeBeforeTeleport = Tid f\u00f8r n\u00e6ste teleportering: {0}
timeFormat = \u00a73{0}\u00a7f or \u00a73{1}\u00a7f or \u00a73{2}\u00a7f
timePattern = (?:([0-9]+)\\s*[a\u00e5y][a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[wu][a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[ht][a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)? timePattern = (?:([0-9]+)\\s*[a\u00e5y][a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[wu][a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[ht][a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)?
timeSet = Tid er sat i alle verdener. timeSet = Tid er sat i alle verdener.
timeSetPermission = \u00a7cYou are not authorized to set the time.
timeWorldCurrent = The current time in {0} is \u00a73{1}
timeWorldSet = The time was set to {0} in: \u00a7c{1}
tradeCompleted = \u00a77Forhandling fuldf\u00f8rt. tradeCompleted = \u00a77Forhandling fuldf\u00f8rt.
tradeSignEmpty = Forhandlings skiltet har ikke nok forsyning tilbage. tradeSignEmpty = Forhandlings skiltet har ikke nok forsyning tilbage.
tradeSignEmptyOwner = There is nothing to collect from this trade sign.
treeFailure = \u00a7cTr\u00e6 genererings fejl. Pr\u00f8v igen p\u00e5 gr\u00e6s eller jord. treeFailure = \u00a7cTr\u00e6 genererings fejl. Pr\u00f8v igen p\u00e5 gr\u00e6s eller jord.
treeSpawned = \u00a77Tr\u00e6 fremkaldt. treeSpawned = \u00a77Tr\u00e6 fremkaldt.
typeTpaccept = \u00a77For at teleportere, skriv \u00a7c/tpaccept\u00a77. typeTpaccept = \u00a77For at teleportere, skriv \u00a7c/tpaccept\u00a77.
typeTpdeny = \u00a77For at n\u00e6gte denne anmodning, skriv \u00a7c/tpdeny\u00a77. typeTpdeny = \u00a77For at n\u00e6gte denne anmodning, skriv \u00a7c/tpdeny\u00a77.
typeWorldName = \u00a77Du kan ogs\u00e5 skrive nanvet p\u00e5 en specifik verden. typeWorldName = \u00a77Du kan ogs\u00e5 skrive nanvet p\u00e5 en specifik verden.
unableToSpawnMob = Kan ikke spawne mob.
unableToSpawnMob = Kunne ikke fremkalde mob. unableToSpawnMob = Kunne ikke fremkalde mob.
unbannedIP = Tilgav IP addresse, ikke l\u00e6ngere bannet. unbannedIP = Tilgav IP addresse, ikke l\u00e6ngere bannet.
unbannedPlayer = Tilgav spiller, ikke l\u00e6ngere bannet. unbannedPlayer = Tilgav spiller, ikke l\u00e6ngere bannet.

View File

@ -1,6 +1,7 @@
#version: TeamCity #version: TeamCity
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by:
addedToAccount = \u00a7a{0} wurden zu deiner Geldb\u00f6rse hinzugef\u00fcgt. addedToAccount = \u00a7a{0} wurden zu deiner Geldb\u00f6rse hinzugef\u00fcgt.
addedToOthersAccount = \u00a7a{0} wurden zu {1}s Konto hinzugef\u00fcgt. addedToOthersAccount = \u00a7a{0} wurden zu {1}s Konto hinzugef\u00fcgt.
alertBroke = zerst\u00f6rt: alertBroke = zerst\u00f6rt:
@ -227,10 +228,24 @@ powerToolAir = Befehl kann nicht mit Luft verbunden werden.
powerToolAttach = Befehl verbunden mit {0} powerToolAttach = Befehl verbunden mit {0}
powerToolRemove = Befehl entfernt von {0} powerToolRemove = Befehl entfernt von {0}
protectionOwner = \u00a76[EssentialsProtect] Besitzer dieses Blocks: {0} protectionOwner = \u00a76[EssentialsProtect] Besitzer dieses Blocks: {0}
pTimeCurrent = \u00a7e{0}''s\u00a7f time is {1}.
pTimeCurrentFixed = \u00a7e{0}''s\u00a7f time is fixed to {1}.
pTimeNormal = \u00a7e{0}''s\u00a7f time is normal and matches the server.
pTimeOthersPermission = \u00a7cYou are not authorized to set other players'' time.
pTimePlayers = These players have their own time:
pTimeReset = Player time has been reset for: \u00a7e{0}
pTimeSet = Player time is set to \u00a73{0}\u00a7f for: \u00a7e{1}
pTimeSetFixed = Player time is fixed to \u00a73{0}\u00a7f for: \u00a7e{1}
questionFormat = \u00a77[Frage]\u00a7f {0} questionFormat = \u00a77[Frage]\u00a7f {0}
reloadAllPlugins = \u00a77Alle plugins neu geladen. reloadAllPlugins = \u00a77Alle plugins neu geladen.
repair = You have successfully repaired your: \u00a7e{0}.
repairAlreadyFixed = \u00a77This item does not need repairing.
repairInvalidType = \u00a7cThis item cannot be repaired.
repairNone = There were no items that needing repairing.
requestAccepted = \u00a77Teleportierungsanfrage akzeptiert. requestAccepted = \u00a77Teleportierungsanfrage akzeptiert.
requestAcceptedFrom = \u00a77{0} accepted your teleport request.
requestDenied = \u00a77Teleportierungsanfrage verweigert. requestDenied = \u00a77Teleportierungsanfrage verweigert.
requestDeniedFrom = \u00a77{0} denied your teleport request.
requestSent = \u00a77Anfrage gesendet an {0}\u00a77. requestSent = \u00a77Anfrage gesendet an {0}\u00a77.
returnPlayerToJailError = Fehler beim Versuch, den Spieler ins Gef\u00e4ngnis zu teleportieren. returnPlayerToJailError = Fehler beim Versuch, den Spieler ins Gef\u00e4ngnis zu teleportieren.
second = Sekunde second = Sekunde
@ -238,6 +253,7 @@ seconds = Sekunden
seenOffline = Spieler {0} ist offline seit {1} seenOffline = Spieler {0} ist offline seit {1}
seenOnline = Spieler {0} ist online seit {1} seenOnline = Spieler {0} ist online seit {1}
serverFull = Server ist voll serverFull = Server ist voll
setSpawner = Changed spawner type to {0}
sheepMalformedColor = Ung\u00fcltige Farbe. sheepMalformedColor = Ung\u00fcltige Farbe.
shoutFormat = \u00a77[Schrei]\u00a7f {0} shoutFormat = \u00a77[Schrei]\u00a7f {0}
similarWarpExist = Ein Warp-Punkt mit einem \u00e4hnlichen Namen existiert bereits. similarWarpExist = Ein Warp-Punkt mit einem \u00e4hnlichen Namen existiert bereits.
@ -249,6 +265,7 @@ suicideMessage = \u00a77Lebewohl grausame Welt...
suicideSuccess = \u00a77{0} hat sich das Leben genommen. suicideSuccess = \u00a77{0} hat sich das Leben genommen.
takenFromAccount = \u00a7c{0} wurden aus deiner Geldb\u00f6rse genommen. takenFromAccount = \u00a7c{0} wurden aus deiner Geldb\u00f6rse genommen.
takenFromOthersAccount = \u00a7c{0} wurde von {1} wurde Rechnung getragen. takenFromOthersAccount = \u00a7c{0} wurde von {1} wurde Rechnung getragen.
teleportAAll = \u00a77Teleporting request sent to all players...
teleportAll = \u00a77Teleportiere alle Spieler... teleportAll = \u00a77Teleportiere alle Spieler...
teleportAtoB = \u00a77{0}\u00a77 teleportiert dich zu {1}\u00a77. teleportAtoB = \u00a77{0}\u00a77 teleportiert dich zu {1}\u00a77.
teleportDisabled = {0} verweigert die Teleportierung. teleportDisabled = {0} verweigert die Teleportierung.
@ -267,16 +284,20 @@ thunder = Es donnert nun in deiner Welt {0}.
thunderDuration = Es donnert nun f\u00fcr {1} Sekunden in deiner Welt {0}. thunderDuration = Es donnert nun f\u00fcr {1} Sekunden in deiner Welt {0}.
timeBeforeHeal = Zeit bis zur n\u00e4chsten Heilung: {0} timeBeforeHeal = Zeit bis zur n\u00e4chsten Heilung: {0}
timeBeforeTeleport = Zeit bis zum n\u00e4chsten Teleport: {0} timeBeforeTeleport = Zeit bis zum n\u00e4chsten Teleport: {0}
timeFormat = \u00a73{0}\u00a7f or \u00a73{1}\u00a7f or \u00a73{2}\u00a7f
timePattern = (?:([0-9]+)\\s*[yj][a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[dt][a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:h|st)[a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)? timePattern = (?:([0-9]+)\\s*[yj][a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[dt][a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:h|st)[a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)?
timeSet = Zeit in allen Welten gesetzt. timeSet = Zeit in allen Welten gesetzt.
timeSetPermission = \u00a7cYou are not authorized to set the time.
timeWorldCurrent = The current time in {0} is \u00a73{1}
timeWorldSet = The time was set to {0} in: \u00a7c{1}
tradeCompleted = \u00a77Handel abgeschlossen. tradeCompleted = \u00a77Handel abgeschlossen.
tradeSignEmpty = Der Bestand des Trade-Schild ist aufgebraucht. tradeSignEmpty = Der Bestand des Trade-Schild ist aufgebraucht.
tradeSignEmptyOwner = There is nothing to collect from this trade sign.
treeFailure = \u00a7cBaumpflanzung gescheitert. Versuche es auf Gras oder Dreck. treeFailure = \u00a7cBaumpflanzung gescheitert. Versuche es auf Gras oder Dreck.
treeSpawned = \u00a77Baum gepflanzt. treeSpawned = \u00a77Baum gepflanzt.
typeTpaccept = \u00a77Um zu teleportieren, schreibe \u00a7c/tpaccept\u00a77. typeTpaccept = \u00a77Um zu teleportieren, schreibe \u00a7c/tpaccept\u00a77.
typeTpdeny = \u00a77Um diese Anfrage abzulehnen, schreibe \u00a7c/tpdeny\u00a77. typeTpdeny = \u00a77Um diese Anfrage abzulehnen, schreibe \u00a7c/tpdeny\u00a77.
typeWorldName = \u00a77Du kannst auch den Namen der Welt eingeben. typeWorldName = \u00a77Du kannst auch den Namen der Welt eingeben.
unableToSpawnMob = Erzeugen eines Monsters gescheitert
unableToSpawnMob = Fehler beim Erzeugen eines Monster. unableToSpawnMob = Fehler beim Erzeugen eines Monster.
unbannedIP = Verbannung von IP-Adresse r\u00fcckg\u00e4ngig gemacht. unbannedIP = Verbannung von IP-Adresse r\u00fcckg\u00e4ngig gemacht.
unbannedPlayer = Verbannung von Spieler r\u00fcckg\u00e4ngig gemacht. unbannedPlayer = Verbannung von Spieler r\u00fcckg\u00e4ngig gemacht.
@ -326,4 +347,3 @@ year = Jahr
years = Jahre years = Jahre
youAreHealed = \u00a77Du wurdest geheilt. youAreHealed = \u00a77Du wurdest geheilt.
youHaveNewMail = \u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen. youHaveNewMail = \u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen.
invalidCharge = \u00a7cUng\u00fcltige Verf\u00fcgung.

View File

@ -1,6 +1,7 @@
#version: TeamCity #version: TeamCity
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by:
addedToAccount = \u00a7a{0} has been added to your account. addedToAccount = \u00a7a{0} has been added to your account.
addedToOthersAccount = \u00a7a{0} has been added to {1} account. addedToOthersAccount = \u00a7a{0} has been added to {1} account.
alertBroke = broke: alertBroke = broke:
@ -227,8 +228,20 @@ powerToolAir = Command can''t be attached to air.
powerToolAttach = Command assigned to {0} powerToolAttach = Command assigned to {0}
powerToolRemove = Command removed from {0} powerToolRemove = Command removed from {0}
protectionOwner = \u00a76[EssentialsProtect] Protection owner: {0} protectionOwner = \u00a76[EssentialsProtect] Protection owner: {0}
pTimeCurrent = \u00a7e{0}''s\u00a7f time is {1}.
pTimeCurrentFixed = \u00a7e{0}''s\u00a7f time is fixed to {1}.
pTimeNormal = \u00a7e{0}''s\u00a7f time is normal and matches the server.
pTimeOthersPermission = \u00a7cYou are not authorized to set other players'' time.
pTimePlayers = These players have their own time:
pTimeReset = Player time has been reset for: \u00a7e{0}
pTimeSet = Player time is set to \u00a73{0}\u00a7f for: \u00a7e{1}
pTimeSetFixed = Player time is fixed to \u00a73{0}\u00a7f for: \u00a7e{1}
questionFormat = \u00a77[Question]\u00a7f {0} questionFormat = \u00a77[Question]\u00a7f {0}
reloadAllPlugins = \u00a77Reloaded all plugins. reloadAllPlugins = \u00a77Reloaded all plugins.
repair = You have successfully repaired your: \u00a7e{0}.
repairAlreadyFixed = \u00a77This item does not need repairing.
repairInvalidType = \u00a7cThis item cannot be repaired.
repairNone = There were no items that needing repairing.
requestAccepted = \u00a77Teleport request accepted. requestAccepted = \u00a77Teleport request accepted.
requestAcceptedFrom = \u00a77{0} accepted your teleport request. requestAcceptedFrom = \u00a77{0} accepted your teleport request.
requestDenied = \u00a77Teleport request denied. requestDenied = \u00a77Teleport request denied.
@ -240,6 +253,7 @@ seconds = seconds
seenOffline = Player {0} is offline since {1} seenOffline = Player {0} is offline since {1}
seenOnline = Player {0} is online since {1} seenOnline = Player {0} is online since {1}
serverFull = Server is full serverFull = Server is full
setSpawner = Changed spawner type to {0}
sheepMalformedColor = Malformed color. sheepMalformedColor = Malformed color.
shoutFormat = \u00a77[Shout]\u00a7f {0} shoutFormat = \u00a77[Shout]\u00a7f {0}
similarWarpExist = A warp with a similar name already exists. similarWarpExist = A warp with a similar name already exists.
@ -251,6 +265,7 @@ suicideMessage = \u00a77Goodbye Cruel World...
suicideSuccess = \u00a77{0} took their own life suicideSuccess = \u00a77{0} took their own life
takenFromAccount = \u00a7c{0} has been taken from your account. takenFromAccount = \u00a7c{0} has been taken from your account.
takenFromOthersAccount = \u00a7c{0} has been taken from {1} account. takenFromOthersAccount = \u00a7c{0} has been taken from {1} account.
teleportAAll = \u00a77Teleporting request sent to all players...
teleportAll = \u00a77Teleporting all players... teleportAll = \u00a77Teleporting all players...
teleportAtoB = \u00a77{0}\u00a77 teleported you to {1}\u00a77. teleportAtoB = \u00a77{0}\u00a77 teleported you to {1}\u00a77.
teleportDisabled = {0} has teleportation disabled. teleportDisabled = {0} has teleportation disabled.
@ -269,17 +284,21 @@ thunder = You {0} thunder in your world
thunderDuration = You {0} thunder in your world for {1} seconds. thunderDuration = You {0} thunder in your world for {1} seconds.
timeBeforeHeal = Time before next heal: {0} timeBeforeHeal = Time before next heal: {0}
timeBeforeTeleport = Time before next teleport: {0} timeBeforeTeleport = Time before next teleport: {0}
timeFormat = \u00a73{0}\u00a7f or \u00a73{1}\u00a7f or \u00a73{2}\u00a7f
timePattern = (?:([0-9]+)\\s*y[a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*h[a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)? timePattern = (?:([0-9]+)\\s*y[a-z]*[,\\s]*)?(?:([0-9]+)\\s*mo[a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*h[a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)?
timeSet = Time set in all worlds. timeSet = Time set in all worlds.
timeSetPermission = \u00a7cYou are not authorized to set the time.
timeWorldCurrent = The current time in {0} is \u00a73{1}
timeWorldSet = The time was set to {0} in: \u00a7c{1}
tradeCompleted = \u00a77Trade completed. tradeCompleted = \u00a77Trade completed.
tradeSignEmpty = The trade sign does not have enough supply left. tradeSignEmpty = The trade sign does not have enough supply left.
tradeSignEmptyOwner = There is nothing to collect from this trade sign.
treeFailure = \u00a7cTree generation failure. Try again on grass or dirt. treeFailure = \u00a7cTree generation failure. Try again on grass or dirt.
treeSpawned = \u00a77Tree spawned. treeSpawned = \u00a77Tree spawned.
typeTpaccept = \u00a77To teleport, type \u00a7c/tpaccept\u00a77. typeTpaccept = \u00a77To teleport, type \u00a7c/tpaccept\u00a77.
typeTpdeny = \u00a77To deny this request, type \u00a7c/tpdeny\u00a77. typeTpdeny = \u00a77To deny this request, type \u00a7c/tpdeny\u00a77.
typeWorldName = \u00a77You can also type the name of a specific world. typeWorldName = \u00a77You can also type the name of a specific world.
unableToSpawnMob = Unable to spawn mob. unableToSpawnMob = Unable to spawn mob.
unableToSpawnMob = Unable to spawn mob.
unbannedIP = Unbanned IP address. unbannedIP = Unbanned IP address.
unbannedPlayer = Unbanned player. unbannedPlayer = Unbanned player.
unignorePlayer = You are not ignoring player {0} anymore. unignorePlayer = You are not ignoring player {0} anymore.

View File

@ -1,6 +1,7 @@
#version: TeamCity #version: TeamCity
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by:
addedToAccount = \u00a7a{0} a \u00e9t\u00e9 rajout\u00e9 a votre compte. addedToAccount = \u00a7a{0} a \u00e9t\u00e9 rajout\u00e9 a votre compte.
addedToOthersAccount = \u00a7a{0} a \u00e9t\u00e9 ajout\u00e9 \u00e0 {1} compte. addedToOthersAccount = \u00a7a{0} a \u00e9t\u00e9 ajout\u00e9 \u00e0 {1} compte.
alertBroke = a cass\u00e9: alertBroke = a cass\u00e9:
@ -227,10 +228,24 @@ powerToolAir = La commande ne peut pas \u00eatre attach\u00e9e \u00e0 l''air.
powerToolAttach = Commande assign\u00e9e \u00e0 {0} powerToolAttach = Commande assign\u00e9e \u00e0 {0}
powerToolRemove = Commande enlev\u00e9e \u00e0 {0} powerToolRemove = Commande enlev\u00e9e \u00e0 {0}
protectionOwner = \u00a76[EssentialsProtect] Propri\u00e9taire de la protection : {0} protectionOwner = \u00a76[EssentialsProtect] Propri\u00e9taire de la protection : {0}
pTimeCurrent = \u00a7e{0}''s\u00a7f time is {1}.
pTimeCurrentFixed = \u00a7e{0}''s\u00a7f time is fixed to {1}.
pTimeNormal = \u00a7e{0}''s\u00a7f time is normal and matches the server.
pTimeOthersPermission = \u00a7cYou are not authorized to set other players'' time.
pTimePlayers = These players have their own time:
pTimeReset = Player time has been reset for: \u00a7e{0}
pTimeSet = Player time is set to \u00a73{0}\u00a7f for: \u00a7e{1}
pTimeSetFixed = Player time is fixed to \u00a73{0}\u00a7f for: \u00a7e{1}
questionFormat = \u00a77[Question]\u00a7f {0} questionFormat = \u00a77[Question]\u00a7f {0}
reloadAllPlugins = \u00a77Tous les plugins ont \u00e9t\u00e9 recharg\u00e9s. reloadAllPlugins = \u00a77Tous les plugins ont \u00e9t\u00e9 recharg\u00e9s.
repair = You have successfully repaired your: \u00a7e{0}.
repairAlreadyFixed = \u00a77This item does not need repairing.
repairInvalidType = \u00a7cThis item cannot be repaired.
repairNone = There were no items that needing repairing.
requestAccepted = \u00a77Demande de t\u00e9l\u00e9portation accept\u00e9e. requestAccepted = \u00a77Demande de t\u00e9l\u00e9portation accept\u00e9e.
requestAcceptedFrom = \u00a77{0} accepted your teleport request.
requestDenied = \u00a77Demande de t\u00e9l\u00e9portation refus\u00e9e. requestDenied = \u00a77Demande de t\u00e9l\u00e9portation refus\u00e9e.
requestDeniedFrom = \u00a77{0} denied your teleport request.
requestSent = \u00a77Requ\u00eate envoy\u00e9e \u00e0 {0}\u00a77. requestSent = \u00a77Requ\u00eate envoy\u00e9e \u00e0 {0}\u00a77.
returnPlayerToJailError = Erreur survenue lors de la tentative d''emprisonner de nouveau un joueur. returnPlayerToJailError = Erreur survenue lors de la tentative d''emprisonner de nouveau un joueur.
second = seconde second = seconde
@ -238,6 +253,7 @@ seconds = secondes
seenOffline = Le joueur {0} est hors ligne depuis {1} seenOffline = Le joueur {0} est hors ligne depuis {1}
seenOnline = Le joueur {0} est en ligne depuis {1} seenOnline = Le joueur {0} est en ligne depuis {1}
serverFull = Le serveur est plein. serverFull = Le serveur est plein.
setSpawner = Changed spawner type to {0}
sheepMalformedColor = Couleur mal form\u00e9e. sheepMalformedColor = Couleur mal form\u00e9e.
shoutFormat = \u00a77[Crie]\u00a7f {0} shoutFormat = \u00a77[Crie]\u00a7f {0}
similarWarpExist = Un warp avec un nom similaire existe d\u00e9j\u00e0. similarWarpExist = Un warp avec un nom similaire existe d\u00e9j\u00e0.
@ -249,6 +265,7 @@ suicideMessage = \u00a77Au revoir monde cruel...
suicideSuccess = \u00a77{0} a pris sa propre vie. suicideSuccess = \u00a77{0} a pris sa propre vie.
takenFromAccount = \u00a7c{0} ont \u00e9t\u00e9 pris de votre compte. takenFromAccount = \u00a7c{0} ont \u00e9t\u00e9 pris de votre compte.
takenFromOthersAccount = \u00a7c{0} a \u00e9t\u00e9 prise de {1} compte. takenFromOthersAccount = \u00a7c{0} a \u00e9t\u00e9 prise de {1} compte.
teleportAAll = \u00a77Teleporting request sent to all players...
teleportAll = \u00a77T\u00e9l\u00e9poration de tous les joueurs. teleportAll = \u00a77T\u00e9l\u00e9poration de tous les joueurs.
teleportAtoB = \u00a77{0}\u00a77 vous a t\u00e9l\u00e9port\u00e9 \u00e0 {1}\u00a77. teleportAtoB = \u00a77{0}\u00a77 vous a t\u00e9l\u00e9port\u00e9 \u00e0 {1}\u00a77.
teleportDisabled = {0} a la t\u00e9l\u00e9portation d\u00e9sactiv\u00e9. teleportDisabled = {0} a la t\u00e9l\u00e9portation d\u00e9sactiv\u00e9.
@ -267,10 +284,15 @@ thunder = Vous avez {0} la foudre dans votre monde.
thunderDuration = Vous avez {0} la foudre dans le serveur {1} secondes. thunderDuration = Vous avez {0} la foudre dans le serveur {1} secondes.
timeBeforeHeal = Temps avant le prochain soin : {0} timeBeforeHeal = Temps avant le prochain soin : {0}
timeBeforeTeleport = Temps avant prochaine t\u00e9l\u00e9portation {0} timeBeforeTeleport = Temps avant prochaine t\u00e9l\u00e9portation {0}
timeFormat = \u00a73{0}\u00a7f or \u00a73{1}\u00a7f or \u00a73{2}\u00a7f
timePattern = (?:([0-9]+)\\\\s*[ya][a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*mo[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*(?:sem|w)[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*[dj][a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*h[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*m[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*(?:s[a-z]*)?)? timePattern = (?:([0-9]+)\\\\s*[ya][a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*mo[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*(?:sem|w)[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*[dj][a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*h[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*m[a-z]*[,\\\\s]*)?(?:([0-9]+)\\\\s*(?:s[a-z]*)?)?
timeSet = Heure modifi\u00e9e dans tous les mondes. timeSet = Heure modifi\u00e9e dans tous les mondes.
timeSetPermission = \u00a7cYou are not authorized to set the time.
timeWorldCurrent = The current time in {0} is \u00a73{1}
timeWorldSet = The time was set to {0} in: \u00a7c{1}
tradeCompleted = \u00a77\u00c9change termin\u00e9. tradeCompleted = \u00a77\u00c9change termin\u00e9.
tradeSignEmpty = Le panneau de vente n''as pas encore assez de stock. tradeSignEmpty = Le panneau de vente n''as pas encore assez de stock.
tradeSignEmptyOwner = There is nothing to collect from this trade sign.
treeFailure = \u00a7cEchec de la g\u00e9n\u00e9ration de l''arbre. Essayez de nouveau sur de l''herbe ou de la terre. treeFailure = \u00a7cEchec de la g\u00e9n\u00e9ration de l''arbre. Essayez de nouveau sur de l''herbe ou de la terre.
treeSpawned = \u00a77Arbre cr\u00e9\u00e9. treeSpawned = \u00a77Arbre cr\u00e9\u00e9.
typeTpaccept = \u00a77Pour le t\u00e9l\u00e9porter, tapez \u00a7c/tpaccept\u00a77. typeTpaccept = \u00a77Pour le t\u00e9l\u00e9porter, tapez \u00a7c/tpaccept\u00a77.

View File

@ -1,7 +1,7 @@
#version: TeamCity #version: TeamCity
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by Geertje123 # by: Geertje123
addedToAccount = \u00a7a{0} is gestort op je account. addedToAccount = \u00a7a{0} is gestort op je account.
addedToOthersAccount = \u00a7a{0} is overgemaakt naar {1}''s rekening addedToOthersAccount = \u00a7a{0} is overgemaakt naar {1}''s rekening
alertBroke = gebroken: alertBroke = gebroken:
@ -228,10 +228,24 @@ powerToolAir = Command kan niet worden bevestigd aan lucht.
powerToolAttach = Command toegewezen aan {0} powerToolAttach = Command toegewezen aan {0}
powerToolRemove = Command verwijderd van {0} powerToolRemove = Command verwijderd van {0}
protectionOwner = \u00a76[EssentialsProtect] Beschermingeigenaar: {0} protectionOwner = \u00a76[EssentialsProtect] Beschermingeigenaar: {0}
pTimeCurrent = \u00a7e{0}''s\u00a7f time is {1}.
pTimeCurrentFixed = \u00a7e{0}''s\u00a7f time is fixed to {1}.
pTimeNormal = \u00a7e{0}''s\u00a7f time is normal and matches the server.
pTimeOthersPermission = \u00a7cYou are not authorized to set other players'' time.
pTimePlayers = These players have their own time:
pTimeReset = Player time has been reset for: \u00a7e{0}
pTimeSet = Player time is set to \u00a73{0}\u00a7f for: \u00a7e{1}
pTimeSetFixed = Player time is fixed to \u00a73{0}\u00a7f for: \u00a7e{1}
questionFormat = \u00a77[Vraag]\u00a7f {0} questionFormat = \u00a77[Vraag]\u00a7f {0}
reloadAllPlugins = \u00a77Alle plugins zijn herladen. reloadAllPlugins = \u00a77Alle plugins zijn herladen.
repair = You have successfully repaired your: \u00a7e{0}.
repairAlreadyFixed = \u00a77This item does not need repairing.
repairInvalidType = \u00a7cThis item cannot be repaired.
repairNone = There were no items that needing repairing.
requestAccepted = \u00a77Teleporteer aanvraag geaccepteerd. requestAccepted = \u00a77Teleporteer aanvraag geaccepteerd.
requestAcceptedFrom = \u00a77{0} accepted your teleport request.
requestDenied = \u00a77Teleporteer aanvraag geweigerd. requestDenied = \u00a77Teleporteer aanvraag geweigerd.
requestDeniedFrom = \u00a77{0} denied your teleport request.
requestSent = \u00a77Aanvraag verstuurd naar {0}\u00a77. requestSent = \u00a77Aanvraag verstuurd naar {0}\u00a77.
returnPlayerToJailError = Fout opgetreden bij terugzetten van speler in gevangenis. returnPlayerToJailError = Fout opgetreden bij terugzetten van speler in gevangenis.
second = seconde second = seconde
@ -239,6 +253,7 @@ seconds = seconde
seenOffline = Speler {0} is offline vanaf {1} seenOffline = Speler {0} is offline vanaf {1}
seenOnline = Speler {0} is online vanaf {1} seenOnline = Speler {0} is online vanaf {1}
serverFull = Server is vol serverFull = Server is vol
setSpawner = Changed spawner type to {0}
sheepMalformedColor = Misvoormde kleur. sheepMalformedColor = Misvoormde kleur.
shoutFormat = \u00a77[Shout]\u00a7f {0} shoutFormat = \u00a77[Shout]\u00a7f {0}
similarWarpExist = Er bestaat al een warp met dezelfde naam. similarWarpExist = Er bestaat al een warp met dezelfde naam.
@ -250,6 +265,7 @@ suicideMessage = \u00a77Vaarwel vreedzame wereld...
suicideSuccess = \u00a77{0} pleegde zelfmoord suicideSuccess = \u00a77{0} pleegde zelfmoord
takenFromAccount = \u00a7c{0} is van je bank rekening afgehaald. takenFromAccount = \u00a7c{0} is van je bank rekening afgehaald.
takenFromOthersAccount = \u00a7c{0} is overgenomen uit {1} account. takenFromOthersAccount = \u00a7c{0} is overgenomen uit {1} account.
teleportAAll = \u00a77Teleporting request sent to all players...
teleportAll = \u00a77Bezig met teleporteren van alle spelers... teleportAll = \u00a77Bezig met teleporteren van alle spelers...
teleportAtoB = \u00a77{0}\u00a77 is naar {1}\u00a77 geteleporteerd. teleportAtoB = \u00a77{0}\u00a77 is naar {1}\u00a77 geteleporteerd.
teleportDisabled = {0} heeft teleporteren uit gezet. teleportDisabled = {0} heeft teleporteren uit gezet.
@ -268,17 +284,21 @@ thunder = Je {0} onweert de wereld
thunderDuration = Je {0} onweert de wereld voor {1} seconde. thunderDuration = Je {0} onweert de wereld voor {1} seconde.
timeBeforeHeal = Afkoeltijd tot de volgende heal: {0} timeBeforeHeal = Afkoeltijd tot de volgende heal: {0}
timeBeforeTeleport = Afkoeltijd tot de volgende teleport: {0} timeBeforeTeleport = Afkoeltijd tot de volgende teleport: {0}
timeFormat = \u00a73{0}\u00a7f or \u00a73{1}\u00a7f or \u00a73{2}\u00a7f
timePattern = (?:([0-9]+)\\s*[yj][a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[oa][a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[hu][a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)? timePattern = (?:([0-9]+)\\s*[yj][a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[oa][a-z]*[,\\s]*)?(?:([0-9]+)\\s*w[a-z]*[,\\s]*)?(?:([0-9]+)\\s*d[a-z]*[,\\s]*)?(?:([0-9]+)\\s*[hu][a-z]*[,\\s]*)?(?:([0-9]+)\\s*m[a-z]*[,\\s]*)?(?:([0-9]+)\\s*(?:s[a-z]*)?)?
timeSet = Tijd ingesteld in alle werelden. timeSet = Tijd ingesteld in alle werelden.
timeSetPermission = \u00a7cYou are not authorized to set the time.
timeWorldCurrent = The current time in {0} is \u00a73{1}
timeWorldSet = The time was set to {0} in: \u00a7c{1}
tradeCompleted = \u00a77Ruil verricht. tradeCompleted = \u00a77Ruil verricht.
tradeSignEmpty = Het handelsbordje heeft een te kleine voorraad. tradeSignEmpty = Het handelsbordje heeft een te kleine voorraad.
tradeSignEmptyOwner = There is nothing to collect from this trade sign.
treeFailure = \u00a7cFout bij het genereren van boom. Pobeer het opnieuw op gras of dirt. treeFailure = \u00a7cFout bij het genereren van boom. Pobeer het opnieuw op gras of dirt.
treeSpawned = \u00a77Boom gespawned. treeSpawned = \u00a77Boom gespawned.
typeTpaccept = \u00a77Om te teleporten, type \u00a7c/tpaccept\u00a77. typeTpaccept = \u00a77Om te teleporten, type \u00a7c/tpaccept\u00a77.
typeTpdeny = \u00a77Om te weigeren, type \u00a7c/tpdeny\u00a77. typeTpdeny = \u00a77Om te weigeren, type \u00a7c/tpdeny\u00a77.
typeWorldName = \u00a77Je kan ook de exacte naam van de wereld typen. typeWorldName = \u00a77Je kan ook de exacte naam van de wereld typen.
unableToSpawnMob = De mob kan niet gespawned worden. unableToSpawnMob = De mob kan niet gespawned worden.
unableToSpawnMob = Mob kon niet gespawnd worden.
unbannedIP = IP adres ontbannen. unbannedIP = IP adres ontbannen.
unbannedPlayer = Speler ontbannen. unbannedPlayer = Speler ontbannen.
unignorePlayer = Je negeert {0} niet meer. unignorePlayer = Je negeert {0} niet meer.

View File

@ -222,6 +222,10 @@ commands:
description: Reloads all plugins. description: Reloads all plugins.
usage: /<command> usage: /<command>
aliases: [rel,ereloadall,ereload,erel] aliases: [rel,ereloadall,ereload,erel]
repair:
description: Repairs the item in hand, or all items in the current inventory.
usage: /<command> [hand|all]
aliases: [fix]
rules: rules:
description: Views the server rules. description: Views the server rules.
usage: /<command> usage: /<command>
@ -275,7 +279,7 @@ commands:
usage: /<command> <true/false> [duration] usage: /<command> <true/false> [duration]
aliases: [ethunder] aliases: [ethunder]
time: time:
description: Change the world time. Defaults tos current world. description: Change the world time. Defaults to current world.
usage: /<command> [day|night|dawn|17:30|4pm|4000ticks] [worldname|all] usage: /<command> [day|night|dawn|17:30|4pm|4000ticks] [worldname|all]
aliases: [etime, day, night] aliases: [etime, day, night]
togglejail: togglejail:

View File

@ -13,43 +13,6 @@ groups:
prefix: '&e' prefix: '&e'
build: false build: false
suffix: '' suffix: ''
SemiAdmin:
default: false
permissions:
- -groupmanager.mantogglesave
- essentials
- essentials.antioch
- essentials.burn
- essentials.clearinventory
- essentials.cooldown.bypass
- essentials.deljail
- essentials.fireball
- essentials.gc
- essentials.give
- essentials.god
- essentials.heal
- essentials.heal.others
- essentials.lightning
- essentials.invsee
- essentials.item
- essentials.jails
- essentials.kickall
- essentials.kit.*
- essentials.mute
- essentials.sell
- essentials.setjail
- essentials.signs.*
- essentials.spawnmob
- essentials.teleport.cooldown.bypass
- essentials.teleport.timer.bypass
- essentials.togglejail
- groupmanager.*
inheritance:
- moderator
info:
prefix: '&c'
build: true
suffix: ''
Builder: Builder:
default: false default: false
permissions: permissions:
@ -57,10 +20,15 @@ groups:
- essentials.back - essentials.back
- essentials.back.ondeath - essentials.back.ondeath
- essentials.balance - essentials.balance
- essentials.balance.others
- essentials.balancetop
- essentials.chat.color
- essentials.chat.shout - essentials.chat.shout
- essentials.chat.question
- essentials.compass - essentials.compass
- essentials.home
- essentials.depth - essentials.depth
- essentials.home
- essentials.ignore
- essentials.kit - essentials.kit
- essentials.kit.tools - essentials.kit.tools
- essentials.mail - essentials.mail
@ -69,6 +37,7 @@ groups:
- essentials.msg - essentials.msg
- essentials.nick - essentials.nick
- essentials.pay - essentials.pay
- essentials.ping
- essentials.portal - essentials.portal
- essentials.powertool - essentials.powertool
- essentials.protect - essentials.protect
@ -83,6 +52,7 @@ groups:
- essentials.signs.break.protection - essentials.signs.break.protection
- essentials.signs.break.trade - essentials.signs.break.trade
- essentials.suicide - essentials.suicide
- essentials.time
- essentials.tpa - essentials.tpa
- essentials.tpaccept - essentials.tpaccept
- essentials.tpahere - essentials.tpahere
@ -100,28 +70,41 @@ groups:
default: false default: false
permissions: permissions:
- essentials.ban - essentials.ban
- essentials.ban.notify
- essentials.banip - essentials.banip
- essentials.broadcast - essentials.broadcast
- essentials.clearinventory
- essentials.delwarp - essentials.delwarp
- essentials.eco - essentials.eco.loan
- essentials.ext - essentials.ext
- essentials.getpos - essentials.getpos
- essentials.helpop.recieve
- essentials.home.others
- essentials.invsee
- essentials.jails
- essentials.jump - essentials.jump
- essentials.kick - essentials.kick
- essentials.kick.notify
- essentials.kill - essentials.kill
- essentials.mute
- essentials.nick.others
- essentials.realname
- essentials.setwarp - essentials.setwarp
- essentials.signs.create.* - essentials.signs.create.*
- essentials.signs.break.* - essentials.signs.break.*
- essentials.spawner - essentials.spawner
- essentials.thunder - essentials.thunder
- essentials.time - essentials.time
- essentials.time.world - essentials.time.set
- essentials.protect.alerts
- essentials.protect.admin
- essentials.protect.ownerinfo
- essentials.ptime
- essentials.ptime.others
- essentials.togglejail - essentials.togglejail
- essentials.top - essentials.top
- essentials.tp - essentials.tp
- essentials.tphere - essentials.tphere
- essentials.tpo
- essentials.tpohere
- essentials.tppos - essentials.tppos
- essentials.tptoggle - essentials.tptoggle
- essentials.unban - essentials.unban
@ -131,12 +114,11 @@ groups:
- essentials.world - essentials.world
- groupmanager.listgroups - groupmanager.listgroups
- groupmanager.mandemote - groupmanager.mandemote
- groupmanager.manload
- groupmanager.manpromote - groupmanager.manpromote
- groupmanager.mansave
- groupmanager.manselect - groupmanager.manselect
- groupmanager.manuadd - groupmanager.manuadd
- groupmanager.manudel - groupmanager.manudel
- groupmanager.manwhois
inheritance: inheritance:
- builder - builder
info: info:
@ -144,11 +126,32 @@ groups:
build: true build: true
suffix: '' suffix: ''
Admin: Admin:
default: false
permissions:
- -essentials.backup
- -essentials.essentials
- -essentials.setspawn
- -essentials.reloadall
- -essentials.plugin
- essentials.*
- groupmanager.mantogglevalidate
- groupmanager.mansave
- groupmanager.mangcheckp
- groupmanager.manglistp
- groupmanager.manucheckp
- groupmanager.manulistp
inheritance:
- moderator
info:
prefix: '&c'
build: true
suffix: ''
Owner:
default: false default: false
permissions: permissions:
- '*' - '*'
inheritance: inheritance:
- semiadmin - admin
info: info:
prefix: '&4' prefix: '&4'
build: true build: true

View File

@ -1,14 +1,11 @@
# "For a more advanced configuration example utilizing the advanced features of GroupManager, see http://pastebin.com/a8ZA0j5G" # "For a more advanced configuration example utilizing the advanced features of GroupManager, see http://pastebin.com/a8ZA0j5G"
# "You will want to remove these users and replace them with your own"
users: users:
kimkandor: snowleo:
subgroups: [] subgroups: []
permissions: [] permissions: []
group: Admin group: Admin
mudzereli: khobbits:
subgroups: []
permissions: []
group: Builder
zenexer:
subgroups: [] subgroups: []
permissions: [] permissions: []
group: Admin group: Admin