AI assistant plugin for Rust (Oxide/uMod) using the OpenAI Responses API. Players can ask questions in-game and receive AI-powered responses.
- Get an API key from OpenAI Platform.
- Configure
oxide/configs/OpenAI.jsonwith your API key and model (e.g.gpt-5-nano). - Grant permission:
oxide.grant group default openai.use - Reload:
oxide.reload OpenAI - Test in chat:
!ai Hello, what can you help with?
Full plugin documentation is in the docs folder. See docs/README.md for the index.
| Document | Description |
|---|---|
| Plugin documentation | Full guide: features, permissions, console commands, configuration reference, Global Chat Bot, Knowledge Base, rate limiting, troubleshooting, changelog. |
| Knowledge Generator | Web app to build knowledge files: form-based generation, deploy to OpenAI or download .zip. Live at openai-chat.lx1.dev. |
| VIP Tiers | Set up VIP tiers so selected players get a different AI model and higher token limits (permission-based, no Steam ID lists). |
| Developer Hooks | For Oxide plugin developers: hook API and examples to use the OpenAI plugin from other plugins. |
- Rust server with Oxide/uMod
- OpenAI API key with credits