mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-29 19:41:26 +01:00
Stylize 'bed' in /home list
This commit is contained in:
parent
5a13e9bbe5
commit
24c93c11c0
@ -50,10 +50,10 @@ public class Commanddelhome extends EssentialsCommand
|
|||||||
{
|
{
|
||||||
name = expandedArg[0];
|
name = expandedArg[0];
|
||||||
}
|
}
|
||||||
//TODO: Think up a nice error message
|
|
||||||
/*
|
|
||||||
* if (name.equalsIgnoreCase("bed")) { throw new Exception("You cannot remove the vanilla home point"); }
|
if (name.equalsIgnoreCase("bed")) { throw new Exception(_("invalidHomeName")); }
|
||||||
*/
|
|
||||||
user.delHome(name.toLowerCase(Locale.ENGLISH));
|
user.delHome(name.toLowerCase(Locale.ENGLISH));
|
||||||
sender.sendMessage(_("deleteHome", name));
|
sender.sendMessage(_("deleteHome", name));
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ public class Commandhome extends EssentialsCommand
|
|||||||
{
|
{
|
||||||
if (bed != null && user.isAuthorized("essentials.home.bed"))
|
if (bed != null && user.isAuthorized("essentials.home.bed"))
|
||||||
{
|
{
|
||||||
homes.add("bed");
|
homes.add(_("bed"));
|
||||||
}
|
}
|
||||||
user.sendMessage(_("homes", Util.joinList(homes)));
|
user.sendMessage(_("homes", Util.joinList(homes)));
|
||||||
}
|
}
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -499,3 +499,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Message truncated, to see the full output type:\u00a7c /
|
|||||||
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
@ -496,3 +496,4 @@ messageTruncated=\u00a74Meddelandet har blivit f\u00c3\u00b6rkortat, f\u00c3\u00
|
|||||||
userAFK=\u00a75{0} \u00a75\u00c3\u00a4r f\u00c3\u00b6r n\u00c3\u00a4rvarande borta och svarar kanske inte
|
userAFK=\u00a75{0} \u00a75\u00c3\u00a4r f\u00c3\u00b6r n\u00c3\u00a4rvarande borta och svarar kanske inte
|
||||||
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
|
||||||
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
|
||||||
|
bed=\u00a7obed\u00a7r
|
||||||
|
Loading…
Reference in New Issue
Block a user