Gets message describing the version server is running. @return message describing the version server is running
()
| 121 | * @return message describing the version server is running |
| 122 | */ |
| 123 | @NotNull |
| 124 | public static String getVersionMessage() { |
| 125 | final io.papermc.paper.ServerBuildInfo version = io.papermc.paper.ServerBuildInfo.buildInfo(); |
| 126 | return "This server is running " + getName() + " version " + version.asString(io.papermc.paper.ServerBuildInfo.StringRepresentation.VERSION_FULL) + " (Implementing API version " + getBukkitVersion() + ")"; |
| 127 | // Paper end |
| 128 | } |
| 129 | |
| 130 | /** |
| 131 | * Gets the name of this server implementation. |
no test coverage detected