Commits vergleichen
6 Commits
Autor | SHA1 | Datum | |
---|---|---|---|
5cd8dff8bf | |||
|
96b01d3edd | ||
|
16624ee377 | ||
|
269a238130 | ||
|
6325404461 | ||
|
a6eae91dd2 |
@ -7,11 +7,8 @@
|
||||
3. Change the config to your liking and save it (no restart required)
|
||||
|
||||
## Compiling
|
||||
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:
|
||||
The following libraries are required but you do not
|
||||
need to provide them yourself:
|
||||
|
||||
- `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,6 +24,10 @@ compileJava.options.encoding = 'UTF-8'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
maven {
|
||||
url = 'https://nexus.codecrafter47.de/content/repositories/public'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -33,5 +37,5 @@ dependencies {
|
||||
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
|
||||
|
||||
implementation files("${projectDir}/lib/BungeeCord.jar")
|
||||
implementation files("${projectDir}/lib/BungeeTabListPlus.jar")
|
||||
implementation 'codecrafter47.bungeetablistplus:bungeetablistplus-api-bungee:3.5.2'
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
rootProject.name = 'SteamWarBungeeTeamserver'
|
||||
rootProject.name = 'SteamWarTeamserver'
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: SteamWarBungeeTeamserver
|
||||
version: '${version}'
|
||||
version: 1.0.0
|
||||
main: de.steamwar.SteamWarBungeeTeamserver
|
||||
|
||||
softDepends:
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
package de.steamwar.utils;
|
||||
|
||||
import codecrafter47.bungeetablistplus.BungeeTabListPlus;
|
||||
import codecrafter47.bungeetablistplus.api.bungee.BungeeTabListPlusAPI;
|
||||
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 = BungeeTabListPlus.getInstance().getTabViewManager().getTabView(player);
|
||||
TabView tabView = BungeeTabListPlusAPI.getTabViewForPlayer(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 buildProject"
|
||||
- "./gradlew build"
|
||||
|
||||
artifacts:
|
||||
"/binarys/TeamserverBungee.jar": "build/libs/SteamWarBungeeTeamserver.jar"
|
||||
"/binarys/SteamWarTeamserver.jar": "build/libs/SteamWarTeamserver.jar"
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren