Skip to content

Configuration

sfbanjo edited this page Nov 23, 2026 · 1 revision

Configuration Guide

The configuration file is located at plugins/Information/config.yml. After editing it, run /information reload (or /info reload) to apply your changes immediately.

Auto-Update: When updating the plugin to a newer version, new configuration keys are automatically added to config.yml while keeping all your existing customizations intact.


Settings (settings)

settings:
  permission-self: "information.self"
  permission-others: "information.playerinfo"
  admin-permission: "information.admin"

  self-hidden-fields:
    - "status"
    - "ip"
    - "previous-ip"
    - "op-status"
    - "banned-status"
    - "world"
    - "last-death"
    - "spawn-location"
Key Description
permission-self Permission required to inspect your own profile
permission-others Permission required to inspect any player and view all fields
admin-permission Permission required to run /information reload
self-hidden-fields List of messages.info keys hidden when a player checks their own profile with only information.self

Available self-hidden-fields Keys

status, last-seen, uuid, ip, previous-ip, op-status, banned-status, first-join, playtime, world, dimension, position, last-death, spawn-location, health, food, xp-level, ping, gamemode, mob-kills, deaths, pvp-wins, pvp-losses, effects

Privacy protection: If "ip" is included in self-hidden-fields, previous-ip is also hidden automatically.


Customizing Messages (messages)

All messages support standard legacy & color codes (e.g. &a, &c, &e, &7).

messages:
  no-permission: "&cYou do not have permission to execute this command!"
  no-permission-other: "&cYou do not have permission to view other players' profiles!"
  usage: "&eCorrect usage: /playerinfo [player_name]"
  player-not-found: "&cThe player {player} has no recorded data on this server."
  reload-success: "&aInformation plugin configuration reloaded successfully!"
  reload-usage: "&eCorrect usage: /information reload"

Under messages.info, each line corresponds to one profile field and uses placeholders like {player}, {ip}, {previous_ip}, {playtime}, {x}, {y}, {z}, etc.


Player Data Storage (userdata/)

Player snapshots are stored per UUID inside plugins/Information/userdata/<uuid>.yml. Data is cached in RAM for fast lookups and written asynchronously to disk on join, quit, death, and synchronously on server shutdown.