Interface PermissionsExConfig


public interface PermissionsExConfig
Classic PermissionsEx plugin configuration view.

Exposed by PermissionManager.getConfiguration() and mirrors the top-level settings from config.yml (backend selection, debug flags, updater behavior, and related options).

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether server operators (op) receive implicit permission grants.
    boolean
    Returns whether updates should be applied automatically without prompting.
    boolean
    Returns whether user records should be created automatically for unknown players.
    org.bukkit.configuration.ConfigurationSection
    Returns the configuration section for a named backend.
    Returns the base directory used for PermissionsEx data files.
    Returns the configured default permission backend alias.
    Returns server tags used for multi-server permission scoping.
    boolean
    Returns whether online players should be notified about available plugin updates.
    boolean
    Returns whether debug logging is enabled.
    void
    Persists the current configuration to disk.
    boolean
    Returns whether the default group should be written to storage on startup.
    boolean
    Returns whether player join/leave events should be logged.
    boolean
    Returns whether the built-in update checker is enabled.
    boolean
    Returns whether network-wide permission events should be propagated across linked servers.
    boolean
    Returns whether groups added via /pex user ... group add are appended last in the inheritance list.
  • Method Details

    • useNetEvents

      boolean useNetEvents()
      Returns whether network-wide permission events should be propagated across linked servers.
      Returns:
      true if net events are enabled
    • isDebug

      boolean isDebug()
      Returns whether debug logging is enabled.
      Returns:
      true if debug mode is active
    • allowOps

      boolean allowOps()
      Returns whether server operators (op) receive implicit permission grants.
      Returns:
      true if ops are allowed full access by default
    • userAddGroupsLast

      boolean userAddGroupsLast()
      Returns whether groups added via /pex user ... group add are appended last in the inheritance list.
      Returns:
      true to append new groups at the end of the parent list
    • getDefaultBackend

      String getDefaultBackend()
      Returns the configured default permission backend alias.
      Returns:
      backend alias (for example "file"); never null
    • shouldLogPlayers

      boolean shouldLogPlayers()
      Returns whether player join/leave events should be logged.
      Returns:
      true if player activity logging is enabled
    • createUserRecords

      boolean createUserRecords()
      Returns whether user records should be created automatically for unknown players.
      Returns:
      true to create user records on first access
    • saveDefaultGroup

      boolean saveDefaultGroup()
      Returns whether the default group should be written to storage on startup.
      Returns:
      true to persist the default group definition automatically
    • updaterEnabled

      boolean updaterEnabled()
      Returns whether the built-in update checker is enabled.
      Returns:
      true if update checks are performed
    • alwaysUpdate

      boolean alwaysUpdate()
      Returns whether updates should be applied automatically without prompting.
      Returns:
      true to always apply available updates
    • informPlayers

      boolean informPlayers()
      Returns whether online players should be notified about available plugin updates.
      Returns:
      true to inform players when an update is available
    • getServerTags

      List<String> getServerTags()
      Returns server tags used for multi-server permission scoping.
      Returns:
      list of tag strings; never null
    • getBasedir

      String getBasedir()
      Returns the base directory used for PermissionsEx data files.
      Returns:
      absolute or plugin-relative base directory path; never null
    • getBackendConfig

      org.bukkit.configuration.ConfigurationSection getBackendConfig(String backend)
      Returns the configuration section for a named backend.
      Parameters:
      backend - backend alias (for example "file" or "sql")
      Returns:
      backend-specific configuration section, or null if not configured
    • save

      void save()
      Persists the current configuration to disk.