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

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: 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.

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

              Created:
              Updated:
              Resolved: