Merge branch 'develop' of https://github.com/BentoBoxWorld/Warps.git into develop
This commit is contained in:
commit
3c9515295d
4
pom.xml
4
pom.xml
|
@ -66,7 +66,7 @@
|
||||||
<!-- Do not change unless you want different name for local builds. -->
|
<!-- Do not change unless you want different name for local builds. -->
|
||||||
<build.number>-LOCAL</build.number>
|
<build.number>-LOCAL</build.number>
|
||||||
<!-- This allows to change between versions. -->
|
<!-- This allows to change between versions. -->
|
||||||
<build.version>1.13.0</build.version>
|
<build.version>1.14.0</build.version>
|
||||||
<!-- Sonar Cloud -->
|
<!-- Sonar Cloud -->
|
||||||
<sonar.projectKey>BentoBoxWorld_Warps</sonar.projectKey>
|
<sonar.projectKey>BentoBoxWorld_Warps</sonar.projectKey>
|
||||||
<sonar.organization>bentobox-world</sonar.organization>
|
<sonar.organization>bentobox-world</sonar.organization>
|
||||||
|
@ -312,7 +312,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.jacoco</groupId>
|
<groupId>org.jacoco</groupId>
|
||||||
<artifactId>jacoco-maven-plugin</artifactId>
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<version>0.8.11</version>
|
<version>0.8.10</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<append>true</append>
|
<append>true</append>
|
||||||
<excludes>
|
<excludes>
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class WarpsCommand extends CompositeCommand {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
this.setPermission(this.getParent() == null ? Warp.WELCOME_WARP_SIGNS + ".warp" : "island.warp");
|
this.setPermission(this.getParent() == null ? Warp.WELCOME_WARP_SIGNS + ".warps" : "island.warps");
|
||||||
this.setOnlyPlayer(true);
|
this.setOnlyPlayer(true);
|
||||||
this.setDescription("warps.help.description");
|
this.setDescription("warps.help.description");
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,16 +4,16 @@ warp:
|
||||||
description: teleportuje cię do tabliczki innego gracza
|
description: teleportuje cię do tabliczki innego gracza
|
||||||
parameters: "<gracz>"
|
parameters: "<gracz>"
|
||||||
warps:
|
warps:
|
||||||
deactivate: "&c Stary teleport zdezaktywowany!"
|
deactivate: "&c Stary teleport został zdezaktywowany!"
|
||||||
error:
|
error:
|
||||||
does-not-exist: "&c Ten teleport nie istnieje."
|
does-not-exist: "&c Ten teleport nie istnieje."
|
||||||
no-permission: "&c Brak uprawnień!"
|
no-permission: "&c Brak uprawnień!"
|
||||||
no-remove: "&c Nie możesz usunąć tej tabliczki!"
|
no-remove: "&c Nie możesz usunąć tej tabliczki!"
|
||||||
no-warps-yet: "&c Nie ma jeszcze teleportów."
|
no-warps-yet: "&c Nie ma jeszcze stworzonych teleportów."
|
||||||
not-enough-level: "&c Twój poziom wyspy nie jest wystarczająco wysoki!"
|
not-enough-level: "&c Twój poziom wyspy nie jest wystarczająco wysoki!"
|
||||||
not-on-island: "&c Musisz być na wyspie, by to zrobić."
|
not-on-island: "&c Musisz być na wyspie, by to zrobić."
|
||||||
not-safe: "&c Ten teleport nie jest bezpieczny!"
|
not-safe: "&c Ten teleport nie jest bezpieczny!"
|
||||||
your-level-is: "&c Twój poziom wyspy to [level], a musi wynosić co namniej [required].
|
your-level-is: "&c Twój poziom wyspy to [level], a musi wynosić co najmniej [required].
|
||||||
Użyj komendy /is level."
|
Użyj komendy /is level."
|
||||||
help:
|
help:
|
||||||
description: otwiera panel warpów
|
description: otwiera panel warpów
|
||||||
|
@ -34,7 +34,7 @@ warps:
|
||||||
description: "&7 Przełącz na stronę [number]"
|
description: "&7 Przełącz na stronę [number]"
|
||||||
warp:
|
warp:
|
||||||
name: "&f&l [name]"
|
name: "&f&l [name]"
|
||||||
description: "[sing_text]"
|
description: "[sign_text]"
|
||||||
random:
|
random:
|
||||||
name: "&f&l Losowa wyspa"
|
name: "&f&l Losowa wyspa"
|
||||||
description: "&7 Hmm, gdzie się pojawię?"
|
description: "&7 Hmm, gdzie się pojawię?"
|
||||||
|
|
|
@ -123,7 +123,7 @@ public class WarpsCommandTest {
|
||||||
@Test
|
@Test
|
||||||
public void testSetupWarpCompositeCommand() {
|
public void testSetupWarpCompositeCommand() {
|
||||||
warpCommandWarpsCompositeCommand();
|
warpCommandWarpsCompositeCommand();
|
||||||
assertEquals("bskyblock.island.warp", wc.getPermission());
|
assertEquals("bskyblock.island.warps", wc.getPermission());
|
||||||
assertTrue(wc.isOnlyPlayer());
|
assertTrue(wc.isOnlyPlayer());
|
||||||
assertEquals("warps.help.description", wc.getDescription());
|
assertEquals("warps.help.description", wc.getDescription());
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ public class WarpsCommandTest {
|
||||||
@Test
|
@Test
|
||||||
public void testSetupWarp() {
|
public void testSetupWarp() {
|
||||||
warpCommandWarps();
|
warpCommandWarps();
|
||||||
assertEquals(Warp.WELCOME_WARP_SIGNS + ".warp", wc.getPermission());
|
assertEquals(Warp.WELCOME_WARP_SIGNS + ".warps", wc.getPermission());
|
||||||
assertTrue(wc.isOnlyPlayer());
|
assertTrue(wc.isOnlyPlayer());
|
||||||
assertEquals("warps.help.description", wc.getDescription());
|
assertEquals("warps.help.description", wc.getDescription());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue