/// PIMPMYRUST PLUGIN
AI Translation Free
Settings guide for this version of AI Translation Free. Check the plugin page before using it on your server.
Prepare your file
- Check the installed version
This guide describes AI Translation Free 0.1.2. Use the same version in the configurator.
- Import your configuration
Open the configurator and import your current JSON. For a new installation, you can start from the provided example.
- Edit and download
Adjust the settings, fix reported errors, and download the JSON. Keep a copy of your old file before replacing it.
Your configuration is not saved on the site. Keep the exported file; you can import it again later.
Settings for this version
General 1
- OpenAIToken
- Text · required
JSON path
OpenAIToken
LangFilesConfiguration 1
- Enabled
- On / off · required
JSON path
LangFilesConfiguration → Enabled
Limits 8
- MaxQueued
- Whole number · required
JSON path
Limits → MaxQueuedMinimum : 1 · Maximum : 128
- MaxConcurrent
- Whole number · required
JSON path
Limits → MaxConcurrentMinimum : 1 · Maximum : 8
- MaxRequestsPerMinute
- Whole number · required
JSON path
Limits → MaxRequestsPerMinuteMinimum : 1 · Maximum : 300
- MaxRequestsPerDay
- Whole number · required
JSON path
Limits → MaxRequestsPerDayMinimum : 1 · Maximum : 10000
- DailyTokenBudget
- Whole number · required
JSON path
Limits → DailyTokenBudgetMinimum : 1000 · Maximum : 100000000
- MaxRetries
- Whole number · required
JSON path
Limits → MaxRetriesMinimum : 0 · Maximum : 3
- MaxLanguageFileCharacters
- Whole number · required
JSON path
Limits → MaxLanguageFileCharactersMinimum : 1024 · Maximum : 500000
- MaxProviderResponseCharacters
- Whole number · required
JSON path
Limits → MaxProviderResponseCharactersMinimum : 1024 · Maximum : 1000000
Model 4
- Model
- Text · required
JSON path
LangFilesConfiguration → Model → Model - Temperature
- Number · required
JSON path
LangFilesConfiguration → Model → Temperature - MaxTokens
- Whole number · required
JSON path
LangFilesConfiguration → Model → MaxTokensMinimum : 64 · Maximum : 16384
- Prompt
- Text · required
JSON path
LangFilesConfiguration → Model → Prompt
Plugin instructions
AITranslation Free user guide
AITranslation Free translates one installed plugin's English language file into one target locale per authorized command. It is intended for occasional administrator-driven file translation. It does not translate player chat and does not include Pro's bulk command.
Requirements
- Rust server running Oxide or Carbon.
- The AITranslation Free 0.1.2 plugin file from the matching product archive.
- Your own OpenAI API token with available provider credit.
- A source file at
oxide/lang/en/<PluginName>.json.
The server owner supplies the token and pays any OpenAI charges. Free and Pro are separate, mutually exclusive products; do not install or run both together. Pro has priority if both files are present, and Free unloads.
Installation
- Stop the server or unload an older AITranslation Free version.
- Place
AITranslation.csin the server's plugin directory. - Start or reload the plugin once so its configuration is created.
- Add your OpenAI token to
OpenAITokenin the protected server configuration. - Review the local request limits before translating a file.
Keep the configuration readable only by trusted server operators. The token is not written to plugin logs.
First translation
From server console or RCON:
aitfree.translateplugin MyPlugin frThe command reads oxide/lang/en/MyPlugin.json, validates the plugin name, locale, source JSON and configured limits, then queues one request. It sends only the selected English language values, the target language and the provider instructions to OpenAI. No request is made until an authorized command is executed.
When the response is complete and valid, the plugin checks the exact key set, string values, placeholders and size before staging the result. It retains the previous target as <PluginName>.json.aitranslation.bak and uses additional recovery material during replacement.
Commands and permission
| Command | Purpose |
|---|---|
aitfree.translateplugin <plugin name> <locale> | Translate one installed plugin language file into one target locale. |
ait.translateplugin <plugin name> <locale> | Historical alias available while Free is the active edition. |
Server console, RCON and Rust administrators may run the command. Grant aitranslation.admin only to another trusted connection that must initiate paid translation work.
Configuration reference
The tracked 0.1.2 configuration uses gpt-5.6-luna as its default Model. The model is configurable; verify current OpenAI availability and pricing before enabling requests.
Important local limits include:
| Setting | Default | Effect |
|---|---|---|
Limits.MaxQueued | 16 | Maximum waiting requests. |
Limits.MaxConcurrent | 2 | Maximum in-flight requests. |
Limits.MaxRequestsPerMinute | 20 | Local per-minute request ceiling. |
Limits.MaxRequestsPerDay | 500 | Local daily request ceiling. |
Limits.DailyTokenBudget | 250000 | Daily local token reservation ceiling. |
Limits.MaxRetries | 2 | Retries for eligible temporary provider errors. |
Limits.MaxLanguageFileCharacters | 60000 | Source and validated output character ceiling. |
Temperature and Prompt remain readable for older configurations but are not sent by the current provider request.
Privacy and diagnostics
AITranslation Free never processes player chat. Logs may contain the operation, plugin name, locale, counts and bounded error codes. They do not contain the API token, prompts, translated values or provider response body.
Malformed, incomplete, refused, oversized, extra-key, missing-key, non-string or placeholder-changing responses are rejected. A response without usable provider accounting is also rejected.
Recovery
Before retrying a failed replacement:
- Unload AITranslation Free.
- Inspect the target language file, its
.aitranslation.bakcopy and any.aitranslation.rollbackrecovery file. - Restore the known-good copy manually if required.
- Remove unresolved recovery material only after confirming the target is correct.
- Reload the plugin and run one small translation.
The plugin blocks another replacement while unresolved recovery material is present.
Known limitations
- Translation quality and provider availability are outside the plugin's control.
- The operator must monitor OpenAI usage and costs as well as the local limits.
- One command translates one plugin into one locale; bulk translation and player chat are Pro features.
- A real OpenAI request was not executed during the recorded final validation.
Support
Use the Codefling support section. Include AITranslation Free version, Oxide or Carbon version, the command shape, target locale and redacted error code. Never post the OpenAI token or language-file contents publicly.
Install the file
After keeping a copy of the previous file, place the exported JSON at this location on your server:
oxide/config/AITranslation.jsonFollow the plugin instructions above for dependencies and reloading. Exporting does not connect the site to your server.