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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: