Skip to content

Commit

Permalink
Improve messages/formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stuntguy3000 authored and khobbits committed May 10, 2014
1 parent 6adacbb commit 7ba097c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Essentials/src/com/earth2me/essentials/Teleport.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void teleport(Player entity, Trade chargeFor, TeleportCause cause) throws
{
ITarget target = new PlayerTarget(entity);
teleport(teleportOwner, target, chargeFor, cause);
teleportOwner.sendMessage(tl("teleporting", target.getLocation().getWorld().getName(), target.getLocation().getBlockX(), target.getLocation().getBlockY(), target.getLocation().getBlockZ()));
teleportOwner.sendMessage(tl("teleportToPlayer", entity.getDisplayName()));
}

//This is used when teleporting to stored location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public void run(final Server server, final User user, final String commandLabel,
TreeType tree = TreeType.BIRCH;
try // update check
{

if (args.length < 1)
{
throw new NotEnoughArgumentsException();
Expand Down
2 changes: 1 addition & 1 deletion Essentials/src/info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Minecraft colors:
&6Time of world:&r {WORLDTIME24}
&6Date of world:&r {WORLDDATE}
&6Plugin list:&r {PLUGINS}
&6Version of Craftbukkit:&r {VERSION}
&6Version of CraftBukkit:&r {VERSION}
11 changes: 6 additions & 5 deletions Essentials/src/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -420,11 +420,12 @@ teleportRequest=\u00a7c{0}\u00a76 has requested to teleport to you.
teleportRequestTimeoutInfo=\u00a76This request will timeout after\u00a7c {0} seconds\u00a76.
teleportTop=\u00a76Teleporting to top.
teleportationCommencing=\u00a76Teleportation commencing...
teleportationDisabled=\u00a76Teleportation disabled.
teleportationDisabledFor=\u00a76Teleportation disabled for \u00a7c{0}\u00a76.
teleportationEnabled=\u00a76Teleportation enabled.
teleportationEnabledFor=\u00a76Teleportation enabled for \u00a7c{0}\u00a76.
teleportationDisabled=\u00a76Teleportation \u00a7cdisabled\u00a76.
teleportationDisabledFor=\u00a76Teleportation \u00a7cdisabled \u00a76for \u00a7c{0}\u00a76.
teleportationEnabled=\u00a76Teleportation \u00a7cenabled\u00a76.
teleportationEnabledFor=\u00a76Teleportation \u00a7cenabled \u00a76for \u00a7c{0}\u00a76.
teleporting=\u00a76Teleporting...
teleportToPlayer=\u00a76Teleporting to \u00a7c{0}\u00a76.
tempBanned=Temporarily banned from server for {0}.
tempbanExempt=\u00a74You may not tempban that player.
thunder=\u00a76You\u00a7c {0} \u00a76thunder in your world.
Expand Down Expand Up @@ -535,7 +536,7 @@ ignoreExempt=\u00a74You cannot ignore that player.
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
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.
Expand Down
7 changes: 4 additions & 3 deletions Essentials/src/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,9 @@ teleportRequest=\u00a7c{0}\u00a76 has requested to teleport to you.
teleportRequestTimeoutInfo=\u00a76This request will timeout after\u00a7c {0} seconds\u00a76.
teleportTop=\u00a76Teleporting to top.
teleportationCommencing=\u00a76Teleportation commencing...
teleportationDisabled=\u00a76Teleportation disabled.
teleportationDisabled=\u00a76Teleportation \u00a7disabled\u00a76.
teleportationDisabledFor=\u00a76Teleportation disabled for \u00a7c{0}\u00a76.
teleportationEnabled=\u00a76Teleportation enabled.
teleportationEnabled=\u00a76Teleportation \u00a7enabled\u00a76.

This comment has been minimized.

Copy link
@stuntguy3000

stuntguy3000 May 11, 2014

Author Contributor

"\u00a7enabled\u00a76" There is no colour code here, correct?

teleportationEnabledFor=\u00a76Teleportation enabled for \u00a7c{0}\u00a76.
teleporting=\u00a76Teleporting...
tempBanned=Temporarily banned from server for {0}.
Expand Down Expand Up @@ -535,7 +535,7 @@ ignoreExempt=\u00a74You cannot ignore that player.
unsafeTeleportDestination=\u00a74The teleport destination is unsafe and teleport-safety is disabled.
noMetaJson=JSON Metadata is not supported in this version of Bukkit.
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
skullChanged=\u00a76Skull changed to \u00a7c{0}.\u00a76.
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.
Expand All @@ -547,3 +547,4 @@ mailTooLong=\u00a74Mail message too long. Try to keep it below 1000 characters.
mailDelay=Too many mails have been sent within the last minute. Maximum\: {0}
seenAccounts=\u00a76Player has also been known as:\u00a7c {0}
unableToSpawnItem=\u00a74Cannot spawn \u00a7c{0}\u00a74, this is not a spawnable item.
teleportToPlayer=\u00a76Teleporting to \u00a7c{0}\u00a76.

0 comments on commit 7ba097c

Please sign in to comment.