Skip to content

Commit 9dfa650

Browse files
committed
Merge branch 'create-afk-message' into 2.x
2 parents a0a166b + e90b0c2 commit 9dfa650

29 files changed

+232
-8
lines changed

Essentials/src/com/earth2me/essentials/IUser.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,8 @@ public interface IUser {
157157
CommandSource getSource();
158158

159159
String getName();
160+
161+
String getAfkMessage();
162+
163+
void setAfkMessage(final String message);
160164
}

Essentials/src/com/earth2me/essentials/User.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public class User extends UserData implements Comparable<User>, IMessageRecipien
5252
private boolean enderSee = false;
5353
private transient long teleportInvulnerabilityTimestamp = 0;
5454
private boolean ignoreMsg = false;
55+
private String afkMessage;
5556

5657
public User(final Player base, final IEssentials ess) {
5758
super(base, ess);
@@ -426,6 +427,7 @@ public void setAfk(final boolean set) {
426427
afkPosition = this.getLocation();
427428
} else if (!set && isAfk()) {
428429
afkPosition = null;
430+
this.afkMessage = null;
429431
}
430432
if (ess.getSettings().isAfkListName()) {
431433
if(set) {
@@ -759,4 +761,16 @@ public String getName() {
759761
@Override public void setReplyRecipient(IMessageRecipient recipient) {
760762
this.messageRecipient.setReplyRecipient(recipient);
761763
}
764+
765+
@Override
766+
public String getAfkMessage() {
767+
return this.afkMessage;
768+
}
769+
770+
@Override
771+
public void setAfkMessage(String message) {
772+
if (isAfk()) {
773+
this.afkMessage = message;
774+
}
775+
}
762776
}

Essentials/src/com/earth2me/essentials/commands/Commandafk.java

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,45 @@ public Commandafk() {
1515
@Override
1616
public void run(Server server, User user, String commandLabel, String[] args) throws Exception {
1717
if (args.length > 0 && user.isAuthorized("essentials.afk.others")) {
18-
User afkUser = getPlayer(server, user, args, 0);
19-
toggleAfk(afkUser);
18+
User afkUser = user; // if no player found, but message specified, set command executor to target user
19+
String message;
20+
try {
21+
afkUser = getPlayer(server, user, args, 0);
22+
message = args.length > 1 ? getFinalArg(args, 1) : null;
23+
} catch (PlayerNotFoundException e) {
24+
// If only one arg is passed, assume the command executor is targeting another player.
25+
if (args.length == 1) {
26+
throw e;
27+
}
28+
message = getFinalArg(args, 0);
29+
}
30+
toggleAfk(user, afkUser, message);
2031
} else {
21-
toggleAfk(user);
32+
String message = args.length > 0 ? getFinalArg(args, 0) : null;
33+
toggleAfk(user, user, message);
2234
}
2335
}
2436

2537
@Override
2638
public void run(Server server, CommandSource sender, String commandLabel, String[] args) throws Exception {
2739
if (args.length > 0) {
2840
User afkUser = getPlayer(server, args, 0, true, false);
29-
toggleAfk(afkUser);
41+
String message = args.length > 1 ? getFinalArg(args, 1) : null;
42+
toggleAfk(null, afkUser, message);
3043
} else {
3144
throw new NotEnoughArgumentsException();
3245
}
3346
}
3447

35-
private void toggleAfk(User user) {
48+
private void toggleAfk(User sender, User user, String message) throws Exception {
49+
if (message != null && sender != null) {
50+
if (sender.isMuted()) {
51+
throw new Exception(tl("voiceSilenced"));
52+
}
53+
if (!sender.isAuthorized("essentials.afk.message")) {
54+
throw new Exception(tl("noPermToAFKMessage"));
55+
}
56+
}
3657
user.setDisplayNick();
3758
String msg = "";
3859
if (!user.toggleAfk()) {
@@ -44,8 +65,13 @@ private void toggleAfk(User user) {
4465
} else {
4566
//user.sendMessage(_("markedAsAway"));
4667
if (!user.isHidden()) {
47-
msg = tl("userIsAway", user.getDisplayName());
68+
if (message != null) {
69+
msg = tl("userIsAwayWithMessage", user.getDisplayName(), message);
70+
} else {
71+
msg = tl("userIsAway", user.getDisplayName());
72+
}
4873
}
74+
user.setAfkMessage(message);
4975
}
5076
if (!msg.isEmpty()) {
5177
ess.broadcastMessage(user, msg);

Essentials/src/com/earth2me/essentials/messaging/SimpleMessageRecipient.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ public String getName() {
6868
break;
6969
// When this recipient is AFK, notify the sender. Then, proceed to send the message.
7070
case SUCCESS_BUT_AFK:
71-
sendMessage(tl("userAFK", recipient.getDisplayName()));
71+
// Currently, only IUser can be afk, so we unsafely cast to get the afk message.
72+
if (((IUser) recipient).getAfkMessage() != null) {
73+
sendMessage(tl("userAFKWithMessage", recipient.getDisplayName(), ((IUser) recipient).getAfkMessage()));
74+
} else {
75+
sendMessage(tl("userAFK", recipient.getDisplayName()));
76+
}
7277
default:
7378
sendMessage(tl("msgFormat", tl("me"), recipient.getDisplayName(), message));
7479
}

Essentials/src/messages.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ noMetaPerm=\u00a74You do not have permission to apply \u00a7c{0}\u00a74 meta to
284284
noNewMail=\u00a76You have no new mail.
285285
noPendingRequest=\u00a74You do not have a pending request.
286286
noPerm=\u00a74You do not have the \u00a7c{0}\u00a74 permission.
287+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
287288
noPermToSpawnMob=\u00a74You don''t have permission to spawn this mob.
288289
noPlacePermission=\u00a74You do not have permission to place a block near that sign.
289290
noPotionEffectPerm=\u00a74You do not have permission to apply potion effect \u00a7c{0} \u00a74to this potion.
@@ -464,8 +465,10 @@ unvanishedReload=\u00a74A reload has forced you to become visible.
464465
upgradingFilesError=Error while upgrading the files.
465466
uptime=\u00a76Uptime\:\u00a7c {0}
466467
userAFK=\u00a77{0} \u00a75is currently AFK and may not respond.
468+
userAFKWithMessage=\u00a77{0} \u00a75is currently AFK and may not respond: {1}
467469
userDoesNotExist=\u00a74The user\u00a7c {0} \u00a74does not exist.
468470
userIsAway=\u00a77* {0} \u00a77is now AFK.
471+
userIsAwayWithMessage=\u00a77* {0} \u00a77is now AFK.
469472
userIsNotAway=\u00a77* {0} \u00a77is no longer AFK.
470473
userJailed=\u00a76You have been jailed\!
471474
userUnknown=\u00a74Warning\: The user ''\u00a7c{0}\u00a74'' has never joined this server.

Essentials/src/messages_cs.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ noMetaPerm=\u00a74Nemas opravneni na nastaveni metadat \u00a7c{0}\u00a74 tohoto
282282
noNewMail=\u00a77Nemas zadny novy mail.
283283
noPendingRequest=Nemas zadne neuzavrene zadosti.
284284
noPerm=\u00a7cNemas \u00a7f{0}\u00a7c permici.
285+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
285286
noPermToSpawnMob=\u00a7cNemas povoleni k spawnovani mobu.
286287
noPlacePermission=\u00a7cNemas povoleni pokladat nebo nicit cokoliv blizko teto cedule.
287288
noPotionEffectPerm=\u00a74Nemas opravneni k nastaveni efektu \u00a7c{0} \u00a74tohoto lektvaru.
@@ -459,8 +460,10 @@ unvanishedReload=\u00a74Probehl reload serveru; jsi zase viditelny.
459460
upgradingFilesError=Chyba pri updatovani souboru.
460461
uptime=\u00a76Server je online\:\u00a7c {0}
461462
userAFK=\u00a77{0} \u00a75je nyni AFK a mozna nebude reagovat.
463+
userAFKWithMessage=\u00a77{0} \u00a75je nyni AFK a mozna nebude reagovat. {1}
462464
userDoesNotExist=Uzivatel {0} neexistuje.
463465
userIsAway={0} je AFK.
466+
userIsAwayWithMessage={0} je AFK.
464467
userIsNotAway={0} se vratil.
465468
userJailed=\u00a77Byl jsi uveznen.
466469
userUnknown=\u00a74Pozor\: Hrac ''\u00a7c{0}\u00a74'' se jeste nikdy nepripojil na tento server.

Essentials/src/messages_da.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ noMetaPerm=\u00a74Du har ikke tilladelse til at tilf\u00f8je \u00a7c{0}\u00a74 m
282282
noNewMail=\u00a76Du har ingen nye beskeder.
283283
noPendingRequest=\u00a74Du har ingen afventende anmodning.
284284
noPerm=\u00a74Du har ikke tilladelsen\: \u00a7c{0}\u00a74
285+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
285286
noPermToSpawnMob=\u00a74Du har ikke tilladelse til at spawne det mob.
286287
noPlacePermission=\u00a74Du har ikke tilladelse til at placere en blok i n\u00e6rheden af det skilt.
287288
noPotionEffectPerm=\u00a74Du har ikke tilladelse til at tilf\u00f8je effekten \u00a7c{0} \u00a74til denne eliksir.
@@ -459,8 +460,10 @@ unvanishedReload=\u00a74En reload har tvunget dig til at blive synlig.
459460
upgradingFilesError=Der opstod en fejl under opgraderingen af filerne.
460461
uptime=\u00a76Oppetid\:\u00a7c {0}
461462
userAFK=\u00a75{0} \u00a75er pt. AFK og svarer m\u00e5ske ikke.
463+
userAFKWithMessage=\u00a75{0} \u00a75er pt. AFK og svarer m\u00e5ske ikke. {1}
462464
userDoesNotExist=\u00a74Brugeren\u00a7c {0} \u00a74eksisterer ikke.
463465
userIsAway=\u00a75{0} \u00a75er nu AFK.
466+
userIsAwayWithMessage=\u00a75{0} \u00a75er nu AFK.
464467
userIsNotAway=\u00a75{0} \u00a75er ikke l\u00e6ngere AFK.
465468
userJailed=\u00a76Du er blevet f\u00e6ngslet\!
466469
userUnknown=\u00a74Advarsel\: Brugerem ''\u00a7c{0}\u00a74'' har aldrig spillet p\u00e5 serveren.

Essentials/src/messages_de.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ noMetaPerm=\u00a74Du darfst dem Gegenstand \u00a7c{0}\u00a74 keine Metadaten geb
284284
noNewMail=\u00a76Du hast keine neue Nachrichten.
285285
noPendingRequest=\u00a74Du hast keine Teleportierungsanfragen.
286286
noPerm=\u00a74Du hast die Berechtigung \u00a7c{0}\u00a74 nicht.
287+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
287288
noPermToSpawnMob=\u00a74Du bis nicht berechtigt, diesen Mob zu spawnen.
288289
noPlacePermission=\u00a7cDu hast keine Rechte, einen Block in der N\u00e4he des Schildes zu platzieren.
289290
noPotionEffectPerm=\u00a74Du darfst den Zaubertrankeffekt \u00a7c{0} \u00a74diesem Trank nicht hinzuf\u00fcgen.
@@ -463,8 +464,10 @@ unvanishedReload=\u00a74Ein Neuladen des Servers hat dich sichtbar gemacht.
463464
upgradingFilesError=Fehler beim Aktualisieren der Dateien
464465
uptime=\u00a76Laufzeit\:\u00a7c {0}
465466
userAFK=\u00a77{0} \u00a75ist gerade nicht da und antwortet wahrscheinlich nicht.
467+
userAFKWithMessage=\u00a77{0} \u00a75ist gerade nicht da und antwortet wahrscheinlich nicht. {1}
466468
userDoesNotExist=\u00a74Spieler\u00a7c {0} \u00a74existiert nicht.
467469
userIsAway=\u00a77* {0} \u00a77ist nun abwesend.
470+
userIsAwayWithMessage=\u00a77* {0} \u00a77ist nun abwesend.
468471
userIsNotAway=\u00a77* {0} \u00a77ist wieder da.
469472
userJailed=\u00a76Du wurdest eingesperrt.
470473
userUnknown=\u00a74Warnung\: Der Spieler ''\u00a7c{0}\u00a74'' war nie auf diesem Server.

Essentials/src/messages_en.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ noMetaPerm=\u00a74You do not have permission to apply \u00a7c{0}\u00a74 meta to
283283
noNewMail=\u00a76You have no new mail.
284284
noPendingRequest=\u00a74You do not have a pending request.
285285
noPerm=\u00a74You do not have the \u00a7c{0}\u00a74 permission.
286+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
286287
noPermToSpawnMob=\u00a74You don''t have permission to spawn this mob.
287288
noPlacePermission=\u00a74You do not have permission to place a block near that sign.
288289
noPotionEffectPerm=\u00a74You do not have permission to apply potion effect \u00a7c{0} \u00a74to this potion.
@@ -460,8 +461,10 @@ unvanishedReload=\u00a74A reload has forced you to become visible.
460461
upgradingFilesError=Error while upgrading the files.
461462
uptime=\u00a76Uptime\:\u00a7c {0}
462463
userAFK=\u00a77{0} \u00a75is currently AFK and may not respond.
464+
userAFKWithMessage=\u00a77{0} \u00a75is currently AFK and may not respond: {1}
463465
userDoesNotExist=\u00a74The user\u00a7c {0} \u00a74does not exist.
464466
userIsAway=\u00a77* {0} \u00a77is now AFK.
467+
userIsAwayWithMessage=\u00a77* {0} \u00a77is now AFK.
465468
userIsNotAway=\u00a77* {0} \u00a77is no longer AFK.
466469
userJailed=\u00a76You have been jailed\!
467470
userUnknown=\u00a74Warning\: The user ''\u00a7c{0}\u00a74'' has never joined this server.

Essentials/src/messages_es.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ noMetaPerm=\u00a74No tienes permiso para aplicar \u00a7c{0}\u00a74 efectos a est
282282
noNewMail=\u00a77No tienes correo nuevo.
283283
noPendingRequest=\u00a74No tienes peticiones pendientes.
284284
noPerm=\u00a74No tienes el permiso \u00a7c{0}\u00a74.
285+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
285286
noPermToSpawnMob=\u00a74No tienes permiso para generar esa criatura.
286287
noPlacePermission=\u00a74No tienes permiso para colocar un bloque junto a eso.
287288
noPotionEffectPerm=\u00a74No tienes permiso para aplicar el efecto\u00a7c {0} \u00a74a esta poci\u00f3n.
@@ -459,8 +460,10 @@ unvanishedReload=\u00a74Un reinicio o una recarga del servidor te ha forzado a p
459460
upgradingFilesError=Error mientras se actualizaban los archivos
460461
uptime=\u00a76Tiempo encendido\:\u00a7c {0}
461462
userAFK=\u00a77{0} \u00a75se encuentra ausente y es probable que no responda.
463+
userAFKWithMessage=\u00a77{0} \u00a75se encuentra ausente y es probable que no responda. {1}
462464
userDoesNotExist=El usuario {0} no existe
463465
userIsAway=\u00a77{0} \u00a77\u00a1est\u00e1 ausente\!
466+
userIsAwayWithMessage=\u00a77{0} \u00a77\u00a1est\u00e1 ausente\!
464467
userIsNotAway=\u00a77{0} \u00a77\u00a1ya no est\u00e1 ausente\!
465468
userJailed=\u00a76\u00a1Has sido encarcelado\!
466469
userUnknown=\u00a74Aviso\: \u00a7cel jugador \u00a74{0} \u00a7cnunca ha visitado el servidor\!

Essentials/src/messages_et.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ noMetaPerm=\u00a74Teil ei ole luba lisada \u00a7c{0}\u00a74 effekte k\u00e4esole
282282
noNewMail=\u00a76Teil ei ole \u00fchtegi uut kirja.
283283
noPendingRequest=\u00a74Teil ei ole ootel taotlust.
284284
noPerm=\u00a74Teil ei ole \u00a7c{0}\u00a74 permissionit.
285+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
285286
noPermToSpawnMob=\u00a74Sul ei ole luba tekitada antud elukat.
286287
noPlacePermission=\u00a74Teil ei ole luba asetada plokki selle m\u00e4rgi l\u00e4heduses.
287288
noPotionEffectPerm=\u00a74Teil ei ole luba, et lisada n\u00f5iajoogi effekti \u00a7c{0} \u00a74k\u00e4esolevale n\u00f5iajoogile.
@@ -459,8 +460,10 @@ unvanishedReload=\u00a74Taaslaadimine sundis sind muutuma n\u00e4htavaks.
459460
upgradingFilesError=Viga uuendades faile.
460461
uptime=\u00a76Uptime\:\u00a7c {0}
461462
userAFK=\u00a77{0} \u00a75on hetkel eemal ja ei pruugi vastata.
463+
userAFKWithMessage=\u00a77{0} \u00a75on hetkel eemal ja ei pruugi vastata. {1}
462464
userDoesNotExist=\u00a74Kasutaja\u00a7c {0} \u00a74ei ole olemas.
463465
userIsAway=\u00a77* {0} \u00a77on n\u00fc\u00fcd eemal.
466+
userIsAwayWithMessage=\u00a77* {0} \u00a77on n\u00fc\u00fcd eemal.
464467
userIsNotAway=\u00a77* {0} \u00a77on tagasi.
465468
userJailed=\u00a76Teid on vangistatud\!
466469
userUnknown=\u00a74Hoiatus\: Kasutaja ''\u00a7c{0}\u00a74'' ei ole kunagi selle serveriga liitunud.

Essentials/src/messages_fi.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ noMetaPerm=\u00a74You do not have permission to apply \u00a7c{0}\u00a74 meta to
282282
noNewMail=\u00a77Ei viestej\u00e4.
283283
noPendingRequest=Sinulla ei ole odottavia pyynt\u00f6j\u00e4.
284284
noPerm=\u00a7cSinulla ei ole \u00a7f{0}\u00a7c oikeuksia.
285+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
285286
noPermToSpawnMob=\u00a7cSinulla ei ole lupaa luoda t\u00e4t\u00e4 mobia.
286287
noPlacePermission=\u00a7cSinulla ei ole lupaa laittaa palikoita l\u00e4helle tuota kyltti\u00e4.
287288
noPotionEffectPerm=\u00a74You do not have permission to apply potion effect \u00a7c{0} \u00a74to this potion.
@@ -459,8 +460,10 @@ unvanishedReload=\u00a7cSinut on pakotettu taas n\u00e4kyv\u00e4ksi uudelleen la
459460
upgradingFilesError=Virhe p\u00e4ivitett\u00e4ess\u00e4 tiedostoja
460461
uptime=\u00a76Uptime\:\u00a7c {0}
461462
userAFK=\u00a77{0} \u00a75is currently AFK and may not respond.
463+
userAFKWithMessage=\u00a77{0} \u00a75is currently AFK and may not respond. {1}
462464
userDoesNotExist=Pelaajaa {0} ei ole olemassa.
463465
userIsAway={0} on nyt AFK
466+
userIsAwayWithMessage={0} on nyt AFK
464467
userIsNotAway={0} ei ole en\u00e4\u00e4 AFK
465468
userJailed=\u00a77Sinut on laitettu vankilaan
466469
userUnknown=\u00a74Warning\: The user ''\u00a7c{0}\u00a74'' has never joined this server.

Essentials/src/messages_fr.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ noMetaPerm=\u00a74Vous n''avez pas la permission d''appliquer la m\u00e9tadata \
283283
noNewMail=\u00a77Vous n''avez pas de courrier.
284284
noPendingRequest=Vous n''avez pas de requ\u00eate non lue.
285285
noPerm=\u00a7cVous n''avez pas la permission \u00a7f{0}\u00a7c.
286+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
286287
noPermToSpawnMob=\u00a7cVous n''avez pas la permission d''invoquer cette cr\u00e9ature.
287288
noPlacePermission=\u00a7cVous n''avez pas la permission de placer un bloc pr\u00e8s de cette pancarte.
288289
noPotionEffectPerm=\u00a74Vous n''avez pas la permission d''appliquer l''effet \u00a7c{0} \u00a74\u00e0 cette potion.
@@ -460,8 +461,10 @@ unvanishedReload=\u00a7cUn reload vous a rendu de nouveau visible.
460461
upgradingFilesError=Erreur durant la mise \u00e0 jour des fichiers.
461462
uptime=\u00a76Dur\u00e9e de fonctionnement \:\u00a7c {0}
462463
userAFK=\u00a75{0} \u00a75est actuellement absent/AFK et peut ne pas r\u00e9pondre.
464+
userAFKWithMessage=\u00a75{0} \u00a75est actuellement absent/AFK et peut ne pas r\u00e9pondre. {1}
463465
userDoesNotExist=L''utilisateur {0} n''existe pas.
464466
userIsAway={0} est d\u00e9sormais AFK.
467+
userIsAwayWithMessage={0} est d\u00e9sormais AFK.
465468
userIsNotAway={0} n''est plus AFK.
466469
userJailed=\u00a77Vous avez \u00e9t\u00e9 emprisonn\u00e9.
467470
userUnknown=\u00a74Attention \: le joueur \u00a7c{0}\u00a74 n''est jamais venu sur ce serveur.

Essentials/src/messages_hu.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ noMetaPerm=\u00a74You do not have permission to apply \u00a7c{0}\u00a74 meta to
282282
noNewMail=\u00a76Nincs \u00faj leveled.
283283
noPendingRequest=\u00a74You do not have a pending request.
284284
noPerm=\u00a74You do not have the \u00a7c{0}\u00a74 permission.
285+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
285286
noPermToSpawnMob=\u00a74You don''t have permission to spawn this mob.
286287
noPlacePermission=\u00a74You do not have permission to place a block near that sign.
287288
noPotionEffectPerm=\u00a74You do not have permission to apply potion effect \u00a7c{0} \u00a74to this potion.
@@ -459,8 +460,10 @@ unvanishedReload=\u00a74A reload k\u00f6vetkezt\u00e9ben mindenki l\u00e1tni fog
459460
upgradingFilesError=Error while upgrading the files.
460461
uptime=\u00a76M\u00fbk\u00f6d\u00e9si id\u00f5\:\u00a7c {0}
461462
userAFK=\u00a75{0} \u00a75most AFK \u00e9s nem bisztos hogy fog v\u00e1laszolni.
463+
userAFKWithMessage=\u00a75{0} \u00a75most AFK \u00e9s nem bisztos hogy fog v\u00e1laszolni. {1}
462464
userDoesNotExist=\u00a74The user\u00a7c {0} \u00a74does not exist.
463465
userIsAway=\u00a77* \u00a75{0}\u00a77 elment a g\u00e9pt\u0151l...
466+
userIsAwayWithMessage=\u00a77* \u00a75{0}\u00a77 elment a g\u00e9pt\u0151l...
464467
userIsNotAway=\u00a77* \u00a75{0} \u00a77visszaj\u00f6tt...
465468
userJailed=\u00a76Beb\u00f6rt\u00f6n\u00f6ztek\!
466469
userUnknown=\u00a74Figyelem\: ''\u00a7c{0}\u00a74'' m\u00e9g sose j\u00e1rt a szerveren.

Essentials/src/messages_it.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ noMetaPerm=\u00a74Non hai il permesso di applicare \u00a7c{0}\u00a74 meta in que
282282
noNewMail=\u00a76Non hai ricevuto nuove mail.
283283
noPendingRequest=\u00a74Non hai richieste in sospeso.
284284
noPerm=\u00a74Non hai il permesso \u00a7c{0}\u00a74.
285+
noPermToAFKMessage=\u00a74You don''t have permission to set an AFK message.
285286
noPermToSpawnMob=\u00a74Non hai il permesso di generare questo mob.
286287
noPlacePermission=\u00a74Non hai il permesso di piazzare un blocco accanto a questo cartello.
287288
noPotionEffectPerm=\u00a74Non hai il permesso di applicare questo effetto di pozione \u00a7c{0} \u00a74a questa pozione.
@@ -459,8 +460,10 @@ unvanishedReload=\u00a74Il server e'' stato ricaricato e cio'' ti ha forzato a t
459460
upgradingFilesError=Errore durante l''aggiornamento dei file
460461
uptime=\u00a76Tempo online\:\u00a7c {0}
461462
userAFK=\u00a77{0} \u00a75e'' attualmente AFK e potrebbe non rispondere.
463+
userAFKWithMessage=\u00a77{0} \u00a75e'' attualmente AFK e potrebbe non rispondere. {1}
462464
userDoesNotExist=\u00a74L''utente\u00a7c {0} \u00a74non esiste.
463465
userIsAway=\u00a77* {0} \u00a77e'' AFK.
466+
userIsAwayWithMessage=\u00a77* {0} \u00a77e'' AFK.
464467
userIsNotAway=\u00a77* {0} \u00a77non e'' piu'' AFK.
465468
userJailed=\u00a76Sei stato incarcerato\!
466469
userUnknown=\u00a74Attenzione\: Il giocatore ''\u00a7c{0}\u00a74'' non e'' mai entrato sul server.

0 commit comments

Comments
 (0)