Warn the group leader if a player fails to enter (closes #12)
This commit is contained in:
parent
c307f978c1
commit
2a7cabf0cd
@ -14,7 +14,9 @@ Invite to @1 successfully sent=Einladung zu @1 erfolgreich abgesendet
|
|||||||
[!] You have no pending invites!=[!] Sie haben keine ausstehenden Einladungen!
|
[!] You have no pending invites!=[!] Sie haben keine ausstehenden Einladungen!
|
||||||
[!] You have no pending invites from this player!=[!] Sie haben keine ausstehenden Einladungen von diesem Spieler!
|
[!] You have no pending invites from this player!=[!] Sie haben keine ausstehenden Einladungen von diesem Spieler!
|
||||||
[!] More players have invited you in their party: please specify the nick of the one you want to join!=
|
[!] More players have invited you in their party: please specify the nick of the one you want to join!=
|
||||||
|
@1 has tried to enter but the party is full=
|
||||||
[!] The party leader has disconnected!=[!] Der Gruppenleiter hat sich getrennt!
|
[!] The party leader has disconnected!=[!] Der Gruppenleiter hat sich getrennt!
|
||||||
|
@1 has tried to enter but an external condition has prevented them from doing it=
|
||||||
@1 has joined another party=@1 ist einer anderen Gruppe beigetreten
|
@1 has joined another party=@1 ist einer anderen Gruppe beigetreten
|
||||||
@1 has joined the party=@1 ist der Gruppe beigetreten
|
@1 has joined the party=@1 ist der Gruppe beigetreten
|
||||||
You've joined @1's party=Sie sind der Gruppe von @1 beigetreten
|
You've joined @1's party=Sie sind der Gruppe von @1 beigetreten
|
||||||
|
@ -14,7 +14,9 @@ Invite to @1 successfully sent=Invitación a @1 enviada con éxito
|
|||||||
[!] You have no pending invites!=[!] ¡No tienes invitaciones pendientes!
|
[!] You have no pending invites!=[!] ¡No tienes invitaciones pendientes!
|
||||||
[!] You have no pending invites from this player!=[!] ¡No tienes invitaciones pendientes de este jugador!
|
[!] You have no pending invites from this player!=[!] ¡No tienes invitaciones pendientes de este jugador!
|
||||||
[!] More players have invited you in their party: please specify the nick of the one you want to join!=[!] Más jugadores te han invitado en sus grupo: especifica el nombre del jugador a lo que quieres unirte!
|
[!] More players have invited you in their party: please specify the nick of the one you want to join!=[!] Más jugadores te han invitado en sus grupo: especifica el nombre del jugador a lo que quieres unirte!
|
||||||
|
@1 has tried to enter but the party is full=
|
||||||
[!] The party leader has disconnected!=[!] ¡El líder del grupo se ha desconectado!
|
[!] The party leader has disconnected!=[!] ¡El líder del grupo se ha desconectado!
|
||||||
|
@1 has tried to enter but an external condition has prevented them from doing it=
|
||||||
@1 has joined another party=@1 se ha unido a otro grupo
|
@1 has joined another party=@1 se ha unido a otro grupo
|
||||||
@1 has joined the party=@1 se ha unido al grupo
|
@1 has joined the party=@1 se ha unido al grupo
|
||||||
You've joined @1's party=Te has unido al grupo de @1
|
You've joined @1's party=Te has unido al grupo de @1
|
||||||
|
@ -14,7 +14,9 @@ Invite to @1 successfully sent=A @1 meghívója sikeresen elküldve
|
|||||||
[!] You have no pending invites!=[!] Nincs várakozo meghívód!
|
[!] You have no pending invites!=[!] Nincs várakozo meghívód!
|
||||||
[!] You have no pending invites from this player!=[!] Nincs várakozó meghívód ettől a Játékostól!
|
[!] You have no pending invites from this player!=[!] Nincs várakozó meghívód ettől a Játékostól!
|
||||||
[!] More players have invited you in their party: please specify the nick of the one you want to join!=
|
[!] More players have invited you in their party: please specify the nick of the one you want to join!=
|
||||||
|
@1 has tried to enter but the party is full=
|
||||||
[!] The party leader has disconnected!=[!] A buli vezetője kilépett!
|
[!] The party leader has disconnected!=[!] A buli vezetője kilépett!
|
||||||
|
@1 has tried to enter but an external condition has prevented them from doing it=
|
||||||
@1 has joined another party=@1 ist egy másik bulihoz csatlakozott
|
@1 has joined another party=@1 ist egy másik bulihoz csatlakozott
|
||||||
@1 has joined the party=@1 csatlakozott a bulihoz
|
@1 has joined the party=@1 csatlakozott a bulihoz
|
||||||
You've joined @1's party=Csatlakoztál @1-nek a bulijába
|
You've joined @1's party=Csatlakoztál @1-nek a bulijába
|
||||||
|
@ -14,7 +14,9 @@ Invite to @1 successfully sent=Invito a @1 inviato con successo
|
|||||||
[!] You have no pending invites!=[!] Non hai nessun invito da accettare!
|
[!] You have no pending invites!=[!] Non hai nessun invito da accettare!
|
||||||
[!] You have no pending invites from this player!=[!] Non hai nessun invito da accettare da parte di questə giocatorə!
|
[!] You have no pending invites from this player!=[!] Non hai nessun invito da accettare da parte di questə giocatorə!
|
||||||
[!] More players have invited you in their party: please specify the nick of the one you want to join!=[!] Più giocatorɜ ti hanno invitato in un gruppo: specifica il nome dellə giocatorə al quale ti vuoi unire!
|
[!] More players have invited you in their party: please specify the nick of the one you want to join!=[!] Più giocatorɜ ti hanno invitato in un gruppo: specifica il nome dellə giocatorə al quale ti vuoi unire!
|
||||||
|
@1 has tried to enter but the party is full=@1 ha provato ad entrare ma il gruppo è al completo
|
||||||
[!] The party leader has disconnected!=[!] Lə capo gruppo si è disconnessə!
|
[!] The party leader has disconnected!=[!] Lə capo gruppo si è disconnessə!
|
||||||
|
@1 has tried to enter but an external condition has prevented them from doing it=@1 ha provato ad entrare ma una condizione esterna gliel'ha impedito
|
||||||
@1 has joined another party=@1 si è unitə a un altro gruppo
|
@1 has joined another party=@1 si è unitə a un altro gruppo
|
||||||
@1 has joined the party=@1 si è unitə al gruppo
|
@1 has joined the party=@1 si è unitə al gruppo
|
||||||
You've joined @1's party=Ti sei unitə al gruppo di @1
|
You've joined @1's party=Ti sei unitə al gruppo di @1
|
||||||
|
@ -14,7 +14,9 @@ Invite to @1 successfully sent=Zaproszenie do @1 wysłane pomyślnie
|
|||||||
[!] You have no pending invites!=[!] Nie masz oczekujących zaproszeń!
|
[!] You have no pending invites!=[!] Nie masz oczekujących zaproszeń!
|
||||||
[!] You have no pending invites from this player!=[!] Nie masz oczekujących zaproszeń od tego gracza!
|
[!] You have no pending invites from this player!=[!] Nie masz oczekujących zaproszeń od tego gracza!
|
||||||
[!] More players have invited you in their party: please specify the nick of the one you want to join!=[!] Więcej graczy zaprosiło cię do swoich grup: podaj nick osoby, do której grupy chcesz dołączyć!
|
[!] More players have invited you in their party: please specify the nick of the one you want to join!=[!] Więcej graczy zaprosiło cię do swoich grup: podaj nick osoby, do której grupy chcesz dołączyć!
|
||||||
|
@1 has tried to enter but the party is full=
|
||||||
[!] The party leader has disconnected!=[!] Lider grupy się rozłączył!
|
[!] The party leader has disconnected!=[!] Lider grupy się rozłączył!
|
||||||
|
@1 has tried to enter but an external condition has prevented them from doing it=
|
||||||
@1 has joined another party=@1 dołączył/a do innej grupy
|
@1 has joined another party=@1 dołączył/a do innej grupy
|
||||||
@1 has joined the party=@1 dołączył/a do grupy
|
@1 has joined the party=@1 dołączył/a do grupy
|
||||||
You've joined @1's party=Dołączyłeś/aś do grupy @1
|
You've joined @1's party=Dołączyłeś/aś do grupy @1
|
||||||
|
@ -14,7 +14,9 @@ Invite to @1 successfully sent=
|
|||||||
[!] You have no pending invites!=
|
[!] You have no pending invites!=
|
||||||
[!] You have no pending invites from this player!=
|
[!] You have no pending invites from this player!=
|
||||||
[!] More players have invited you in their party: please specify the nick of the one you want to join!=
|
[!] More players have invited you in their party: please specify the nick of the one you want to join!=
|
||||||
|
@1 has tried to enter but the party is full=
|
||||||
[!] The party leader has disconnected!=
|
[!] The party leader has disconnected!=
|
||||||
|
@1 has tried to enter but an external condition has prevented them from doing it=
|
||||||
@1 has joined another party=
|
@1 has joined another party=
|
||||||
@1 has joined the party=
|
@1 has joined the party=
|
||||||
You've joined @1's party=
|
You've joined @1's party=
|
||||||
|
@ -104,6 +104,7 @@ function parties.join(p_name, inviter)
|
|||||||
-- se si è raggiunto il limite di giocatorɜ
|
-- se si è raggiunto il limite di giocatorɜ
|
||||||
if parties.is_player_party_leader(party_leader) and #parties.get_party_members(party_leader) == parties.settings.MAX_PLAYERS_PER_PARTY then
|
if parties.is_player_party_leader(party_leader) and #parties.get_party_members(party_leader) == parties.settings.MAX_PLAYERS_PER_PARTY then
|
||||||
minetest.chat_send_player(p_name, minetest.colorize("#e6482e", S("[!] The party has reached the maximum amount of players! (@1)", parties.settings.MAX_PLAYERS_PER_PARTY)))
|
minetest.chat_send_player(p_name, minetest.colorize("#e6482e", S("[!] The party has reached the maximum amount of players! (@1)", parties.settings.MAX_PLAYERS_PER_PARTY)))
|
||||||
|
minetest.chat_send_player(party_leader, add_party_prefix(minetest.colorize("#ededed", S("@1 has tried to enter but the party is full", p_name))))
|
||||||
return end
|
return end
|
||||||
|
|
||||||
-- se il capo gruppo si è disconnesso nei secondi d'invito
|
-- se il capo gruppo si è disconnesso nei secondi d'invito
|
||||||
@ -117,6 +118,7 @@ function parties.join(p_name, inviter)
|
|||||||
-- se non può accettare (richiamo)
|
-- se non può accettare (richiamo)
|
||||||
for _, callback in ipairs(parties.registered_on_pre_party_join) do
|
for _, callback in ipairs(parties.registered_on_pre_party_join) do
|
||||||
if not callback(party_leader, p_name) then
|
if not callback(party_leader, p_name) then
|
||||||
|
minetest.chat_send_player(party_leader, add_party_prefix(minetest.colorize("#ededed", S("@1 has tried to enter but an external condition has prevented them from doing it", p_name))))
|
||||||
players_invited[p_name][party_leader]:cancel()
|
players_invited[p_name][party_leader]:cancel()
|
||||||
players_invited[p_name][party_leader] = nil
|
players_invited[p_name][party_leader] = nil
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user