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)
|
||||
|
||||
## Compiling
|
||||
The following libraries are required but you do not
|
||||
need to provide them yourself:
|
||||
Building SteamWar.de software requires certain libraries,
|
||||
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/
|
||||
- `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 {
|
||||
mavenCentral()
|
||||
|
||||
maven {
|
||||
url = 'https://nexus.codecrafter47.de/content/repositories/public'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -37,5 +33,5 @@ dependencies {
|
||||
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
|
||||
|
||||
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
|
||||
version: 1.0.0
|
||||
version: '${version}'
|
||||
main: de.steamwar.SteamWarBungeeTeamserver
|
||||
|
||||
softDepends:
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
package de.steamwar.utils;
|
||||
|
||||
import codecrafter47.bungeetablistplus.api.bungee.BungeeTabListPlusAPI;
|
||||
import codecrafter47.bungeetablistplus.BungeeTabListPlus;
|
||||
import de.codecrafter47.taboverlay.TabView;
|
||||
import lombok.experimental.UtilityClass;
|
||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
@ -28,7 +28,7 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
public class BungeeTabListPlusFixer {
|
||||
|
||||
public static void remove(ProxiedPlayer player) {
|
||||
TabView tabView = BungeeTabListPlusAPI.getTabViewForPlayer(player);
|
||||
TabView tabView = BungeeTabListPlus.getInstance().getTabViewManager().getTabView(player);
|
||||
if (tabView != null) {
|
||||
tabView.deactivate();
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ build:
|
||||
- "ln -s /home/gitea/lib"
|
||||
- "cp ~/gradle.properties ."
|
||||
- "chmod u+x build.gradle"
|
||||
- "./gradlew build"
|
||||
- "./gradlew buildProject"
|
||||
|
||||
artifacts:
|
||||
"/binarys/SteamWarTeamserver.jar": "build/libs/SteamWarTeamserver.jar"
|
||||
"/binarys/TeamserverBungee.jar": "build/libs/SteamWarBungeeTeamserver.jar"
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren