After Fixes #117
@ -29,6 +29,11 @@ import de.steamwar.sql.SQL;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.util.logging.Level;
|
||||
|
||||
|
||||
public class Core extends JavaPlugin{
|
||||
|
||||
@ -67,6 +72,11 @@ public class Core extends JavaPlugin{
|
||||
getServer().getMessenger().registerOutgoingPluginChannel(this, "sw:bridge");
|
||||
ChunkListener.init();
|
||||
AuthlibInjector.inject();
|
||||
try {
|
||||
Bukkit.getLogger().log(Level.INFO, "Running on: " + new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("hostname").getInputStream())).readLine());
|
||||
} catch (IOException e) {
|
||||
throw new SecurityException("Could not load Hostname", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
8
steamwarci.yml
Normale Datei
8
steamwarci.yml
Normale Datei
@ -0,0 +1,8 @@
|
||||
build:
|
||||
- "ln -s /home/gitea/lib"
|
||||
- "cp ~/gradle.properties ."
|
||||
- "chmod u+x build.gradle"
|
||||
- "./gradlew buildProject"
|
||||
|
||||
artifacts:
|
||||
"/binarys/spigotcore.jar": "build/libs/spigotcore.jar"
|
In neuem Issue referenzieren
Einen Benutzer sperren