Skip to main content

Configuration Overview

SigmaTools uses YAML configuration files for all settings. This guide explains the configuration structure and how to customize the plugin.

Configuration Filesโ€‹

SigmaTools uses two main configuration files:

  1. config.yml - Main plugin settings (tools, economy, performance, debug)
  2. messages.yml - Message templates and translations

Both files are located in plugins/SigmaTools/ and are created automatically on first run.

Configuration Structureโ€‹

config.yml
โ”œโ”€โ”€ general (Global settings)
โ”œโ”€โ”€ economy (Economy integration)
โ”œโ”€โ”€ performance (Performance limits)
โ””โ”€โ”€ tools (Tool-specific settings)
โ”œโ”€โ”€ pickaxe
โ”œโ”€โ”€ axe
โ”œโ”€โ”€ bucket
โ””โ”€โ”€ hoe
โ”œโ”€โ”€ cooldown
โ”œโ”€โ”€ durability
โ””โ”€โ”€ visuals

messages.yml
โ”œโ”€โ”€ general (General messages)
โ””โ”€โ”€ economy (Economy messages)

Quick Configuration Guideโ€‹

Basic Settingsโ€‹

Enable/Disable Tools:

tools:
pickaxe:
enabled: true # Set to false to disable

Enable Economy:

economy:
enabled: true
currency: "vault" # or "coins"

Adjust Tool Costs:

economy:
costs:
pickaxe: 10.0 # Cost per use

Reloading Configurationโ€‹

After editing configuration files:

  1. Save the file
  2. Run /sigmatools reload in-game
  3. Changes take effect immediately

Note: Invalid YAML syntax will prevent reloading. Check server logs for errors.

Configuration Sectionsโ€‹

Global Settingsโ€‹

General plugin settings including:

  • Unbreakable materials list
  • Integration toggles
  • Protection settings
  • Global performance limits

Tool Settingsโ€‹

Per-tool configuration including:

  • Enable/disable tools
  • Tool properties (material, display name)
  • Operation limits
  • World restrictions
  • Cooldown system
  • Durability system
  • Visual effects

Economy Settingsโ€‹

Economy integration settings:

  • Enable/disable economy
  • Currency selection
  • Tool costs
  • Tool rewards
  • Economy messages

Performance Settingsโ€‹

Performance optimization settings:

  • Per-tick limits
  • Thread pool size
  • Dynamic throttling
  • Queue management

Debug Settingsโ€‹

Debug logging configuration:

  • Master debug toggle
  • Category-specific logging
  • Output settings
  • File logging

Configuration Best Practicesโ€‹

  1. Backup First - Always backup config.yml before making changes
  2. Test Changes - Test configuration changes on a test server first
  3. Use Comments - The default config includes helpful comments
  4. Validate YAML - Use an online YAML validator to check syntax
  5. Reload Carefully - Test after reloading to ensure everything works

Common Configuration Tasksโ€‹

Disable a Toolโ€‹

tools:
bucket:
enabled: false

Change Tool Costsโ€‹

economy:
enabled: true
costs:
pickaxe: 5.0
axe: 3.0
bucket: 1.0
hoe: 2.0

Adjust Cooldownโ€‹

tools:
pickaxe:
cooldown:
max-charges: 5 # Increase from 3 to 5
charge-duration: 1 # Reduce from 2 to 1 second

Change Durabilityโ€‹

tools:
pickaxe:
durability:
max: 2000 # Increase from 1500
drain-per-block: 2 # Increase from 1

Enable Debug Loggingโ€‹

debug:
enabled: true
operations: true
protection: true

Configuration Validationโ€‹

SigmaTools validates configuration on load:

  • Missing keys - Default values are used
  • Invalid types - Errors are logged, defaults used
  • Invalid values - Errors are logged, defaults used

Check server logs after reloading for validation messages.

Configuration Examplesโ€‹

See individual configuration pages for detailed examples:

Next Stepsโ€‹