Class ServerOverviewJSONCreator

  • All Implemented Interfaces:
    ServerTabJSONCreator<java.util.Map<java.lang.String,​java.lang.Object>>, java.util.function.Function<java.util.UUID,​java.util.Map<java.lang.String,​java.lang.Object>>

    @Singleton
    public class ServerOverviewJSONCreator
    extends java.lang.Object
    implements ServerTabJSONCreator<java.util.Map<java.lang.String,​java.lang.Object>>
    Creates JSON payload for /server-page Server Overview tab.
    • Method Detail

      • createJSONAsMap

        public java.util.Map<java.lang.String,​java.lang.Object> createJSONAsMap​(java.util.UUID serverUUID)
        Specified by:
        createJSONAsMap in interface ServerTabJSONCreator<java.util.Map<java.lang.String,​java.lang.Object>>