geforkt von Mirrors/Paper
Initial structure
Dieser Commit ist enthalten in:
Commit
84f7c6c8d2
25
src/org/bukkit/craftbukkit/CraftServer.java
Normale Datei
25
src/org/bukkit/craftbukkit/CraftServer.java
Normale Datei
@ -0,0 +1,25 @@
|
||||
|
||||
package org.bukkit.craftbukkit;
|
||||
|
||||
import org.bukkit.Server;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
public class CraftServer implements Server {
|
||||
private final String name = "CraftBucket";
|
||||
private String version;
|
||||
MinecraftServer server;
|
||||
|
||||
protected CraftServer(MinecraftServer instance, String ver) {
|
||||
server = instance;
|
||||
version = ver;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
}
|
16
src/org/bukkit/craftbukkit/Main.java
Normale Datei
16
src/org/bukkit/craftbukkit/Main.java
Normale Datei
@ -0,0 +1,16 @@
|
||||
|
||||
package org.bukkit.craftbukkit;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
// Todo: Installation script
|
||||
|
||||
try {
|
||||
MinecraftServer.main(args);
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren