diff --git a/crowdin/lang/af-ZA/messages.json b/crowdin/lang/af-ZA/messages.json index 728d2daec..cf8cf5141 100644 --- a/crowdin/lang/af-ZA/messages.json +++ b/crowdin/lang/af-ZA/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/ar-SA/messages.json b/crowdin/lang/ar-SA/messages.json index 833a5ce81..5d655cd52 100644 --- a/crowdin/lang/ar-SA/messages.json +++ b/crowdin/lang/ar-SA/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/bg-BG/messages.json b/crowdin/lang/bg-BG/messages.json index 728d2daec..cf8cf5141 100644 --- a/crowdin/lang/bg-BG/messages.json +++ b/crowdin/lang/bg-BG/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/ca-ES/messages.json b/crowdin/lang/ca-ES/messages.json index 2c31fbab9..f26453a04 100644 --- a/crowdin/lang/ca-ES/messages.json +++ b/crowdin/lang/ca-ES/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Desconegut", "owner-bypass-check": "&eIntercanviat amb èxit! (Ara ets el propietari de la botiga!)", "reached-maximum-can-create": "&cJa has creat un màxim de {0}/{1} botigues!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cPreu restringit per {0}: Mínim {1}, màxim {2}.", "no-enough-money-to-keep-shops": "&cNo tenies prou diners per mantenir les teves botigues! Totes les botigues s'han eliminat...", "nothing-to-flush": "&aNo tens missatges de botigues nous.", diff --git a/crowdin/lang/cs-CZ/messages.json b/crowdin/lang/cs-CZ/messages.json index 070a7cda8..e06373764 100644 --- a/crowdin/lang/cs-CZ/messages.json +++ b/crowdin/lang/cs-CZ/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Nezname", "owner-bypass-check": "&b▪&8▏ &bSystem &8› &7Prošel všechny kontroly. Obchod byl úspěšný! (Nyní jste vlastníkem obchodu!)", "reached-maximum-can-create": "&b▪&8▏ &bSystem &8› &cJiž jste vytvořili maximum {0}/{1} obchodů!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&b▪&8▏ &bSystem &8› &cOmezená cena za {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&b▪&8▏ &bSystem &8› &cNemáte dostatek peněz na udržení svých obchodů! Všechny obchody byly odstraněny...", "nothing-to-flush": "&b▪&8▏ &bSystem &8› &7Nemáte žádné nové zprávy o obchodu.", diff --git a/crowdin/lang/da-DK/messages.json b/crowdin/lang/da-DK/messages.json index 63408c60e..f435110e8 100644 --- a/crowdin/lang/da-DK/messages.json +++ b/crowdin/lang/da-DK/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/de-DE/messages.json b/crowdin/lang/de-DE/messages.json index eb9f719b3..d39b03e5a 100644 --- a/crowdin/lang/de-DE/messages.json +++ b/crowdin/lang/de-DE/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unbekannt", "owner-bypass-check": "&eAlle Prüfungen wurden umgangen. Handel erfolgreich! (Sie sind jetzt der Besitzer des Ladens!)", "reached-maximum-can-create": "&cDu hast bereits das Maximum von {0}/{1} Shops erstellt!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cEingeschränkter Preis für {0}: Mindestens {1}, maximal {2}", "no-enough-money-to-keep-shops": "&cDu hattest nicht genug Geld um deine Shops zu behalten! Alle Shops wurden entfernt...", "nothing-to-flush": "&aEs gibt keine neuen Nachrichten zu deinem Shop.", diff --git a/crowdin/lang/el-GR/messages.json b/crowdin/lang/el-GR/messages.json index 728d2daec..cf8cf5141 100644 --- a/crowdin/lang/el-GR/messages.json +++ b/crowdin/lang/el-GR/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/en-US/messages.json b/crowdin/lang/en-US/messages.json index 5f91ebc78..ac20e0d85 100644 --- a/crowdin/lang/en-US/messages.json +++ b/crowdin/lang/en-US/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't had enough money to keep your shops! All your shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/es-ES/messages.json b/crowdin/lang/es-ES/messages.json index e29713ec4..5db0cea1f 100644 --- a/crowdin/lang/es-ES/messages.json +++ b/crowdin/lang/es-ES/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Desconocido", "owner-bypass-check": "&ePasado todos los controles. ¡Comercio exitoso! (¡Ahora eres el propietario de la tienda!)", "reached-maximum-can-create": "&c¡Ya has creado un máximo de {0}/{1} tiendas!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cPrecio restringido de {0}: Mín. {1}, Máx. {2}", "no-enough-money-to-keep-shops": "&c¡No dispones del suficiente dinero para mantener tus tiendas! Todas tus tiendas han sido eliminadas...", "nothing-to-flush": "&aNo tienes mensajes de tienda nuevos.", diff --git a/crowdin/lang/fi-FI/messages.json b/crowdin/lang/fi-FI/messages.json index b1feab3ff..93a34bab7 100644 --- a/crowdin/lang/fi-FI/messages.json +++ b/crowdin/lang/fi-FI/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Tuntematon", "owner-bypass-check": "&eOhitit kaikki tarkastukset. Vaihto onnistui! (Olet nyt kaupan omistaja!)", "reached-maximum-can-create": "&cOlet jo luonut jo {0}/{1}, eli maksimi määrän kauppoja!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRajattu hinta tuotteelle {0}: vähintään {1}, enintään {2}", "no-enough-money-to-keep-shops": "&cSinulla ei ollut tarpeeksi rahaa kauppojen ylläpitoon! Kaikki kaupat on poistettu...", "nothing-to-flush": "&aSinulle ei ole uusia kauppaviestejä.", diff --git a/crowdin/lang/fr-FR/messages.json b/crowdin/lang/fr-FR/messages.json index 84730ad90..d36687b79 100644 --- a/crowdin/lang/fr-FR/messages.json +++ b/crowdin/lang/fr-FR/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Inconnu", "owner-bypass-check": "&eVérifications passées. Echange réussi ! (Tu es propriétaire de la boutique!)", "reached-maximum-can-create": "&cTu as atteint ton nombre de coffre de boutiques maximal : {0}/{1}!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cPrix restreints {0}: min {1}, max {2}", "no-enough-money-to-keep-shops": "&cTu n'as plus assez d'argent pour garder tes boutiques! Tous tes coffres ont été supprimés...", "nothing-to-flush": "&aAucun nouveau message.", diff --git a/crowdin/lang/he-IL/messages.json b/crowdin/lang/he-IL/messages.json index 8fe0ffbb2..3ce21d7c9 100644 --- a/crowdin/lang/he-IL/messages.json +++ b/crowdin/lang/he-IL/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/hi-IN/messages.json b/crowdin/lang/hi-IN/messages.json index 728d2daec..cf8cf5141 100644 --- a/crowdin/lang/hi-IN/messages.json +++ b/crowdin/lang/hi-IN/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/hu-HU/messages.json b/crowdin/lang/hu-HU/messages.json index 5e6079977..b764c9e89 100644 --- a/crowdin/lang/hu-HU/messages.json +++ b/crowdin/lang/hu-HU/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Ismeretlen", "owner-bypass-check": "&eSikeresen átmentél az összes ellenőrzésen! Üzlet sikeresen megtörtént! (Te vagy a bolt tulajdonosa)", "reached-maximum-can-create": "&cNeked van már {0}/{1} boltod!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cKorlátozott ár van a {0}n: min {1} , max {2}", "no-enough-money-to-keep-shops": "&cNincs elég pénzed, hogy fentartsd a boltjaidat! Az összes bolt törölve lett...", "nothing-to-flush": "&aNeked nincs új bolti üzeneted.", diff --git a/crowdin/lang/it-IT/messages.json b/crowdin/lang/it-IT/messages.json index 31c9ef95e..dd7459145 100644 --- a/crowdin/lang/it-IT/messages.json +++ b/crowdin/lang/it-IT/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "&2Sconosciuto", "owner-bypass-check": "&eBypassato tutti i controlli. Eseguito con successo! (Ora sei il proprietario del negozio!)", "reached-maximum-can-create": "&cHai già creato un massimo di {0}/{1} negozi!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cPrezzo ristretto per {0}: Minimo {1}, max {2}", "no-enough-money-to-keep-shops": "&cNon hai abbastanza soldi per tenere i tuoi negozi! Tutti i negozi sono stati rimossi...", "nothing-to-flush": "&aNon hai nuovi messaggi nel negozio.", diff --git a/crowdin/lang/ja-JP/messages.json b/crowdin/lang/ja-JP/messages.json index bd8f08384..807cfa334 100644 --- a/crowdin/lang/ja-JP/messages.json +++ b/crowdin/lang/ja-JP/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "不明", "owner-bypass-check": "&e全てのチェックをバイパスしました。取引成功! (あなたがショップの店主になりました!)", "reached-maximum-can-create": "&cあなたはすでに最大値を超えて {0} / {1} のショップを作成しています!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&c{0} の価格制限: 最低 {1}, 最高 {2}", "no-enough-money-to-keep-shops": "&cショップを維持するのに十分な資金がありませんので全てのショップが削除されました...", "nothing-to-flush": "&a新しいショップメッセージはありませんでした", diff --git a/crowdin/lang/ko-KR/messages.json b/crowdin/lang/ko-KR/messages.json index d995b0058..e9b4dd123 100644 --- a/crowdin/lang/ko-KR/messages.json +++ b/crowdin/lang/ko-KR/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "알 수 없음", "owner-bypass-check": "&e모든 조사를 통과하여, 거래를 완료했습니다! (당신은 상점 주인입니다.)", "reached-maximum-can-create": "&c당신은 이미 최대 {0}/{1} 개의 상점을 생성했습니다!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&c{0} 에 대한 가격이 제한되었습니다. 최소 {1} 원, 최대 {2} 원", "no-enough-money-to-keep-shops": "&c당신은 당신의 상점유지에 필요한 돈이 없습니다! 모든상점이 제거 됩니다...", "nothing-to-flush": "&a새로운 상점 메세지가 없습니다.", diff --git a/crowdin/lang/lt-LT/messages.json b/crowdin/lang/lt-LT/messages.json index 728d2daec..cf8cf5141 100644 --- a/crowdin/lang/lt-LT/messages.json +++ b/crowdin/lang/lt-LT/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/nl-NL/messages.json b/crowdin/lang/nl-NL/messages.json index 9e356f4ad..bea4111ee 100644 --- a/crowdin/lang/nl-NL/messages.json +++ b/crowdin/lang/nl-NL/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "onbekend", "owner-bypass-check": "&eBypassed alle controles. Handel succesvol! (Je bent nu de eigenaar van de winkel!)", "reached-maximum-can-create": "&cJe hebt al een maximum van {0}/{1} winkels gemaakt!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cBeperkte prijs voor {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cJe had niet genoeg geld om je winkels te houden! Alle winkels zijn verwijderd...", "nothing-to-flush": "&aU heeft geen nieuwe winkel berichten.", diff --git a/crowdin/lang/no-NO/messages.json b/crowdin/lang/no-NO/messages.json index 0b0e86777..bf91c88a3 100644 --- a/crowdin/lang/no-NO/messages.json +++ b/crowdin/lang/no-NO/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Ukjent", "owner-bypass-check": "&aAlle sjekker ble ignorert. Overføringen ble gjennomført! (Du er nå eieren av butikken!)", "reached-maximum-can-create": "&cDu har allerede opprettet maksimum {0}/{1} butikker!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cBegrenset pris for {0}: Min {1}, maks {2}", "no-enough-money-to-keep-shops": "&cDu har ikke nok penger til å beholde butikkene! Alle butikker ble fjernet...", "nothing-to-flush": "&aDu har ingen nye butikkmeldinger.", diff --git a/crowdin/lang/pl-PL/messages.json b/crowdin/lang/pl-PL/messages.json index 9395ebefd..646731ea1 100644 --- a/crowdin/lang/pl-PL/messages.json +++ b/crowdin/lang/pl-PL/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Nieznany", "owner-bypass-check": "&ePominięto wszystkie sprawdzania. Handel zakończony sukcesem! (Jesteś teraz właścicielem sklepu!)", "reached-maximum-can-create": "&cJuż utworzyłeś maksimum {0}/{1} sklepów!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cOgraniczona cena dla {0}: min. {1}, maks. {2}", "no-enough-money-to-keep-shops": "&cNie masz wystarczająco pieniędzy, aby przechowywać sklepy! Wszystkie sklepy zostały usunięte...", "nothing-to-flush": "&aNie masz nowych wiadomości ze sklepu.", diff --git a/crowdin/lang/pt-BR/messages.json b/crowdin/lang/pt-BR/messages.json index d0f0a52d1..df349bdda 100644 --- a/crowdin/lang/pt-BR/messages.json +++ b/crowdin/lang/pt-BR/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Desconhecido", "owner-bypass-check": "&eIgnorado todas as verificações, operação bem sucedida! (Agora \nvocê é o dono da loja!)", "reached-maximum-can-create": "&cVocê já criou o máximo de lojas! ({0}/{1})", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cPreço restrito para {0}: Mínimo de {1}, máximo de {2}", "no-enough-money-to-keep-shops": "&cVocê não tinha dinheiro suficiente para manter suas lojas! Todas as lojas foram removidas...", "nothing-to-flush": "&aVocê não tem novas mensagens da loja.", diff --git a/crowdin/lang/pt-PT/messages.json b/crowdin/lang/pt-PT/messages.json index 3e5f2860c..cc482e4d6 100644 --- a/crowdin/lang/pt-PT/messages.json +++ b/crowdin/lang/pt-PT/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/ro-RO/messages.json b/crowdin/lang/ro-RO/messages.json index 8c8a7aecd..3c184d8b5 100644 --- a/crowdin/lang/ro-RO/messages.json +++ b/crowdin/lang/ro-RO/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Necunoscută", "owner-bypass-check": "&eA trecut toate cecurile. Tranzacționați cu succes! (Fii proprietarul magazinului!)", "reached-maximum-can-create": "&cAi creat deja un maxim de {0}/{1} magazine!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cPret limitat pentru {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cNu ai destui bani pentru a-ti pastra magazinele! Toate magazinele au fost sterse...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/ru-RU/messages.json b/crowdin/lang/ru-RU/messages.json index 00df814dd..8572eb5b3 100644 --- a/crowdin/lang/ru-RU/messages.json +++ b/crowdin/lang/ru-RU/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Неизвестно", "owner-bypass-check": "&eВсе проверки прошли, вы можете торговать! (Теперь вы владелец магазина!)", "reached-maximum-can-create": "&cВы уже создали максимум {0}/{1} магазинов!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cЦена ограничена {0}: от {1} до {2}", "no-enough-money-to-keep-shops": "&7Недостаточно средств для аренды магазинов. Все магазины были удалены...", "nothing-to-flush": "&aУ вас нет новых сообщений в магазине.", diff --git a/crowdin/lang/sr-SP/messages.json b/crowdin/lang/sr-SP/messages.json index 728d2daec..cf8cf5141 100644 --- a/crowdin/lang/sr-SP/messages.json +++ b/crowdin/lang/sr-SP/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/sv-SE/messages.json b/crowdin/lang/sv-SE/messages.json index 99d4e691a..ffa298903 100644 --- a/crowdin/lang/sv-SE/messages.json +++ b/crowdin/lang/sv-SE/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Okänd", "owner-bypass-check": "&eIgnorerade alla checkar. Bytet lyckades! (Du är nu butiksägaren!)", "reached-maximum-can-create": "&cDu har redan skapat {0}/{1} butiker vilket är max!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cBegränsat pris för {0}: Minst {1}, högst {2}", "no-enough-money-to-keep-shops": "&cDu har inte tillräckligt med pengar för att behålla dina butiker! Alla butiker har tagits bort...", "nothing-to-flush": "&aDu har inga nya butiksmeddelanden.", diff --git a/crowdin/lang/th-TH/messages.json b/crowdin/lang/th-TH/messages.json index c92ffdef0..068390cb1 100644 --- a/crowdin/lang/th-TH/messages.json +++ b/crowdin/lang/th-TH/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/tr-TR/messages.json b/crowdin/lang/tr-TR/messages.json index 780c76afb..e50015097 100644 --- a/crowdin/lang/tr-TR/messages.json +++ b/crowdin/lang/tr-TR/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Bilinmiyor", "owner-bypass-check": "&eBütün kontroller atlandı. Ticaret başarılı! (Market sahibisin!)", "reached-maximum-can-create": "&cZaten maksimum {0}/{1} market oluşturdun!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&c{0} için sınırlandırılmış fiyat: Min {1}, Maks {2}", "no-enough-money-to-keep-shops": "&cMarketlerini açık tutacak kadar paran yoktu! Bütün marketlerin kaldırıldı...", "nothing-to-flush": "&aYeni market mesajınız yok.", diff --git a/crowdin/lang/uk-UA/messages.json b/crowdin/lang/uk-UA/messages.json index 6e7925b19..f931f8440 100644 --- a/crowdin/lang/uk-UA/messages.json +++ b/crowdin/lang/uk-UA/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.", diff --git a/crowdin/lang/vi-VN/messages.json b/crowdin/lang/vi-VN/messages.json index 0a45f2fc2..5045a64a2 100644 --- a/crowdin/lang/vi-VN/messages.json +++ b/crowdin/lang/vi-VN/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Không xác định", "owner-bypass-check": "&eBỏ qua tất cả các kiểm tra. Giao dịch thành công! (Bây giờ bạn là chủ cửa hàng!)", "reached-maximum-can-create": "&cBạn đã tạo tối đa {0}/{1} cửa hàng!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cGiá hạn chế cho {0}: Tối thiểu {1}, tối đa {2}", "no-enough-money-to-keep-shops": "&cBạn không có đủ tiền để giữ cửa hàng của mình! Tất cả các cửa hàng đã bị xóa ...", "nothing-to-flush": "&aBạn không có tin nhắn từ của hàng.", diff --git a/crowdin/lang/zh-CN/messages.json b/crowdin/lang/zh-CN/messages.json index a3b8bc5a3..737df11d5 100644 --- a/crowdin/lang/zh-CN/messages.json +++ b/crowdin/lang/zh-CN/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "未知所有者", "owner-bypass-check": "&e已绕过所有检查并完成交易(因为你是商店所有者)!", "reached-maximum-can-create": "&c你创建的商店数量达到上限:{0}/{1}", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&c物品 {0} 的价格限制为 {1}(包含)到{2}(包含)", "no-enough-money-to-keep-shops": "&c你没有足够的金钱去维持你商店的运营!所有商店已被移除...", "nothing-to-flush": "&a你没有新的商店消息", diff --git a/crowdin/lang/zh-HK/messages.json b/crowdin/lang/zh-HK/messages.json index f6cbc568b..6c0c9d0bb 100644 --- a/crowdin/lang/zh-HK/messages.json +++ b/crowdin/lang/zh-HK/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "未知", "owner-bypass-check": "&e已繞過所有檢查. 交易成功! (你宜家係新既店主!)", "reached-maximum-can-create": "&c你已經創建咗 {0}/{1} 個商店!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&c{0} 既限制價格:最低 {1},最高 {2}", "no-enough-money-to-keep-shops": "&c你冇足夠既錢黎維持你既商店! 你所有既商店已被移除...", "nothing-to-flush": "&a你冇任何來自商店既新消息.", diff --git a/crowdin/lang/zh-TW/messages.json b/crowdin/lang/zh-TW/messages.json index 3cab09adb..8402d2266 100644 --- a/crowdin/lang/zh-TW/messages.json +++ b/crowdin/lang/zh-TW/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "未知", "owner-bypass-check": "&e繞過所有檢查並交易成功!(因為你是商店擁有者!)", "reached-maximum-can-create": "&c你建立的商店數量已達到上限(你已建立 {0} 個,最多 {1} 個!)", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&c{0} 是無效的價格:最高 {1},最低 {2}。", "no-enough-money-to-keep-shops": "&c你沒有足夠的金錢維持你的商店經營!所以你所有的商店已被移除……", "nothing-to-flush": "&a沒有關於商店的新訊息。", diff --git a/pom.xml b/pom.xml index b4d35d0d4..cae431e57 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ QuickShop - 5.1.2.1 + 5.1.2.2 org.maxgamer.quickshop Ghost-chu UTF-8 @@ -854,7 +854,7 @@ com.github.alex9849 advanced-region-market - 3.4.3 + 3.5.0 provided diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java index 325589a70..00fdc73c0 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java @@ -19,6 +19,7 @@ package org.maxgamer.quickshop.command.subcommand; +import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -55,6 +56,16 @@ public class SubCommand_Transfer implements CommandHandler { } final UUID targetPlayerUUID = targetPlayer.getUuid(); List shopList = plugin.getShopManager().getPlayerAllShops(sender.getUniqueId()); + if (plugin.isLimit()) { + final Player player = plugin.getServer().getPlayer(targetPlayerUUID); + if (player == null) { + plugin.text().of(sender, "unknown-player").send(); + return; + } + if (!checkAndSendLimitMessage(player, sender, shopList.size())) { + return; + } + } for (Shop shop : shopList) { if (!shop.isBuying()) { shop.setOwner(targetPlayerUUID); @@ -88,6 +99,16 @@ public class SubCommand_Transfer implements CommandHandler { } final UUID targetPlayerUUID = targetPlayer.getUuid(); List shopList = plugin.getShopManager().getPlayerAllShops(fromPlayer.getUuid()); + if (plugin.isLimit()) { + final Player player = plugin.getServer().getPlayer(targetPlayerUUID); + if (player == null) { + plugin.text().of(sender, "unknown-player").send(); + return; + } + if (!checkAndSendLimitMessage(player, sender, shopList.size())) { + return; + } + } for (Shop shop : shopList) { shop.setOwner(targetPlayerUUID); } @@ -98,6 +119,27 @@ public class SubCommand_Transfer implements CommandHandler { } } + private boolean checkAndSendLimitMessage(Player checkingPlayer, CommandSender commandSender, int increment) { + if (plugin.isLimit()) { + int owned = 0; + if (plugin.getConfig().getBoolean("limits.old-algorithm")) { + owned = plugin.getShopManager().getPlayerAllShops(checkingPlayer.getUniqueId()).size(); + } else { + for (final Shop shop : plugin.getShopManager().getPlayerAllShops(checkingPlayer.getUniqueId())) { + if (!shop.isUnlimited()) { + owned++; + } + } + } + int max = plugin.getShopLimit(checkingPlayer); + if (owned + increment <= max) { + plugin.text().of(commandSender, "reached-maximum-other-can-hold", String.valueOf(owned), String.valueOf(max)).send(); + return false; + } + } + return true; + } + @Override public @Nullable List onTabComplete(@NotNull Player sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { return cmdArg.length <= 2 ? Util.getPlayerList() : Collections.emptyList(); diff --git a/src/main/java/org/maxgamer/quickshop/listener/PlayerListener.java b/src/main/java/org/maxgamer/quickshop/listener/PlayerListener.java index f73e092ad..2c35e1f30 100644 --- a/src/main/java/org/maxgamer/quickshop/listener/PlayerListener.java +++ b/src/main/java/org/maxgamer/quickshop/listener/PlayerListener.java @@ -54,6 +54,7 @@ import org.maxgamer.quickshop.api.shop.Info; import org.maxgamer.quickshop.api.shop.Shop; import org.maxgamer.quickshop.api.shop.ShopAction; import org.maxgamer.quickshop.shop.SimpleInfo; +import org.maxgamer.quickshop.util.GameVersion; import org.maxgamer.quickshop.util.InteractUtil; import org.maxgamer.quickshop.util.MsgUtil; import org.maxgamer.quickshop.util.PermissionChecker; @@ -169,6 +170,10 @@ public class PlayerListener extends AbstractQSListener { if (e.getAction() == Action.RIGHT_CLICK_BLOCK) { e.setUseItemInHand(Event.Result.DENY); } + //Cancel for interacting with sign (editing) + if (plugin.getGameVersion().ordinal() >= GameVersion.v1_20_R1.ordinal()) { + e.setCancelled(true); + } } } } diff --git a/src/main/resources/lang/messages.json b/src/main/resources/lang/messages.json index 728d2daec..cf8cf5141 100644 --- a/src/main/resources/lang/messages.json +++ b/src/main/resources/lang/messages.json @@ -70,6 +70,7 @@ "unknown-owner": "Unknown", "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", + "reached-maximum-other-can-hold": "&cTarget player has reached the maximum of {0}/{1} shops!", "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", "nothing-to-flush": "&aYou have no new shop messages.",