Enum ServerFeature

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ServerFeature>

    public enum ServerFeature
    extends java.lang.Enum<ServerFeature>
    An enum with all server features.
    • Enum Constant Detail

      • ANIMATED_ICON

        public static final ServerFeature ANIMATED_ICON
        Server has access to set an animated Server icon.
      • BANNER

        public static final ServerFeature BANNER
        Server has access to set a Server banner image.
      • COMMERCE

        public static final ServerFeature COMMERCE
        Server has access to use commerce features (i.e. create store channels).
      • COMMUNITY

        public static final ServerFeature COMMUNITY
        Server is a community server.
      • DISCOVERABLE

        public static final ServerFeature DISCOVERABLE
        Server is able to be discovered in the directory.
      • FEATURABLE

        public static final ServerFeature FEATURABLE
        Server is able to be featured in the directory.
      • INVITE_SPLASH

        public static final ServerFeature INVITE_SPLASH
        Server has access to set an invite splash background.
      • NEWS

        public static final ServerFeature NEWS
        Server has access to create news channels.
      • PARTNERED

        public static final ServerFeature PARTNERED
        Server is partnered.
      • PREVIEW_ENABLED

        public static final ServerFeature PREVIEW_ENABLED
        Server can be previewed before joining via Membership Screening or the directory.
      • VANITY_URL

        public static final ServerFeature VANITY_URL
        Server has access to set a vanity URL.
      • VERIFIED

        public static final ServerFeature VERIFIED
        Server is verified.
      • VIP_REGIONS

        public static final ServerFeature VIP_REGIONS
        Server has access to set 384kbps bitrate in voice (previously VIP voice servers).
      • WELCOME_SCREEN_ENABLED

        public static final ServerFeature WELCOME_SCREEN_ENABLED
        Server has enabled the welcome screen.
      • TICKETED_EVENTS_ENABLED

        public static final ServerFeature TICKETED_EVENTS_ENABLED
        Server has enabled ticketed events.
      • MONETIZATION_ENABLED

        public static final ServerFeature MONETIZATION_ENABLED
        Server has enabled monetization.
      • MORE_STICKERS

        public static final ServerFeature MORE_STICKERS
        Server has increased custom sticker slots.
      • THREE_DAY_THREAD_ARCHIVE

        public static final ServerFeature THREE_DAY_THREAD_ARCHIVE
        Server has access to the three day archive time for threads.
      • SEVEN_DAY_THREAD_ARCHIVE

        public static final ServerFeature SEVEN_DAY_THREAD_ARCHIVE
        Server has access to the seven day archive time for threads.
      • PRIVATE_THREADS

        public static final ServerFeature PRIVATE_THREADS
        Server has access to create private threads.
      • ENABLED_DISCOVERABLE_BEFORE

        public static final ServerFeature ENABLED_DISCOVERABLE_BEFORE
        Server was able to be discovered in the directory before.
    • Method Detail

      • values

        public static ServerFeature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServerFeature c : ServerFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServerFeature valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null