1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-31 03:50:36 +01:00

Initial structure

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2010-12-21 16:52:15 +00:00
commit 8d095d827c
2 changed files with 41 additions and 0 deletions
paper-server/src/org/bukkit/craftbukkit

View file

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

View file

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