Skip to content

3. Commands

Vincenzo Reina edited this page Apr 21, 2025 · 4 revisions

Commands and Permissions

ServerPulse provides two commands to manage the plugin and check its status. All commands are accessible through the main /serverpulse command.

Commands

Main Command

  • /serverpulse - Base command for all plugin functionality
    • Alias: None
    • Permission: None required for base command
    • Usage: /serverpulse <subcommand>

Subcommands

Status Command

  • /serverpulse status - Check InfluxDB connection status
    • Permission: serverpulse.status
    • Description: Shows if the plugin is successfully connected to InfluxDB
    • Usage Example: /serverpulse status
    • Response:
      • Connected: "&7[&bServer&7Pulse] &7Connected to &bInfluxDB"
      • Not Connected: "&7[&bServer&7Pulse] &7Not connected to &bInfluxDB"

Reload Command

  • /serverpulse reload - Reload plugin configuration
    • Permission: serverpulse.reload
    • Description: Reloads the config.yml file and reconnects to InfluxDB
    • Usage Example: /serverpulse reload
    • Response:
      • Success: "&7[&bServer&7Pulse] &7Configuration &breloaded"
      • Error: "&7[&bServer&7Pulse] &7Error &breloading"

Permissions

Command Permissions

  • serverpulse.status - Allows checking InfluxDB connection status

    • Default: op
    • Recommended for: Staff members who need to monitor plugin status
  • serverpulse.reload - Allows reloading the plugin configuration

    • Default: op
    • Recommended for: Administrators only

Console Usage

All commands can be executed from both in-game and console. There are no player-only commands in ServerPulse.

Clone this wiki locally