mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-01 21:24:43 +02:00
Add server brand to debugpaste
Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
@ -120,6 +120,14 @@ public interface PlotPlatform<P> extends LocaleHolder {
|
||||
*/
|
||||
@NonNull String serverImplementation();
|
||||
|
||||
/**
|
||||
* Gets the server brand name
|
||||
*
|
||||
* @return server brand
|
||||
* @since TODO
|
||||
*/
|
||||
@NonNull String serverBrand();
|
||||
|
||||
/**
|
||||
* Gets the native server code package prefix.
|
||||
*
|
||||
|
@ -86,7 +86,8 @@ public class DebugPaste extends SubCommand {
|
||||
b.append("# WorldEdit implementation:\n");
|
||||
b.append(PlotSquared.platform().worldEditImplementations()).append("\n\n");
|
||||
b.append("# Server Information\n");
|
||||
b.append("Server Version: ").append(PlotSquared.platform().serverImplementation())
|
||||
b.append("Server Version: ").append(PlotSquared.platform().serverBrand()).append(": ")
|
||||
.append(PlotSquared.platform().serverImplementation()).append("\n")
|
||||
.append("\n");
|
||||
b.append("online_mode: ").append(!Settings.UUID.OFFLINE).append(';')
|
||||
.append(!Settings.UUID.OFFLINE).append('\n');
|
||||
|
Reference in New Issue
Block a user