mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-09-28 06:27:37 +02:00
Compare commits
69 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
2843a8e3ed | ||
|
d8fb2de177 | ||
|
9cf7107c04 | ||
|
eacf76e8a3 | ||
|
20b71d7cf3 | ||
|
e4319b2fb7 | ||
|
59edce4d0d | ||
|
7ddf865430 | ||
|
f811c7ca1d | ||
|
253428b223 | ||
|
4438c36b61 | ||
|
30d191f94e | ||
|
e265a58be6 | ||
|
d69f084ba6 | ||
|
adb7d1eb47 | ||
|
7441b7717f | ||
|
e424560c37 | ||
|
7fb20e74f3 | ||
|
1916f3f267 | ||
|
78cfa51641 | ||
|
ec6b950304 | ||
|
d0588303c0 | ||
|
7483ff0e0f | ||
|
005d49a756 | ||
|
fe9e63f1c7 | ||
|
8a8124f36e | ||
|
74cd97fb80 | ||
|
c351225e9a | ||
|
a90d17d70d | ||
|
b6bd3d3a2e | ||
|
b82defe3b5 | ||
|
a6a3a3e12d | ||
|
48f388c7f6 | ||
|
56d7eb4259 | ||
|
34d280d5bf | ||
|
9e34910f07 | ||
|
1fdcfdd7ef | ||
|
1759ef7123 | ||
|
bba54aa08b | ||
|
ebd0b46656 | ||
|
98052d1797 | ||
|
d74cfbfe96 | ||
|
3b36f38b7c | ||
|
125a3249ac | ||
|
9da197de21 | ||
|
480ffd8eb4 | ||
|
ddebdf0e62 | ||
|
82ba144038 | ||
|
53f0a0cb37 | ||
|
550e348428 | ||
|
01bd7b82bb | ||
|
a608c8b765 | ||
|
5ab4237df4 | ||
|
de7172ef75 | ||
|
9953459e50 | ||
|
e0377fd352 | ||
|
09adbde004 | ||
|
84a38f4d8c | ||
|
1b585a22c8 | ||
|
9ed92733c7 | ||
|
431aaf46fc | ||
|
ee8eaf8e84 | ||
|
5ba7c681de | ||
|
468232cabc | ||
|
1faf3b55be | ||
|
0d69459738 | ||
|
e94d2349c3 | ||
|
8b81101ef0 | ||
|
1da624002d |
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -14,11 +14,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 21
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: 17
|
java-version: 21
|
||||||
- name: Cache SonarCloud packages
|
- name: Cache SonarCloud packages
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
10
pom.xml
10
pom.xml
@ -32,19 +32,19 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>17</java.version>
|
<java.version>21</java.version>
|
||||||
<powermock.version>2.0.9</powermock.version>
|
<powermock.version>2.0.9</powermock.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.20.4-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.21-R0.1-SNAPSHOT</spigot.version>
|
||||||
<spigot-annotations.version>1.2.3-SNAPSHOT</spigot-annotations.version>
|
<spigot-annotations.version>1.2.3-SNAPSHOT</spigot-annotations.version>
|
||||||
<bentobox.version>2.1.0</bentobox.version>
|
<bentobox.version>2.4.2</bentobox.version>
|
||||||
<level.version>2.6.3</level.version>
|
<level.version>2.6.3</level.version>
|
||||||
<vault.version>1.7</vault.version>
|
<vault.version>1.7</vault.version>
|
||||||
<panelutils.version>1.2.0</panelutils.version>
|
<panelutils.version>1.2.0</panelutils.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- This allows to change between versions and snapshots. -->
|
<!-- This allows to change between versions and snapshots. -->
|
||||||
<build.version>1.3.0</build.version>
|
<build.version>1.3.2</build.version>
|
||||||
<build.number>-LOCAL</build.number>
|
<build.number>-LOCAL</build.number>
|
||||||
<!-- Sonar Cloud -->
|
<!-- Sonar Cloud -->
|
||||||
<sonar.projectKey>BentoBoxWorld_Challenges</sonar.projectKey>
|
<sonar.projectKey>BentoBoxWorld_Challenges</sonar.projectKey>
|
||||||
@ -231,7 +231,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<version>3.3.1-SNAPSHOT</version>
|
<version>3.6.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<minimizeJar>true</minimizeJar>
|
<minimizeJar>true</minimizeJar>
|
||||||
<artifactSet>
|
<artifactSet>
|
||||||
|
@ -15,9 +15,13 @@ import world.bentobox.bentobox.api.addons.Pladdon;
|
|||||||
*/
|
*/
|
||||||
public class ChallengesPladdon extends Pladdon
|
public class ChallengesPladdon extends Pladdon
|
||||||
{
|
{
|
||||||
|
private Addon addon;
|
||||||
@Override
|
@Override
|
||||||
public Addon getAddon()
|
public Addon getAddon()
|
||||||
{
|
{
|
||||||
return new ChallengesAddon();
|
if (addon == null) {
|
||||||
|
addon = new ChallengesAddon();
|
||||||
|
}
|
||||||
|
return addon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -566,6 +566,13 @@ public class Utils
|
|||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
// Return the display name if it already has one
|
||||||
|
if (object.hasItemMeta()) {
|
||||||
|
ItemMeta im = object.getItemMeta();
|
||||||
|
if (im.hasDisplayName()) {
|
||||||
|
return im.getDisplayName();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Find addon structure with:
|
// Find addon structure with:
|
||||||
// [addon]:
|
// [addon]:
|
||||||
|
@ -151,6 +151,11 @@ public class WebManager
|
|||||||
if (this.plugin.getSettings().isLogGithubDownloadData())
|
if (this.plugin.getSettings().isLogGithubDownloadData())
|
||||||
{
|
{
|
||||||
this.plugin.log("Could not connect to GitHub.");
|
this.plugin.log("Could not connect to GitHub.");
|
||||||
|
this.plugin.log(
|
||||||
|
"JSON files can be found at https://github.com/BentoBoxWorld/weblink/tree/master/challenges/library");
|
||||||
|
user.sendRawMessage("Could not connect to GitHub.");
|
||||||
|
user.sendRawMessage(
|
||||||
|
"JSON files can be found at https://github.com/BentoBoxWorld/weblink/tree/master/challenges/library");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -649,6 +649,12 @@ challenges:
|
|||||||
visible: Zeigen Sie sichtbare Herausforderungen
|
visible: Zeigen Sie sichtbare Herausforderungen
|
||||||
hidden: Alle Herausforderungen anzeigen
|
hidden: Alle Herausforderungen anzeigen
|
||||||
toggleable: Umschalten zulassen
|
toggleable: Umschalten zulassen
|
||||||
|
include_undeployed:
|
||||||
|
name: "&f&l Nicht bereitgestellte Herausforderungen einschließen"
|
||||||
|
description: "&7 Gibt an, ob nicht bereitgestellte \n&7 Herausforderungen
|
||||||
|
\n&7 für den Abschluss von Level \n&7 angerechnet werden sollen."
|
||||||
|
enabled: "&2 Aktiviert"
|
||||||
|
disabled: "&c Deaktiviert"
|
||||||
download:
|
download:
|
||||||
name: "&f&l Bibliotheken herunterladen"
|
name: "&f&l Bibliotheken herunterladen"
|
||||||
description: |-
|
description: |-
|
||||||
@ -851,7 +857,7 @@ challenges:
|
|||||||
environment-single: "&7 Limitiert auf [environment]"
|
environment-single: "&7 Limitiert auf [environment]"
|
||||||
environment-title: "&7 Limitiert auf:"
|
environment-title: "&7 Limitiert auf:"
|
||||||
environment-list: " &7 - &e [environment]"
|
environment-list: " &7 - &e [environment]"
|
||||||
permission-single: "&c Requires [permissions] permission"
|
permission-single: "&c Erfordert die Berechtigung [permission]"
|
||||||
permissions-title: "&c Erfordert Berechtigungen:"
|
permissions-title: "&c Erfordert Berechtigungen:"
|
||||||
permissions-list: " &c - [permission]"
|
permissions-list: " &c - [permission]"
|
||||||
island:
|
island:
|
||||||
@ -998,9 +1004,9 @@ challenges:
|
|||||||
write-reward-commands: "&e Bitte geben Sie pro Zeile im Chat einen neuen Belohnungsbefehl
|
write-reward-commands: "&e Bitte geben Sie pro Zeile im Chat einen neuen Belohnungsbefehl
|
||||||
ein und beenden Sie den Chat in einer eigenen Zeile."
|
ein und beenden Sie den Chat in einer eigenen Zeile."
|
||||||
reward-commands-changed: "&a Erfolg, die Belohnungsbefehle wurden aktualisiert."
|
reward-commands-changed: "&a Erfolg, die Belohnungsbefehle wurden aktualisiert."
|
||||||
write-repeat-reward-commands: "&e Bitte geben Sie pro Zeile im Chat einen neuen
|
write-repeat-reward-commands: "&e Geben Sie bitte pro Zeile im Chat einen neuen
|
||||||
Belohnungswiederholungsbefehl ein und beenden Sie den Chat in einer eigenen
|
Befehl zur Wiederholung der Belohnung ein und klicken Sie zum Beenden auf „Beenden“
|
||||||
Zeile."
|
in einer eigenen Zeile."
|
||||||
repeat-reward-commands-changed: "&a Erfolg, die Wiederholungsbelohnungsbefehle
|
repeat-reward-commands-changed: "&a Erfolg, die Wiederholungsbelohnungsbefehle
|
||||||
wurden aktualisiert."
|
wurden aktualisiert."
|
||||||
challenge-removed: "&a Herausforderungen [challende] für [gamemode] wird aus der
|
challenge-removed: "&a Herausforderungen [challende] für [gamemode] wird aus der
|
||||||
@ -1098,6 +1104,12 @@ challenges:
|
|||||||
not-hooked: "&c Challenges Addon konnte keinen GameMode finden."
|
not-hooked: "&c Challenges Addon konnte keinen GameMode finden."
|
||||||
timeout: "&c Diese Abfrage erfordert eine Wartezeit von [timeout] zwischen den
|
timeout: "&c Diese Abfrage erfordert eine Wartezeit von [timeout] zwischen den
|
||||||
Vervollständigungen. Sie müssen [wait-time] warten, bis Sie es erneut abschließen."
|
Vervollständigungen. Sie müssen [wait-time] warten, bis Sie es erneut abschließen."
|
||||||
|
requirement-not-met: "&c Für diese Herausforderung muss [statistic] [number] haben.
|
||||||
|
Sie haben nur [value]."
|
||||||
|
requirement-not-met-entity: "&c Für diese Herausforderung muss [statistic] [entity]
|
||||||
|
über [number] verfügen. Sie haben nur [value]."
|
||||||
|
requirement-not-met-material: "&c Diese Herausforderung erfordert, dass [statistic]
|
||||||
|
[material] [number] hat. Sie haben nur [value]."
|
||||||
protection:
|
protection:
|
||||||
flags:
|
flags:
|
||||||
CHALLENGES_ISLAND_PROTECTION:
|
CHALLENGES_ISLAND_PROTECTION:
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user