We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5aed3 commit 84ef33bCopy full SHA for 84ef33b
src/main/java/pro/cloudnode/smp/smpcore/Rest.java
@@ -71,6 +71,7 @@ public Rest(final int port) {
71
72
javalin.get("/", ctx -> {
73
final @NotNull JsonObject obj = new JsonObject();
74
+ obj.addProperty("version", SMPCore.getInstance().getPluginMeta().getVersion());
75
obj.addProperty("time", SMPCore.gameTime().getTime());
76
ctx.json(obj);
77
});
0 commit comments