Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6605

Add method to access value of enforce-whitelist of server.properties

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • 3161-Spigot-f773da8-f81f499 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
    • Yes

    Description

      Currently most values of the server.properties are accessible except 'enforce-whitelist' which is rather new to the file. It would make sense to implement a method like 'isWhitelistEnforced' to access this value easily and let plugins act accordingly.

      Other options currently are:

      • Reading┬áserver.properties separately
      • Using NMS

      Both of these options are in my opinion way to overpowered for such a simple boolean and I hope this becomes an API thing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mammut53 mammut53
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: