diff --git a/pom.xml b/pom.xml index 65d4a33..2941ab6 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ eu.darkbot.DarkBotAPI darkbot-common - 0.8.2 + 0.9.9 diff --git a/src/main/java/eu/darkbot/popcorn/def/PalladiumModule.java b/src/main/java/eu/darkbot/popcorn/def/PalladiumModule.java index ad4bcf7..bd7641c 100644 --- a/src/main/java/eu/darkbot/popcorn/def/PalladiumModule.java +++ b/src/main/java/eu/darkbot/popcorn/def/PalladiumModule.java @@ -38,7 +38,7 @@ public PalladiumModule(PluginAPI api, OreAPI ores, EntitiesAPI entities, StarSystemAPI starSystem, - AuthAPI auth) throws StarSystemAPI.MapNotFoundException { + AuthAPI auth){ super(api); if (!Arrays.equals(VerifierChecker.class.getSigners(), getClass().getSigners())) throw new SecurityException(); VerifierChecker.checkAuthenticity(auth); @@ -48,7 +48,7 @@ public PalladiumModule(PluginAPI api, this.stats = stats; this.ores = ores; - this.SELL_MAP = starSystem.getByName("5-2"); + this.SELL_MAP = starSystem.getOrCreateMap("5-2"); this.bases = entities.getStations(); } diff --git a/src/main/java/eu/darkbot/popcorn/def/SampleModule.java b/src/main/java/eu/darkbot/popcorn/def/SampleModule.java index 9399cf2..21123b9 100644 --- a/src/main/java/eu/darkbot/popcorn/def/SampleModule.java +++ b/src/main/java/eu/darkbot/popcorn/def/SampleModule.java @@ -177,9 +177,11 @@ public Collection getExtraMenuItems(PluginAPI api) { return Arrays.asList( // Use i18n with the plugin as context to find translations in our plugin resource file createSeparator(i18n.get(plugin, "sample_module.menu.separator")), - create(i18n.get(plugin, "sample_module.menu.menu_entry"), e -> Popups.showMessageAsync( - "Sample popup", // These could also come from translation file, but for simplicity they don't - "Just a pop-up created when pressing the sample module", - JOptionPane.INFORMATION_MESSAGE))); + create(i18n.get(plugin, "sample_module.menu.menu_entry"), e -> + Popups.of( + i18n.get(plugin, "sample_module.popup.title"), + i18n.get(plugin, "sample_module.popup.content"), + JOptionPane.INFORMATION_MESSAGE + ).showAsync())); } } diff --git a/src/main/java/eu/darkbot/popcorn/def/UserAgentUpdater.java b/src/main/java/eu/darkbot/popcorn/def/UserAgentUpdater.java index f632502..84bce21 100644 --- a/src/main/java/eu/darkbot/popcorn/def/UserAgentUpdater.java +++ b/src/main/java/eu/darkbot/popcorn/def/UserAgentUpdater.java @@ -11,10 +11,10 @@ import eu.darkbot.api.managers.AuthAPI; import eu.darkbot.api.managers.ConfigAPI; import eu.darkbot.util.http.Http; - import javax.swing.*; import java.awt.*; import java.io.BufferedReader; +import java.io.IOException; import java.io.InputStreamReader; import java.time.Instant; import java.time.ZoneId; @@ -63,12 +63,17 @@ public void setConfig(ConfigSetting config) { public void onTickTask() { if (System.currentTimeMillis() <= nextUpdate.getValue()) return; - String version = Http.create(URL).consumeInputStream(in -> - new BufferedReader(new InputStreamReader(in)).lines() - .map(VERSION::matcher) - .filter(Matcher::find) - .map(matcher -> matcher.group(1)) - .findFirst().orElse(null)); + String version = null; + try { + version = Http.create(URL).consumeInputStream(in -> + new BufferedReader(new InputStreamReader(in)).lines() + .map(VERSION::matcher) + .filter(Matcher::find) + .map(matcher -> matcher.group(1)) + .findFirst().orElse(null)); + } catch (IOException e) { + throw new RuntimeException(e); + } if (version == null) nextUpdate.setValue(System.currentTimeMillis() + HOUR); else { diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_bg.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_bg.properties new file mode 100644 index 0000000..379bddf --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_bg.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Време за пауза при стрелба (минути) +anti_push.config.drawfire_pause_time.desc=Време за пауза, 0 за изключване, -1 за безкрайна пауза +anti_push.config.max_deaths=Макс. убивания от същия играч +anti_push.config.max_deaths.desc=Максималният брой пъти, в които един играч може да ви убие, преди ботът да спре. +anti_push.config.death_pause_time=Време за пауза след достигане на лимита (минути) +anti_push.config.death_pause_time.desc=Време за пауза след убиванията, 0 за изключване, -1 за безкрайна пауза + +agent_updater.config.user_agent=User agent (автоматично обновен) +agent_updater.config.next_update=Следващо обновяване + +sample_module.config.boolean_value=Някакво поле за отметка +sample_module.config.some_value=Някакво поле за отметка +sample_module.config.integer_limit=Цяло число от 1 до 999 +sample_module.config.percentage_value=% стойност, може да се използва за здраве +sample_module.config.key=Горещ клавиш +sample_module.config.move_ship=Движение на кораба +sample_module.config.ship_mode=Режим на кораба +sample_module.config.percent_range=Процентен диапазон + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Примерен флаг +sample_module.flags.simple_flag.desc=Примерен флаг за тестови цели + +sample_module.menu.separator=Пример +sample_module.menu.menu_entry=Примерно меню + +sample_module.popup.title=Примерна информация +sample_module.popup.content=Това е преведено съобщение от новия Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_cz.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_cz.properties new file mode 100644 index 0000000..f790b4e --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_cz.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Doba pauzy při palbě (minuty) +anti_push.config.drawfire_pause_time.desc=Doba pauzy, 0 pro zakázání, -1 pro nekonečnou pauzu +anti_push.config.max_deaths=Max. zabití stejným hráčem +anti_push.config.max_deaths.desc=Maximální počet, kolikrát vás může jeden hráč zabít, než se bot pozastaví. +anti_push.config.death_pause_time=Doba pauzy po dosažení limitu (minuty) +anti_push.config.death_pause_time.desc=Doba pauzy po dosažení limitu zabití, 0 pro zakázání, -1 pro nekonečnou pauzu + +agent_updater.config.user_agent=User agent (auto-aktualizováno) +agent_updater.config.next_update=Další aktualizace + +sample_module.config.boolean_value=Nějaké zaškrtávací políčko +sample_module.config.some_value=Nějaké zaškrtávací políčko +sample_module.config.integer_limit=Celé číslo limitováno na 1-999 +sample_module.config.percentage_value=% hodnota, lze použít pro životy +sample_module.config.key=Klávesová zkratka +sample_module.config.move_ship=Pohyb lodě +sample_module.config.ship_mode=Režim lodě +sample_module.config.percent_range=Procentuální rozsah + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Ukázková vlajka +sample_module.flags.simple_flag.desc=Ukázková vlajka pro testovací účely + +sample_module.menu.separator=Ukázka +sample_module.menu.menu_entry=Ukázkové menu + +sample_module.popup.title=Ukázkové informace +sample_module.popup.content=Toto je přeložená zpráva z nového Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_de.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_de.properties new file mode 100644 index 0000000..870e905 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_de.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Pausenzeit bei Draw Fire (Minuten) +anti_push.config.drawfire_pause_time.desc=Pausenzeit, 0 zum Deaktivieren, -1 für unendliche Pause +anti_push.config.max_deaths=Max. Kills durch denselben Spieler +anti_push.config.max_deaths.desc=Wie oft ein Spieler dich töten darf, bevor der Bot pausiert. +anti_push.config.death_pause_time=Pausenzeit nach Erreichen der Kills (Minuten) +anti_push.config.death_pause_time.desc=Zeit nach Kills, 0 zum Deaktivieren, -1 für unendliche Pause + +agent_updater.config.user_agent=User Agent (auto-aktualisiert) +agent_updater.config.next_update=Nächstes Update + +sample_module.config.boolean_value=Boolesches Kontrollkästchen +sample_module.config.some_value=Boolesches Kontrollkästchen +sample_module.config.integer_limit=Ganzzahl begrenzt auf 1-999 +sample_module.config.percentage_value=%-Wert, kann für HP verwendet werden +sample_module.config.key=Hotkey +sample_module.config.move_ship=Schiff bewegen +sample_module.config.ship_mode=Schiffsmodus +sample_module.config.percent_range=Prozentbereich + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Beispielflagge +sample_module.flags.simple_flag.desc=Beispielflagge für Testzwecke + +sample_module.menu.separator=Beispiel +sample_module.menu.menu_entry=Beispielmenü + +sample_module.popup.title=Beispielinformationen +sample_module.popup.content=Dies ist eine übersetzte Nachricht der neuen Popups-API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_el.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_el.properties new file mode 100644 index 0000000..6d5ee93 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_el.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Χρόνος παύσης κατά τη βολή (λεπτά) +anti_push.config.drawfire_pause_time.desc=Χρόνος παύσης, 0 για απενεργοποίηση, -1 για άπειρη παύση +anti_push.config.max_deaths=Μέγιστοι θάνατοι από τον ίδιο παίκτη +anti_push.config.max_deaths.desc=Ο μέγιστος αριθμός φορών που ένας παίκτης μπορεί να σας σκοτώσει πριν το bot σταματήσει. +anti_push.config.death_pause_time=Χρόνος παύσης μετά το όριο θανάτων (λεπτά) +anti_push.config.death_pause_time.desc=Χρόνος παύσης μετά το όριο, 0 για απενεργοποίηση, -1 για άπειρη παύση + +agent_updater.config.user_agent=User agent (αυτόματη ενημέρωση) +agent_updater.config.next_update=Επόμενη ενημέρωση + +sample_module.config.boolean_value=Κάποιο πλαίσιο επιλογής +sample_module.config.some_value=Κάποιο πλαίσιο επιλογής +sample_module.config.integer_limit=Ακέραιος αριθμός 1-999 +sample_module.config.percentage_value=% τιμή, μπορεί να χρησιμοποιηθεί για υγεία +sample_module.config.key=Πλήκτρο συντόμευσης +sample_module.config.move_ship=Μετακίνηση πλοίου +sample_module.config.ship_mode=Λειτουργία πλοίου +sample_module.config.percent_range=Εύρος ποσοστού + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Παράδειγμα σημαίας +sample_module.flags.simple_flag.desc=Παράδειγμα σημαίας για δοκιμαστικούς σκοπούς + +sample_module.menu.separator=Παράδειγμα +sample_module.menu.menu_entry=Μενού παραδείγματος + +sample_module.popup.title=Πληροφορίες Παραδείγματος +sample_module.popup.content=Αυτό είναι ένα μεταφρασμένο μήνυμα από το νέο Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_en.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_en.properties index 03a0187..4f2fb67 100644 --- a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_en.properties +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_en.properties @@ -1,6 +1,5 @@ # suppress inspection "UnusedProperty" for whole file - anti_push.config.drawfire_pause_time=Pause time on draw fire (minutes) anti_push.config.drawfire_pause_time.desc=Pause time, 0 to disable feature, -1 for infinite pause anti_push.config.max_deaths=Max kills by same player @@ -25,4 +24,7 @@ sample_module.flags.simple_flag=Sample flag sample_module.flags.simple_flag.desc=Sample flag for testing purposes, provided by sample module sample_module.menu.separator=Sample -sample_module.menu.menu_entry=Sample menu \ No newline at end of file +sample_module.menu.menu_entry=Sample menu + +sample_module.popup.title=Sample Information +sample_module.popup.content=This is a translated message from the new Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_es.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_es.properties new file mode 100644 index 0000000..db37ed6 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_es.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Tiempo de pausa al disparar (minutos) +anti_push.config.drawfire_pause_time.desc=Tiempo de pausa, 0 para desactivar, -1 para pausa infinita +anti_push.config.max_deaths=Muertes máximas por el mismo jugador +anti_push.config.max_deaths.desc=Máximas veces que un jugador puede matarte antes de que el bot se detenga. +anti_push.config.death_pause_time=Tiempo de pausa tras alcanzar muertes (minutos) +anti_push.config.death_pause_time.desc=Tiempo de pausa tras muertes, 0 para desactivar, -1 para pausa infinita + +agent_updater.config.user_agent=User agent (actualizado auto) +agent_updater.config.next_update=Próxima actualización + +sample_module.config.boolean_value=Casilla de verificación booleana +sample_module.config.some_value=Casilla de verificación booleana +sample_module.config.integer_limit=Entero limitado de 1 a 999 +sample_module.config.percentage_value=Valor %, se puede usar para la vida +sample_module.config.key=Tecla de acceso rápido +sample_module.config.move_ship=Mover nave +sample_module.config.ship_mode=Modo de nave +sample_module.config.percent_range=Rango de porcentaje + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Bandera de ejemplo +sample_module.flags.simple_flag.desc=Bandera de ejemplo para pruebas + +sample_module.menu.separator=Ejemplo +sample_module.menu.menu_entry=Menú de ejemplo + +sample_module.popup.title=Información de Ejemplo +sample_module.popup.content=¡Este es un mensaje traducido de la nueva API de Popups! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_fr.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_fr.properties new file mode 100644 index 0000000..1839bba --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_fr.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Temps de pause lors du tir (minutes) +anti_push.config.drawfire_pause_time.desc=Temps de pause, 0 pour désactiver, -1 για pause infinie +anti_push.config.max_deaths=Meurtres max par le même joueur +anti_push.config.max_deaths.desc=Nombre maximal de fois qu'un joueur peut vous tuer avant que le bot ne s'arrête. +anti_push.config.death_pause_time=Temps de pause après limite de meurtres (minutes) +anti_push.config.death_pause_time.desc=Temps de pause, 0 pour désactiver, -1 pour pause infinie + +agent_updater.config.user_agent=User agent (mis à jour auto) +agent_updater.config.next_update=Prochaine mise à jour + +sample_module.config.boolean_value=Case à cocher +sample_module.config.some_value=Case à cocher +sample_module.config.integer_limit=Entier limité de 1 à 999 +sample_module.config.percentage_value=Valeur %, peut être utilisée pour la vie +sample_module.config.key=Raccourci clavier +sample_module.config.move_ship=Déplacer le vaisseau +sample_module.config.ship_mode=Mode du vaisseau +sample_module.config.percent_range=Plage de pourcentage + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Drapeau d'exemple +sample_module.flags.simple_flag.desc=Drapeau d'exemple pour tests + +sample_module.menu.separator=Exemple +sample_module.menu.menu_entry=Menu d'exemple + +sample_module.popup.title=Informations d'exemple +sample_module.popup.content=Ceci est un message traduit de la nouvelle API Popups ! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_hu.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_hu.properties new file mode 100644 index 0000000..41bffc0 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_hu.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Szünet ideje tűz esetén (perc) +anti_push.config.drawfire_pause_time.desc=Szünet ideje, 0 a kikapcsoláshoz, -1 a végtelen szünethez +anti_push.config.max_deaths=Max. halál ugyanattól a játékostól +anti_push.config.max_deaths.desc=Hányszor ölhet meg egy játékos, mielőtt a bot megállna. +anti_push.config.death_pause_time=Szünet ideje a halálok elérése után (perc) +anti_push.config.death_pause_time.desc=Szünet ideje, 0 a kikapcsoláshoz, -1 a végtelen szünethez + +agent_updater.config.user_agent=User agent (automatikusan frissítve) +agent_updater.config.next_update=Következő frissítés + +sample_module.config.boolean_value=Logikai jelölőnégyzet +sample_module.config.some_value=Logikai jelölőnégyzet +sample_module.config.integer_limit=Egész szám 1-999 között +sample_module.config.percentage_value=%-os érték, használható életerőhöz +sample_module.config.key=Gyorsbillentyű +sample_module.config.move_ship=Hajó mozgatása +sample_module.config.ship_mode=Hajó mód +sample_module.config.percent_range=Százalékos tartomány + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Példa zászló +sample_module.flags.simple_flag.desc=Példa zászló tesztelési célokra + +sample_module.menu.separator=Példa +sample_module.menu.menu_entry=Példa menü + +sample_module.popup.title=Példa információ +sample_module.popup.content=Ez egy lefordított üzenet az új Popups API-tól! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_it.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_it.properties new file mode 100644 index 0000000..79e7399 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_it.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Tempo di pausa su "Draw Fire" (minuti) +anti_push.config.drawfire_pause_time.desc=Tempo di pausa: 0 per disattivare, -1 per pausa infinita +anti_push.config.max_deaths=Morti massime dallo stesso giocatore +anti_push.config.max_deaths.desc=Il numero massimo di volte che un giocatore può ucciderti prima che il bot vada in pausa. +anti_push.config.death_pause_time=Tempo di pausa dopo limite morti (minuti) +anti_push.config.death_pause_time.desc=Tempo di pausa raggiunto il limite di morti: 0 per disattivare, -1 per pausa infinita + +agent_updater.config.user_agent=User agent (aggiornato auto) +agent_updater.config.next_update=Prossimo aggiornamento + +sample_module.config.boolean_value=Casella di controllo booleana +sample_module.config.some_value=Casella di controllo booleana +sample_module.config.integer_limit=Intero limitato a 1-999 +sample_module.config.percentage_value=Valore %, utilizzabile per la vita (HP) +sample_module.config.key=Tasto rapido da premere +sample_module.config.move_ship=Muovi nave +sample_module.config.ship_mode=Modalità nave +sample_module.config.percent_range=Intervallo percentuale + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Flag d'esempio +sample_module.flags.simple_flag.desc=Flag d'esempio a scopo di test, fornito dal modulo d'esempio + +sample_module.menu.separator=Esempio +sample_module.menu.menu_entry=Menu d'esempio + +sample_module.popup.title=Informazioni d'Esempio +sample_module.popup.content=Questo è un messaggio tradotto dalla nuova API dei Popups! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_lt.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_lt.properties new file mode 100644 index 0000000..6990ca5 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_lt.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Pauzės laikas šaudant (minutės) +anti_push.config.drawfire_pause_time.desc=Pauzės laikas, 0 - išjungti, -1 - begalinė pauzė +anti_push.config.max_deaths=Maks. nužudymų to paties žaidėjo +anti_push.config.max_deaths.desc=Kiek kartų tas pats žaidėjas gali jus nužudyti, kol botas sustos. +anti_push.config.death_pause_time=Pauzės laikas pasiekus ribą (minutės) +anti_push.config.death_pause_time.desc=Pauzės laikas, 0 - išjungti, -1 - begalinė pauzė + +agent_updater.config.user_agent=User agent (atnaujinta automatiškai) +agent_updater.config.next_update=Kitas atnaujinimas + +sample_module.config.boolean_value=Loginis pasirinkimas +sample_module.config.some_value=Loginis pasirinkimas +sample_module.config.integer_limit=Sveikas skaičius nuo 1 iki 999 +sample_module.config.percentage_value=% reikšmė, gali būti naudojama gyvybėms +sample_module.config.key=Greitasis klavišas +sample_module.config.move_ship=Judinti laivą +sample_module.config.ship_mode=Laivo režimas +sample_module.config.percent_range=Procentinis rėžis + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Pavyzdinė vėliava +sample_module.flags.simple_flag.desc=Pavyzdinė vėliava testavimo tikslams + +sample_module.menu.separator=Pavyzdys +sample_module.menu.menu_entry=Pavyzdinis meniu + +sample_module.popup.title=Pavyzdinė informacija +sample_module.popup.content=Tai išversta žinutė iš naujojo Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_pl.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_pl.properties new file mode 100644 index 0000000..f1d0522 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_pl.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Czas pauzy przy ostrzale (minuty) +anti_push.config.drawfire_pause_time.desc=Czas pauzy, 0 aby wyłączyć, -1 dla nieskończonej pauzy +anti_push.config.max_deaths=Maks. zabójstw przez tego samego gracza +anti_push.config.max_deaths.desc=Maksymalna liczba razy, kiedy jeden gracz może Cię zabić, zanim bot się zatrzyma. +anti_push.config.death_pause_time=Czas pauzy po osiągnięciu limitu (minuty) +anti_push.config.death_pause_time.desc=Czas pauzy, 0 aby wyłączyć, -1 dla nieskończonej pauzy + +agent_updater.config.user_agent=User agent (automatycznie aktualizowany) +agent_updater.config.next_update=Następna aktualizacja + +sample_module.config.boolean_value=Pole wyboru +sample_module.config.some_value=Pole wyboru +sample_module.config.integer_limit=Liczba całkowita 1-999 +sample_module.config.percentage_value=Wartość %, może być użyta do HP +sample_module.config.key=Klawisz skrótu +sample_module.config.move_ship=Ruch statku +sample_module.config.ship_mode=Tryb statku +sample_module.config.percent_range=Zakres procentowy + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Przykładowa flaga +sample_module.flags.simple_flag.desc=Przykładowa flaga do celów testowych + +sample_module.menu.separator=Przykład +sample_module.menu.menu_entry=Przykładowe menu + +sample_module.popup.title=Przykładowa informacja +sample_module.popup.content=To jest przetłumaczona wiadomość z nowego Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_pt.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_pt.properties new file mode 100644 index 0000000..0206032 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_pt.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Tempo de pausa ao disparar (minutos) +anti_push.config.drawfire_pause_time.desc=Tempo de pausa, 0 para desativar, -1 para pausa infinita +anti_push.config.max_deaths=Máximo de mortes pelo mesmo jogador +anti_push.config.max_deaths.desc=O número máximo de vezes que um jogador pode matar você antes do bot pausar. +anti_push.config.death_pause_time=Tempo de pausa após atingir mortes (minutos) +anti_push.config.death_pause_time.desc=Tempo de pausa, 0 para desativar, -1 para pausa infinita + +agent_updater.config.user_agent=User agent (atualizado auto) +agent_updater.config.next_update=Próxima atualização + +sample_module.config.boolean_value=Caixa de seleção booleana +sample_module.config.some_value=Caixa de seleção booleana +sample_module.config.integer_limit=Inteiro limitado a 1-999 +sample_module.config.percentage_value=Valor %, pode ser usado para vida +sample_module.config.key=Tecla de atalho +sample_module.config.move_ship=Mover nave +sample_module.config.ship_mode=Modo da nave +sample_module.config.percent_range=Intervalo de percentagem + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Bandeira de exemplo +sample_module.flags.simple_flag.desc=Bandeira de exemplo para fins de teste + +sample_module.menu.separator=Exemplo +sample_module.menu.menu_entry=Menu de exemplo + +sample_module.popup.title=Informação de Exemplo +sample_module.popup.content=Esta é uma mensagem traduzida da nova Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_ro.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_ro.properties new file mode 100644 index 0000000..beafa53 --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_ro.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Timp de pauză la tragere (minute) +anti_push.config.drawfire_pause_time.desc=Timp de pauză, 0 pentru dezactivare, -1 pentru pauză infinită +anti_push.config.max_deaths=Nr. maxim de decese de la același jucător +anti_push.config.max_deaths.desc=De câte ori te poate omorî un jucător înainte ca botul să se oprească. +anti_push.config.death_pause_time=Timp de pauză după atingerea limitei (minute) +anti_push.config.death_pause_time.desc=Timp de pauză, 0 pentru dezactivare, -1 pentru pauză infinită + +agent_updater.config.user_agent=User agent (actualizat automat) +agent_updater.config.next_update=Următoarea actualizare + +sample_module.config.boolean_value=Căsuță de selectare booleană +sample_module.config.some_value=Căsuță de selectare booleană +sample_module.config.integer_limit=Număr întreg limitat la 1-999 +sample_module.config.percentage_value=Valoare %, poate fi folosită pentru viață +sample_module.config.key=Tastă rapidă +sample_module.config.move_ship=Mută nava +sample_module.config.ship_mode=Mod navă +sample_module.config.percent_range=Interval procentual + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Steag de exemplu +sample_module.flags.simple_flag.desc=Steag de exemplu pentru testare + +sample_module.menu.separator=Exemplu +sample_module.menu.menu_entry=Meniu exemplu + +sample_module.popup.title=Informații exemplu +sample_module.popup.content=Acesta este un mesaj tradus din noul Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_ru.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_ru.properties new file mode 100644 index 0000000..c31d01f --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_ru.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Время паузы при стрельбе (мин) +anti_push.config.drawfire_pause_time.desc=Время паузы, 0 — отключить, -1 — бесконечная пауза +anti_push.config.max_deaths=Макс. смертей от одного игрока +anti_push.config.max_deaths.desc=Сколько раз один игрок может убить вас, прежде чем бот остановится. +anti_push.config.death_pause_time=Время паузы после лимита смертей (мин) +anti_push.config.death_pause_time.desc=Время паузы, 0 — отключить, -1 — бесконечная пауза + +agent_updater.config.user_agent=User agent (автообновление) +agent_updater.config.next_update=Следующее обновление + +sample_module.config.boolean_value=Логический флажок +sample_module.config.some_value=Логический флажок +sample_module.config.integer_limit=Число ограничено 1-999 +sample_module.config.percentage_value=% значение, можно для здоровья +sample_module.config.key=Горячая клавиша +sample_module.config.move_ship=Движение корабля +sample_module.config.ship_mode=Режим корабля +sample_module.config.percent_range=Диапазон процентов + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Пример флага +sample_module.flags.simple_flag.desc=Пример флага для тестирования + +sample_module.menu.separator=Пример +sample_module.menu.menu_entry=Пример меню + +sample_module.popup.title=Пример информации +sample_module.popup.content=Это переведенное сообщение из нового Popups API! \ No newline at end of file diff --git a/src/main/resources/eu/darkbot/popcorn/def/lang/strings_tr.properties b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_tr.properties new file mode 100644 index 0000000..a022c7d --- /dev/null +++ b/src/main/resources/eu/darkbot/popcorn/def/lang/strings_tr.properties @@ -0,0 +1,30 @@ +# suppress inspection "UnusedProperty" for whole file + +anti_push.config.drawfire_pause_time=Ateş ederken duraklatma süresi (dakika) +anti_push.config.drawfire_pause_time.desc=Duraklatma süresi, devre dışı bırakmak için 0, sonsuz için -1 +anti_push.config.max_deaths=Aynı oyuncu tarafından maks. öldürme +anti_push.config.max_deaths.desc=Botun durmadan önce bir oyuncunun sizi kaç kez öldürebileceği. +anti_push.config.death_pause_time=Öldürme sınırından sonra duraklatma (dakika) +anti_push.config.death_pause_time.desc=Duraklatma süresi, devre dışı bırakmak için 0, sonsuz için -1 + +agent_updater.config.user_agent=User agent (otomatik güncellendi) +agent_updater.config.next_update=Sonraki güncelleme + +sample_module.config.boolean_value=Mantıksal onay kutusu +sample_module.config.some_value=Mantıksal onay kutusu +sample_module.config.integer_limit=1-999 arası tam sayı +sample_module.config.percentage_value=% değeri, can için kullanılabilir +sample_module.config.key=Kısayol tuşu +sample_module.config.move_ship=Gemiyi hareket ettir +sample_module.config.ship_mode=Gemi modu +sample_module.config.percent_range=Yüzde aralığı + +sample_module.flags.simple_flag.short=SF +sample_module.flags.simple_flag=Örnek bayrak +sample_module.flags.simple_flag.desc=Test amaçlı örnek bayrak + +sample_module.menu.separator=Örnek +sample_module.menu.menu_entry=Örnek menü + +sample_module.popup.title=Örnek Bilgi +sample_module.popup.content=Bu, yeni Popups API'den çevrilmiş bir mesajdır! \ No newline at end of file