-
-
Save liebki/fa52dfb05dc745ddd85ed9a1caac04bf to your computer and use it in GitHub Desktop.
PermPilot - Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================================================== | |
| # PermPilot Configuration | |
| # Supports any OpenAI-compatible Chat Completion API (OpenAI, LocalAI, Ollama, OpenRouter, vLLM, etc.) | |
| # ============================================================================== | |
| # Global toggle to disable PermPilot completely without uninstalling | |
| disable-permpilot: false | |
| api: | |
| # Base URL for the OpenAI-compatible endpoint (without trailing slash) | |
| # Examples: | |
| # - OpenAI: "https://api.openai.com/v1" | |
| # - Ollama: "http://localhost:11434/v1" | |
| # - LocalAI: "http://localhost:8080/v1" | |
| # - OpenRouter: "https://openrouter.ai/api/v1" | |
| # - LM Studio: "http://localhost:1234/v1" | |
| base-url: "https://api.openai.com/v1" | |
| # API key | |
| api-key: "your-api-key-here" | |
| # Model identifier (e.g. gpt-4o-mini, gpt-4o, llama3.1, mistral, etc.) | |
| model: "gpt-4o-mini" | |
| # HTTP request timeout in seconds | |
| timeout-seconds: 60 | |
| # Sampling temperature (0.0 = deterministic and focused, recommended for function calling) | |
| temperature: 0.2 | |
| # Whether admins with permissions can change the active AI model in-game via /pp models | |
| allow-model-change-ingame: false | |
| agent: | |
| # Maximum tool calling loops per player query to prevent infinite loops | |
| max-iterations: 12 | |
| # Custom system prompt instructions appended to the agent's core instructions | |
| custom-instructions: "Always prefer exact matches when assigning permissions. Be helpful, concise, and confirm any actions taken clearly. If helpful use color codes to make your messages formatted." | |
| permissions: | |
| # Permission required to use /permpilot and /pp | |
| required-permission: "permpilot.admin" | |
| messages: | |
| prefix: "&8[&bPerm&3Pilot&8]&r " | |
| thinking: "&7Pilot is analyzing permissions and planning actions..." | |
| no-permission: "&cYou do not have permission to use PermPilot." | |
| reloaded: "&aConfiguration reloaded successfully." | |
| busy: "&cYou already have an active request in progress! Please wait until it completes." | |
| disabled: "&cPermPilot is currently disabled in config.yml (disable-permpilot: true)." | |
| model-change-disabled: "&cIn-game model switching is disabled in config.yml (allow-model-change-ingame: false)." | |
| model-changed: "&aActive AI model switched to &e%model%&a and saved to config.yml." | |
| error: "&cAn error occurred while communicating with the AI agent: &e%error%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment