Commits vergleichen
Keine gemeinsamen Commits. "master" und "README" haben vollständig unterschiedliche Historien.
@ -7,8 +7,11 @@
|
|||||||
3. Change the config to your liking and save it (no restart required)
|
3. Change the config to your liking and save it (no restart required)
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
The following libraries are required but you do not
|
Building SteamWar.de software requires certain libraries,
|
||||||
need to provide them yourself:
|
which cannot be provided over traditional ways (like maven)
|
||||||
|
due to copyright issues with compiled Bungee packages.
|
||||||
|
The following libraries are required to be in the `lib`
|
||||||
|
directory exactly named like in the list:
|
||||||
|
|
||||||
- `BungeeCord.jar` http://ci.md-5.net/job/BungeeCord/
|
- `BungeeCord.jar` http://ci.md-5.net/job/BungeeCord/
|
||||||
- `BungeTabListPlus.jar` https://www.spigotmc.org/resources/bungeetablistplus.313/ (3.0.0 or newer, optional at runtime)
|
- `BungeTabListPlus.jar` https://www.spigotmc.org/resources/bungeetablistplus.313/ (3.0.0 or newer, optional at runtime)
|
@ -24,10 +24,6 @@ compileJava.options.encoding = 'UTF-8'
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
||||||
maven {
|
|
||||||
url = 'https://nexus.codecrafter47.de/content/repositories/public'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -37,5 +33,5 @@ dependencies {
|
|||||||
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
|
||||||
|
|
||||||
implementation files("${projectDir}/lib/BungeeCord.jar")
|
implementation files("${projectDir}/lib/BungeeCord.jar")
|
||||||
implementation 'codecrafter47.bungeetablistplus:bungeetablistplus-api-bungee:3.5.2'
|
implementation files("${projectDir}/lib/BungeeTabListPlus.jar")
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
rootProject.name = 'SteamWarTeamserver'
|
rootProject.name = 'SteamWarBungeeTeamserver'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: SteamWarBungeeTeamserver
|
name: SteamWarBungeeTeamserver
|
||||||
version: 1.0.0
|
version: '${version}'
|
||||||
main: de.steamwar.SteamWarBungeeTeamserver
|
main: de.steamwar.SteamWarBungeeTeamserver
|
||||||
|
|
||||||
softDepends:
|
softDepends:
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
package de.steamwar.utils;
|
package de.steamwar.utils;
|
||||||
|
|
||||||
import codecrafter47.bungeetablistplus.api.bungee.BungeeTabListPlusAPI;
|
import codecrafter47.bungeetablistplus.BungeeTabListPlus;
|
||||||
import de.codecrafter47.taboverlay.TabView;
|
import de.codecrafter47.taboverlay.TabView;
|
||||||
import lombok.experimental.UtilityClass;
|
import lombok.experimental.UtilityClass;
|
||||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||||
@ -28,7 +28,7 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
|
|||||||
public class BungeeTabListPlusFixer {
|
public class BungeeTabListPlusFixer {
|
||||||
|
|
||||||
public static void remove(ProxiedPlayer player) {
|
public static void remove(ProxiedPlayer player) {
|
||||||
TabView tabView = BungeeTabListPlusAPI.getTabViewForPlayer(player);
|
TabView tabView = BungeeTabListPlus.getInstance().getTabViewManager().getTabView(player);
|
||||||
if (tabView != null) {
|
if (tabView != null) {
|
||||||
tabView.deactivate();
|
tabView.deactivate();
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ build:
|
|||||||
- "ln -s /home/gitea/lib"
|
- "ln -s /home/gitea/lib"
|
||||||
- "cp ~/gradle.properties ."
|
- "cp ~/gradle.properties ."
|
||||||
- "chmod u+x build.gradle"
|
- "chmod u+x build.gradle"
|
||||||
- "./gradlew build"
|
- "./gradlew buildProject"
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
"/binarys/SteamWarTeamserver.jar": "build/libs/SteamWarTeamserver.jar"
|
"/binarys/TeamserverBungee.jar": "build/libs/SteamWarBungeeTeamserver.jar"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren