13
0

Commits vergleichen

...

6 Commits

Autor SHA1 Nachricht Datum
5cd8dff8bf Fix version
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
2023-07-27 16:21:33 +02:00
yoyosource
96b01d3edd Update README.md
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
2022-08-23 17:52:11 +02:00
yoyosource
16624ee377 Fix steamwarci.yml
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
2022-08-23 17:48:23 +02:00
yoyosource
269a238130 Fix steamwarci.yml
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
2022-08-23 17:48:09 +02:00
yoyosource
6325404461 Fix steamwarci.yml naming
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed
2022-08-23 17:46:53 +02:00
yoyosource
a6eae91dd2 Update and fix everything
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed
2022-08-23 17:45:05 +02:00
6 geänderte Dateien mit 13 neuen und 12 gelöschten Zeilen

Datei anzeigen

@ -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)

Datei anzeigen

@ -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'
}

Datei anzeigen

@ -1 +1 @@
rootProject.name = 'SteamWarBungeeTeamserver'
rootProject.name = 'SteamWarTeamserver'

Datei anzeigen

@ -1,5 +1,5 @@
name: SteamWarBungeeTeamserver
version: '${version}'
version: 1.0.0
main: de.steamwar.SteamWarBungeeTeamserver
softDepends:

Datei anzeigen

@ -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();
}

Datei anzeigen

@ -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"