From 52961fcd22b6c1c71dec77b5954b4179719528bf Mon Sep 17 00:00:00 2001 From: Alex <58361830+VoxCrafterLP@users.noreply.github.com> Date: Fri, 6 Aug 2021 16:24:17 +0200 Subject: [PATCH 1/7] Update stable.yml --- .github/workflows/stable.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index bce846a..371264e 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -1,7 +1,7 @@ # This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -name: Java CI with Maven +name: Publish on: push: @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Maven Central Repository + - name: Set up repository uses: actions/setup-java@v2 with: java-version: '8' From 85f1af126f1dffb8beab458899731635fb66565d Mon Sep 17 00:00:00 2001 From: VoxCrafterLP <58361830+VoxCrafterLP@users.noreply.github.com> Date: Fri, 6 Aug 2021 16:46:16 +0200 Subject: [PATCH 2/7] Fix #45 --- .../deathmatch/PlayerInteractListener.java | 36 +++++++++---------- .../manager/InventoryManager.java | 2 +- src/main/resources/languages/de_CH.yml | 2 ++ src/main/resources/languages/de_DE.yml | 2 ++ src/main/resources/languages/en_US.yml | 2 ++ 5 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/main/java/com/voxcrafterlp/jumprace/minigameserver/listener/deathmatch/PlayerInteractListener.java b/src/main/java/com/voxcrafterlp/jumprace/minigameserver/listener/deathmatch/PlayerInteractListener.java index c51ca88..b487606 100644 --- a/src/main/java/com/voxcrafterlp/jumprace/minigameserver/listener/deathmatch/PlayerInteractListener.java +++ b/src/main/java/com/voxcrafterlp/jumprace/minigameserver/listener/deathmatch/PlayerInteractListener.java @@ -1,5 +1,6 @@ package com.voxcrafterlp.jumprace.minigameserver.listener.deathmatch; +import com.google.common.collect.Lists; import com.voxcrafterlp.jumprace.JumpRace; import com.voxcrafterlp.jumprace.enums.GameState; import org.bukkit.Material; @@ -10,6 +11,7 @@ import org.bukkit.event.block.Action; import org.bukkit.event.player.PlayerInteractEvent; +import java.util.Comparator; import java.util.List; import java.util.concurrent.atomic.AtomicReference; @@ -55,32 +57,30 @@ public void onInteract(PlayerInteractEvent event) { if(event.getItem().getType() == Material.COMPASS) { final List nearbyEntities = player.getNearbyEntities(100.0D, 100.0D, 100.0D); - final AtomicReference nearestPlayer = new AtomicReference<>(); - - if(nearbyEntities.isEmpty()) { - player.sendMessage(JumpRace.getInstance().getLanguageLoader().getTranslationByKeyWithPrefix("message-tracker-no-player-found")); - return; - } + //Removes every entity that is not an instance of Player nearbyEntities.forEach(entity -> { - if(entity instanceof Player) { - final Player target = (Player) entity; - if(nearestPlayer.get() != null) { - if(player.getLocation().distance(target.getLocation()) > nearestPlayer.get().getLocation().distance(target.getLocation())) - nearestPlayer.set(target); - } else - nearestPlayer.set(target); - } + if(!(entity instanceof Player)) + nearbyEntities.remove(entity); }); - if(nearestPlayer.get().isEmpty()) { + final Player nearestPlayer = (Player) nearbyEntities.stream().sorted((entity1, entity2) -> { + final double distance1 = player.getLocation().distance(entity1.getLocation()); + final double distance2 = player.getLocation().distance(entity2.getLocation()); + + if(distance1 == distance2) return 0; + return (distance1 < distance2) ? -1 : 1; + }).findAny().orElse(null); + + + if(nearestPlayer == null) { player.sendMessage(JumpRace.getInstance().getLanguageLoader().getTranslationByKeyWithPrefix("message-tracker-no-player-found")); return; } - int distance = Math.round((float) nearestPlayer.get().getLocation().distance(player.getLocation())); - player.sendMessage(JumpRace.getInstance().getLanguageLoader().getTranslationByKeyWithPrefix("message-tracker-track", JumpRace.getInstance().getGameManager().getPlayerNames().get(nearestPlayer.get()), String.valueOf(distance))); - player.setCompassTarget(nearestPlayer.get().getLocation()); + final int distance = Math.round((float) nearestPlayer.getLocation().distance(player.getLocation())); + player.sendMessage(JumpRace.getInstance().getLanguageLoader().getTranslationByKeyWithPrefix("message-tracker-track", JumpRace.getInstance().getGameManager().getPlayerNames().get(nearestPlayer), String.valueOf(distance))); + player.setCompassTarget(nearestPlayer.getLocation()); } } } diff --git a/src/main/java/com/voxcrafterlp/jumprace/minigameserver/manager/InventoryManager.java b/src/main/java/com/voxcrafterlp/jumprace/minigameserver/manager/InventoryManager.java index 5cdbf52..107bb7f 100644 --- a/src/main/java/com/voxcrafterlp/jumprace/minigameserver/manager/InventoryManager.java +++ b/src/main/java/com/voxcrafterlp/jumprace/minigameserver/manager/InventoryManager.java @@ -50,7 +50,7 @@ private void buildInventories() { //===============================================// this.jumpingInventory.setItem(0, new ItemManager(Material.WOOD_AXE).setUnbreakable(true).build()); - this.jumpingInventory.setItem(8, new ItemManager(Material.COMPASS).build()); + this.jumpingInventory.setItem(8, new ItemManager(Material.COMPASS).setDisplayName(JumpRace.getInstance().getLanguageLoader().getTranslationByKey("item-tracker-name")).build()); //===============================================// diff --git a/src/main/resources/languages/de_CH.yml b/src/main/resources/languages/de_CH.yml index 77947d6..354ac5d 100644 --- a/src/main/resources/languages/de_CH.yml +++ b/src/main/resources/languages/de_CH.yml @@ -253,4 +253,6 @@ scoreboard-map: "&7Map&8:" scoreboard-teams: "&7Teams&8:" scoreboard-time: "&7Ziit&8: " +item-tracker-name: "§9Tracker" + # Translated by Lezurex (https://github.com/Lezurex) \ No newline at end of file diff --git a/src/main/resources/languages/de_DE.yml b/src/main/resources/languages/de_DE.yml index 46bec07..7d63d74 100644 --- a/src/main/resources/languages/de_DE.yml +++ b/src/main/resources/languages/de_DE.yml @@ -257,4 +257,6 @@ scoreboard-map: "&7Map&8:" scoreboard-teams: "&7Teams&8:" scoreboard-time: "&7Zeit&8: " +item-tracker-name: "§9Tracker" + # Translated by MakeItGame diff --git a/src/main/resources/languages/en_US.yml b/src/main/resources/languages/en_US.yml index 29f83ec..db994f6 100644 --- a/src/main/resources/languages/en_US.yml +++ b/src/main/resources/languages/en_US.yml @@ -256,3 +256,5 @@ scoreboard-spectator: "&c\u2718 &8\u258C &7" scoreboard-map: "&7Map&8:" scoreboard-teams: "&7Teams&8:" scoreboard-time: "&7Time&8: " + +item-tracker-name: "§9Tracker" \ No newline at end of file From 8663815bfdb6c29c5c1a615676fa3644cd818d43 Mon Sep 17 00:00:00 2001 From: VoxCrafterLP <58361830+VoxCrafterLP@users.noreply.github.com> Date: Fri, 6 Aug 2021 16:50:52 +0200 Subject: [PATCH 3/7] Add map name to lobby title --- src/main/java/com/voxcrafterlp/jumprace/objects/Countdown.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/voxcrafterlp/jumprace/objects/Countdown.java b/src/main/java/com/voxcrafterlp/jumprace/objects/Countdown.java index bdf0cc2..07ffef9 100644 --- a/src/main/java/com/voxcrafterlp/jumprace/objects/Countdown.java +++ b/src/main/java/com/voxcrafterlp/jumprace/objects/Countdown.java @@ -81,7 +81,8 @@ public void startCountdown() { case 10: case 5: if(this.type == Type.LOBBY) - Bukkit.getOnlinePlayers().forEach(player -> new TitleUtil().sendTitle(player, "§bJumpRace", 10, 45, 10)); + Bukkit.getOnlinePlayers().forEach(player -> new TitleUtil().sendFullTitle(player, "§bJumpRace", + JumpRace.getInstance().getLocationManager().getCurrentMapName(), 10, 45, 10)); case 4: case 3: case 2: From 232514347568a0d4ecdbefc1863c0b30ec11b3af Mon Sep 17 00:00:00 2001 From: VoxCrafterLP <58361830+VoxCrafterLP@users.noreply.github.com> Date: Fri, 6 Aug 2021 17:09:26 +0200 Subject: [PATCH 4/7] Close #49 --- src/main/resources/languages/de_CH.yml | 2 +- src/main/resources/languages/de_DE.yml | 60 +++++++++++++------------- src/main/resources/languages/en_US.yml | 8 ++-- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/main/resources/languages/de_CH.yml b/src/main/resources/languages/de_CH.yml index 354ac5d..a024fe8 100644 --- a/src/main/resources/languages/de_CH.yml +++ b/src/main/resources/languages/de_CH.yml @@ -253,6 +253,6 @@ scoreboard-map: "&7Map&8:" scoreboard-teams: "&7Teams&8:" scoreboard-time: "&7Ziit&8: " -item-tracker-name: "§9Tracker" +item-tracker-name: "&9Tracker" # Translated by Lezurex (https://github.com/Lezurex) \ No newline at end of file diff --git a/src/main/resources/languages/de_DE.yml b/src/main/resources/languages/de_DE.yml index 7d63d74..3b505f2 100644 --- a/src/main/resources/languages/de_DE.yml +++ b/src/main/resources/languages/de_DE.yml @@ -84,7 +84,7 @@ particles-overview-addeffect-name: "&bEffekt hinzuf particles-overview-addeffect-description: "&7Füge einen eigenen\n&7Partikel-Effekt hinzu" particles-overview-noeffects-name: "&cKeine Effekte" particles-overview-noeffects-description: "&7Du hast bislang noch\n&7keine Effekte hinzugefügt.\n\n&7Du kannst Effekte hinzufügen,\n&7indem du auf den &8\"&bEffekt\n&bhinzufügen&8\"&7-Knopf drückst." -particles-overview-item-description: "&7Click to change\n&7the settings for\n&7this effect" +particles-overview-item-description: "&7Klicke, um die Einstellungen\n&7für diesen Effekt\n&7anzupassen" particles-addeffect-inventory: "&bPartikel-Effekt hinzufügen" particles-addeffect-item-description: "&7Klicke um diesen\n&7Partikel-Effekt\n&7hinzuzufügen" @@ -94,27 +94,27 @@ particles-addeffect-back-name: "&cZur particles-addeffect-back-description: "&7Klicke um zurück zu\n&7der Übersicht zu gelangen" particles-addeffect-success: "&7Du hast den {0}&7-Effekt &berfolgreich &7hinzugefügt." -particles-effectsettings-inventory: "&bEffect settings" +particles-effectsettings-inventory: "&bEffekt Einstellungen" particles-effectsettings-yaw-name: "&bYaw" -particles-effectsettings-yaw-description: "&7Change the &byaw\n&7rotation of the effect\n\n&7Current value&8: &3{0}" +particles-effectsettings-yaw-description: "&7Ändere die &bYaw\n&7Rotation des Effektes\n\n&7Aktueller Wert&8: &3{0}" particles-effectsettings-pitch-name: "&bPitch" -particles-effectsettings-pitch-description: "&7Change the &bpitch\n&7rotation of the effect\n\n&7Current value&8: &3{0}" -particles-effectsettings-size-name: "&bSize" -particles-effectsettings-size-description: "&7Change the &bsize\n&7of the effect\n\n&7Current value&8: &3{0}" -particles-effectsettings-particles-name: "&cChange particles" -particles-effectsettings-particles-description: "&7Click to change the\n&7particles of the effect.\n\n&7Currently these\n&7particles are\n&7selected&8: &c{0}" -particles-effectsettings-teleport-name: "&3Teleport" -particles-effectsettings-teleport-description: "&7Click to teleport\n&7the effect to your\n&7current position" -particles-effectsettings-delete-name: "&4Delete" -particles-effectsettings-delete-description: "&7Click to\n&7delete the effect" -particles-effectsettings-configure-name: "&cConfigure action" -particles-effectsettings-configure-description: "&7Click to configure a\n&7custom action\n&7for the effect" +particles-effectsettings-pitch-description: "&7Ändere die &bPitch\n&7Rotation des Effektes\n\n&7Aktueller Wert&8: &3{0}" +particles-effectsettings-size-name: "&bGröße" +particles-effectsettings-size-description: "&7Ändere die &bGröße\n&7des Effektes\n\n&7Aktueller Wert&8: &3{0}" +particles-effectsettings-particles-name: "&cPartikeltyp ändern" +particles-effectsettings-particles-description: "&7Klicke, um den Partikeltyp\n&7des Effektes zu ändern.\n\n&7Momentan ist dieser Typ\n&7ausgewählt&8: &c{0}" +particles-effectsettings-teleport-name: "&3Teleportieren" +particles-effectsettings-teleport-description: "&7Klicke, um den Effekt\n&7an deine aktuelle\n&7Position zu teleportieren" +particles-effectsettings-delete-name: "&4Löschen" +particles-effectsettings-delete-description: "&7Klicke, um den Effekt\n&7zu löschen" +particles-effectsettings-configure-name: "&cEreignis konfigurieren" +particles-effectsettings-configure-description: "&7Klicke, um ein Ereignis\n&7für diesen Effekt\n&7zu konfigurieren" particle-effect-ring-name: "&2Kreis" particle-effect-cube-name: "&6Würfel" particle-effect-sphere-name: "&aKugel" particle-effect-plate-name: "&ePlatte" -particle-effect-hollow-plate-name: "&5Hollow plate" +particle-effect-hollow-plate-name: "&5Hohle Platte" particle-effect-helix-name: "&9Helix" particle-flame-name: "&6Flames" @@ -129,20 +129,20 @@ particle-fireworks-name: "&fFireworks" particle-heart-name: "&cHeart" particle-enchantment_table-name: "&9Enchantment table" -action-inventory-name: "&cConfigure action" -action-velocity-name: "&aVelocity boost" -action-velocity-description: "&7Boosts the player\n&7into the air" -action-jumpboost-name: "&aJump boost" -action-jumpboost-description: "&7Gives the player the\n&2jump boost &7effect for\n&7a specific time" -action-speed-name: "&aSpeed boost" -action-speed-description: "&7Gives the player the\n&2speed &7effect for a\n&7specific time" -action-info-name: "&bChange value" -action-info-description-velocity: "&7Change the power\n&7of the boost\n\n&7Current power: &2{0}" -action-info-description-jumpboost: "&7Change the duration\n&7of the jump boost effect.\n\n&7Current boost: &2{0} seconds" -action-info-description-speed: "&7Change the duration\n&7of the speed effect.\n\n&7Current boost: &2{0} seconds" - -particles-message-delete-success: "&7You &asuccessfully &7deleted the &bparticle effect&7." -particles-message-teleport-success: "&7You &asuccessfully &7teleported the &bparticle effect &7to your current position." +action-inventory-name: "&cEreignis konfigurieren" +action-velocity-name: "&aBeschleunigungsboost" +action-velocity-description: "&7Booste den Spieler\n&7in die Luft" +action-jumpboost-name: "&aSprungkraft" +action-jumpboost-description: "&7Gibt dem Spieler den\n&2Sprungkraft &7Effekt für\n&7eine bestimmte Zeit" +action-speed-name: "&aGeschwindigkeitseffekt" +action-speed-description: "&7Gibt dem Spieler den\n&2Geschwindigkeitseffekt &7für\n&7eine bestimmte Zeit" +action-info-name: "&bWert ändern" +action-info-description-velocity: "&7Ändere die Stärke\n&7des Boost\n\n&7Aktuelle Stärke: &2{0}" +action-info-description-jumpboost: "&7Ändere die Dauer des\n&7Sprungkraft Effektes.\n\n&7Aktuelle Zeit: &2{0} Sekunden" +action-info-description-speed: "&7Ändere die Dauer des\n&7Geschwindigkeitseffektes.\n\n&7Aktuelle Zeit: &2{0} Sekunden" + +particles-message-delete-success: "&7Du hast den &bPartikeleffekt &7erfolgreich &cgelöscht&7." +particles-message-teleport-success: "&7Du hast den &bPartikeleffekt &7an deine aktuelle Position &ateleportiert&7." message-editor-start-1: "&7Du kannst das Modul jetzt &bbauen&8." message-editor-start-2: "&7du kannst Partikel in den &bEinstellungen &cdeaktivieren&7, indem du in den &cPerformance-Editor &7wechselst&8." @@ -257,6 +257,6 @@ scoreboard-map: "&7Map&8:" scoreboard-teams: "&7Teams&8:" scoreboard-time: "&7Zeit&8: " -item-tracker-name: "§9Tracker" +item-tracker-name: "&9Tracker" # Translated by MakeItGame diff --git a/src/main/resources/languages/en_US.yml b/src/main/resources/languages/en_US.yml index db994f6..5544f78 100644 --- a/src/main/resources/languages/en_US.yml +++ b/src/main/resources/languages/en_US.yml @@ -138,10 +138,10 @@ action-speed-name: "&aSpeed boost" action-speed-description: "&7Gives the player the\n&2speed &7effect for a\n&7specific time" action-info-name: "&bChange value" action-info-description-velocity: "&7Change the power\n&7of the boost\n\n&7Current power: &2{0}" -action-info-description-jumpboost: "&7Change the duration\n&7of the jump boost effect.\n\n&7Current boost: &2{0} seconds" -action-info-description-speed: "&7Change the duration\n&7of the speed effect.\n\n&7Current boost: &2{0} seconds" +action-info-description-jumpboost: "&7Change the duration\n&7of the jump boost effect.\n\n&7Current time: &2{0} seconds" +action-info-description-speed: "&7Change the duration\n&7of the speed effect.\n\n&7Current time: &2{0} seconds" -particles-message-delete-success: "&7You &asuccessfully &7deleted the &bparticle effect&7." +particles-message-delete-success: "&7You successfully &cdeleted &7the &bparticle effect&7." particles-message-teleport-success: "&7You &asuccessfully &7teleported the &bparticle effect &7to your current position." message-editor-start-1: "&7You can now start &bbuilding&8." @@ -257,4 +257,4 @@ scoreboard-map: "&7Map&8:" scoreboard-teams: "&7Teams&8:" scoreboard-time: "&7Time&8: " -item-tracker-name: "§9Tracker" \ No newline at end of file +item-tracker-name: "&9Tracker" \ No newline at end of file From 2b40d4addcdec7fb4d4a59943db1aea373a76703 Mon Sep 17 00:00:00 2001 From: VoxCrafterLP <58361830+VoxCrafterLP@users.noreply.github.com> Date: Fri, 6 Aug 2021 17:29:56 +0200 Subject: [PATCH 5/7] Update German translation --- src/main/resources/languages/de_DE.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/languages/de_DE.yml b/src/main/resources/languages/de_DE.yml index 3b505f2..231ba47 100644 --- a/src/main/resources/languages/de_DE.yml +++ b/src/main/resources/languages/de_DE.yml @@ -71,7 +71,7 @@ settings-item-physics-description: "&7Hier kannst du die\n&7Block-Physik\n&7umst settings-item-heads-name: "&bKöpfe" settings-item-heads-description: "&7Hier findest du einige\n&7Köpfe für dein Bauwerk" settings-item-particles-name: "&bPartikel-Effekte" -settings-item-particles-description: "&7Hier kannst du eigene\n&7Partikel-Effekte für\n&7dein Bauwerk hinzufügen" +settings-item-particles-description: "&7Hier kannst du eigene\n&7Partikel-Effekte zu\n&7deinem Bauwerk hinzufügen" previous-page-name: "&bVorherige Seite" next-page-name: "&bNächste Seite" @@ -94,7 +94,7 @@ particles-addeffect-back-name: "&cZur particles-addeffect-back-description: "&7Klicke um zurück zu\n&7der Übersicht zu gelangen" particles-addeffect-success: "&7Du hast den {0}&7-Effekt &berfolgreich &7hinzugefügt." -particles-effectsettings-inventory: "&bEffekt Einstellungen" +particles-effectsettings-inventory: "&bEffekteinstellungen" particles-effectsettings-yaw-name: "&bYaw" particles-effectsettings-yaw-description: "&7Ändere die &bYaw\n&7Rotation des Effektes\n\n&7Aktueller Wert&8: &3{0}" particles-effectsettings-pitch-name: "&bPitch" From 1f36379b2c8b105571300c59cf3f40684520eee5 Mon Sep 17 00:00:00 2001 From: Lenny Angst Date: Fri, 6 Aug 2021 17:36:55 +0200 Subject: [PATCH 6/7] Update Swiss German translation --- src/main/resources/languages/de_CH.yml | 102 +++++++++++++------------ src/main/resources/languages/de_DE.yml | 7 +- 2 files changed, 56 insertions(+), 53 deletions(-) diff --git a/src/main/resources/languages/de_CH.yml b/src/main/resources/languages/de_CH.yml index a024fe8..a52308c 100644 --- a/src/main/resources/languages/de_CH.yml +++ b/src/main/resources/languages/de_CH.yml @@ -53,7 +53,7 @@ settings-inventory-name: "&cIhstellige" heads-inventory-name: "&bChöpf" settings-item-name: "&cIhstellige" -settings-item-description: "&7Hier kannst du Einstellungen\n&7zu dem Modul abändern,\n&7sowie einige einzigartige\n&7Features nutzen" +settings-item-description: "&7Da chasch du Ihstellige\n&7zu dem Modul abändere,\n&7sowie einigi einzigartigi\n&7Features nutze" settings-item-rename-name: "&cModul umbenenne" settings-item-rename-description: "&7Da chasch du\n&7s'Modul\n&7umbenenne" settings-item-change-difficulty-name: "&cSchwierigkeit ändere" @@ -70,8 +70,8 @@ settings-item-physics-name-disabled: "&bPhysik &7(&cdeaktiviert&7)" settings-item-physics-description: "&7Da chasch du d'\n&7Block-Physik\n&7umstelle" settings-item-heads-name: "&bChöpf" settings-item-heads-description: "&7Da findsch du einigi\n&7Chöpf für dis Bauwerch" -settings-item-particles-name: "&bPartikel-Effekte" -settings-item-particles-description: "&7Hier kannst du eigene\n&7Partikel-Effekte für\n&7dein Bauwerk hinzufügen" +settings-item-particles-name: "&bPartikel-Effekt" +settings-item-particles-description: "&7Da chasch du eigeni\n&7Partikel-Effekt zu\n&7deinem Bauwerk hinzuefüege" previous-page-name: "&bVorherigi Site" next-page-name: "&bNächsti Site" @@ -80,42 +80,44 @@ pageswitcher-description: "&7Site&8: &3{0}&8/&b{1}" heads-headitem-name: "&bChopf" particles-overview-inventory: "&bPartikel" -particles-overview-addeffect-name: "&bEffekt hinzufügen" -particles-overview-addeffect-description: "&7Füge einen eigenen\n&7Partikel-Effekt hinzu" -particles-overview-noeffects-name: "&cKeine Effekte" -particles-overview-noeffects-description: "&7Du hast bislang noch\n&7keine Effekte hinzugefügt.\n\n&7Du kannst Effekte hinzufügen,\n&7indem du auf den &8\"&bEffekt\n&bhinzufügen&8\"&7-Knopf drückst." - -particles-addeffect-inventory: "&bPartikel-Effekt hinzufügen" -particles-addeffect-item-description: "&7Klicke um diesen\n&7Partikel-Effekt hinzuzufügen" -particles-addeffect-info-name: "&bInformationen" -particles-addeffect-info-description: "&cHinweis&8: &7Wenn du\n&7einen Partikel-Effekt\n&7hinzufügst, wird dieser\n&7an deiner aktuellen\n&7Position gespawnt." -particles-addeffect-back-name: "&cZurück zur Übersicht" -particles-addeffect-back-description: "&7Klicke um zurück zu\n&7der Übersicht zu gelangen" -particles-addeffect-success: "&7Du hast den {0}&7-Effekt &berfolgreich &7hinzugefügt." - -particles-effectsettings-inventory: "&bEffect settings" +particles-overview-addeffect-name: "&bEffekt hinzuefüge" +particles-overview-addeffect-description: "&7Füeg en eigne\n&7Partikel-Effekt hinzue" +particles-overview-noeffects-name: "&cKei Effekt" +particles-overview-noeffects-description: "&7Du hesch bislang no\n&7kei Effekt hinzuegfüegt.\n\n&7Du chasch Effekt hinzuefüege,\n&7indem du uf de &8\"&bEffekt\n&bhinzuefüege&8\"&7-Chnopf drücksch." +particles-overview-item-description: "&7Klick, um d'Ihstellige\n&7für de Effekt\n&7ahzpasse" + +particles-addeffect-inventory: "&bPartikel-Effekt hinzuefüege" +particles-addeffect-item-description: "&7Klick, um de\n&7Partikel-Effekt hinzuezfüege" +particles-addeffect-info-name: "&bInformatione" +particles-addeffect-info-description: "&cHiwis&8: &7Wenn du\n&7en Partikel-Effekt\n&7hinzuefüegsch, wird de\n&7ah dinere aktuelle\n&7Position gspawnt." +particles-addeffect-back-name: "&cZrugg zur Übersicht" +particles-addeffect-back-description: "&7Klick, um zrugg zur\n&7Übersicht z'glange" +particles-addeffect-success: "&7Du hesch de {0}&7-Effekt &berfolgrich &7hinzuegfüegt." + +particles-effectsettings-inventory: "&bEffektihstellige" particles-effectsettings-yaw-name: "&bYaw" -particles-effectsettings-yaw-description: "&7Change the &byaw\n&7rotation of the effect\n\n&7Current value&8: &3{0}" +particles-effectsettings-yaw-description: "&7Ändere d'&bYaw\n&7Rotation vom Effekt\n\n&7Aktuelle Wert&8: &3{0}" particles-effectsettings-pitch-name: "&bPitch" -particles-effectsettings-pitch-description: "&7Change the &bpitch\n&7rotation of the effect\n\n&7Current value&8: &3{0}" -particles-effectsettings-size-name: "&bSize" -particles-effectsettings-size-description: "&7Change the &bsize\n&7of the effect\n\n&7Current value&8: &3{0}" -particles-effectsettings-particles-name: "&cChange particles" -particles-effectsettings-particles-description: "&7Click to change the\n&7particles of the effect.\n\n&7Currently these\n&7particles are\n&7selected&8: &c{0}" -particles-effectsettings-teleport-name: "&3Teleport" -particles-effectsettings-teleport-description: "&7Click to teleport\n&7the effect to your\n&7current position" -particles-effectsettings-delete-name: "&4Delete" -particles-effectsettings-delete-description: "&7Click to\n&7delete the effect" -particles-effectsettings-configure-name: "&cConfigure action" -particles-effectsettings-configure-description: "&7Click to configure a\n&7custom action\n&7for the effect" - -particle-effect-ring-name: "&2Ring" -particle-effect-cube-name: "&6Cube" -particle-effect-sphere-name: "&aSphere" -particle-effect-plate-name: "&ePlate" -particle-effect-hollow-plate-name: "&5Hollow plate" +particles-effectsettings-pitch-description: "&7Ändere d'&bPitch\n&7Rotation vom Effekte\n\n&7Aktuelle Wert&8: &3{0}" +particles-effectsettings-size-name: "&bGrössi" +particles-effectsettings-size-description: "&7Ändere d&bGrössi\n&7vom Effekt\n\n&7Aktuelle Wert&8: &3{0}" +particles-effectsettings-particles-name: "&cPartikeltyp ändere" +particles-effectsettings-particles-description: "&7Klick, um de Partikeltyp\n&7vom Effekt z'ändere.\n\n&7Momentan isch de Typ\n&7usgwählt&8: &c{0}" +particles-effectsettings-teleport-name: "&3Teleportiere" +particles-effectsettings-teleport-description: "&7Klick, um de Effekt\n&7ah dini aktuelli\n&7Position z'teleportiere" +particles-effectsettings-delete-name: "&4Lösche" +particles-effectsettings-delete-description: "&7Klick, um de Effekt\n&7z'lösche" +particles-effectsettings-configure-name: "&cAktion konfiguriere" +particles-effectsettings-configure-description: "&7Klick, um en Aktion\n&7für de Effekt\n&7z'konfiguriere" + +particle-effect-ring-name: "&2Chreis" +particle-effect-cube-name: "&6Würfel" +particle-effect-sphere-name: "&aChugle" +particle-effect-plate-name: "&ePlatte" +particle-effect-hollow-plate-name: "&5Hohli Platte" particle-effect-helix-name: "&9Helix" +# Do not translate this part particle-flame-name: "&6Flames" particle-villager_happy-name: "&2Happy villager" particle-drip_water-name: "&bWater drip" @@ -128,20 +130,20 @@ particle-fireworks-name: "&fFireworks" particle-heart-name: "&cHeart" particle-enchantment_table-name: "&9Enchantment table" -action-inventory-name: "&cConfigure action" -action-velocity-name: "&aVelocity boost" -action-velocity-description: "&7Boosts the player\n&7into the air" -action-jumpboost-name: "&aJump boost" -action-jumpboost-description: "&7Gives the player the\n&2jump boost &7effect for\n&7a specific time" -action-speed-name: "&aSpeed boost" -action-speed-description: "&7Gives the player the\n&2speed &7effect for a\n&7specific time" -action-info-name: "&bChange value" -action-info-description-velocity: "&7Change the power\n&7of the boost\n\n&7Current power: &2{0}" -action-info-description-jumpboost: "&7Change the duration\n&7of the jump boost effect.\n\n&7Current boost: &2{0} seconds" -action-info-description-speed: "&7Change the duration\n&7of the speed effect.\n\n&7Current boost: &2{0} seconds" - -particles-message-delete-success: "&7You &asuccessfully &7deleted the &bparticle effect&7." -particles-message-teleport-success: "&7You &asuccessfully &7teleported the &bparticle effect &7to your current position." +action-inventory-name: "&cAktion konfiguriere" +action-velocity-name: "&aBeschlünigungsboost" +action-velocity-description: "&7Boost de Spieler\n&7ih d'Luft" +action-jumpboost-name: "&aSprungchraft" +action-jumpboost-description: "&7Gibt em Spieler de\n&2Sprungchraft &7Effekt für\n&7e bestimmti Ziit" +action-speed-name: "&aGschwindigkeitseffekt" +action-speed-description: "&7Gibt em Spieler den\n&2Gschwindigkeitseffekt &7für\n&7e bestimmti Ziit" +action-info-name: "&bWert ändere" +action-info-description-velocity: "&7Änder d'Stärchi\n&7vom Boost\n\n&7Aktuelli Stärchi: &2{0}" +action-info-description-jumpboost: "&7Änder d'Duur vom\n&7Sprungchraft Effekt.\n\n&7Aktuelli Ziit: &2{0} Sekunde" +action-info-description-speed: "&7Änder d'Duur vom\n&7Gschwindigkeitseffekt.\n\n&7Aktuelli Ziit: &2{0} Sekunde" + +particles-message-delete-success: "&7Du hesch de &bPartikeleffekt &7erfolgrich &cglöscht&7." +particles-message-teleport-success: "&7Du hesch de &bPartikeleffekt &7ah dini aktuelli Position &ateleportiert&7." message-editor-start-1: "&7Du chasch s'Modul jetzt &bbaue&8." message-editor-start-2: "&7Du chasch Partikel ih de &bIhstellige &cdeaktiviere&7, indem du ih de &cPerformance-Editor &7wechslisch&8." @@ -255,4 +257,4 @@ scoreboard-time: "&7Ziit&8: " item-tracker-name: "&9Tracker" -# Translated by Lezurex (https://github.com/Lezurex) \ No newline at end of file +# Translated by Lezurex (https://github.com/Lezurex) diff --git a/src/main/resources/languages/de_DE.yml b/src/main/resources/languages/de_DE.yml index 231ba47..d0eb9a4 100644 --- a/src/main/resources/languages/de_DE.yml +++ b/src/main/resources/languages/de_DE.yml @@ -107,8 +107,8 @@ particles-effectsettings-teleport-name: "&3Teleportieren" particles-effectsettings-teleport-description: "&7Klicke, um den Effekt\n&7an deine aktuelle\n&7Position zu teleportieren" particles-effectsettings-delete-name: "&4Löschen" particles-effectsettings-delete-description: "&7Klicke, um den Effekt\n&7zu löschen" -particles-effectsettings-configure-name: "&cEreignis konfigurieren" -particles-effectsettings-configure-description: "&7Klicke, um ein Ereignis\n&7für diesen Effekt\n&7zu konfigurieren" +particles-effectsettings-configure-name: "&cAktion konfigurieren" +particles-effectsettings-configure-description: "&7Klicke, um eine Aktion\n&7für diesen Effekt\n&7zu konfigurieren" particle-effect-ring-name: "&2Kreis" particle-effect-cube-name: "&6Würfel" @@ -117,6 +117,7 @@ particle-effect-plate-name: "&ePlatte" particle-effect-hollow-plate-name: "&5Hohle Platte" particle-effect-helix-name: "&9Helix" +# Do not translate this part particle-flame-name: "&6Flames" particle-villager_happy-name: "&2Happy villager" particle-drip_water-name: "&bWater drip" @@ -129,7 +130,7 @@ particle-fireworks-name: "&fFireworks" particle-heart-name: "&cHeart" particle-enchantment_table-name: "&9Enchantment table" -action-inventory-name: "&cEreignis konfigurieren" +action-inventory-name: "&cAktion konfigurieren" action-velocity-name: "&aBeschleunigungsboost" action-velocity-description: "&7Booste den Spieler\n&7in die Luft" action-jumpboost-name: "&aSprungkraft" From 826a938039b5e23d4cd32521d95a448f70c7e8fc Mon Sep 17 00:00:00 2001 From: VoxCrafterLP <58361830+VoxCrafterLP@users.noreply.github.com> Date: Fri, 6 Aug 2021 17:43:46 +0200 Subject: [PATCH 7/7] Prepare release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 86c7a7d..0d1a6e2 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ com.voxcrafterlp JumpRace JumpRace - 1.2.0-SNAPSHOT + 1.2.0-RELEASE