Rust AI
FREE
Sold by: sigiloThe Rust AI plugin integrates AI text generation models into Rust servers, supporting both Text Generation WebUI for custom local models and OpenAI models, simultaneously.
Admins can switch between models using a command or via the configuration file. The plugin includes per-user and global cooldowns to prevent spam and/or overwhelming the model
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
Rust AI Information
The Rust AI plugin integrates AI text generation models into Rust servers, supporting both Text Generation WebUI for custom local models and OpenAI models, simultaneously.
Admins can switch between models using a command or via the configuration file. The plugin includes per-user and global cooldowns to prevent spam and/or overwhelming the model
Installation Instructions:
Place the “RustAI.cs” file in the Oxide plugins directory
Edit the config file at oxide/config/RustAI.json
Reload the plugin with o.reload RustAI
Configuration:
Open the server’s configuration file at oxide/config/RustAI.json.
Adjust settings such as API URLs, wakewords, cooldowns, and model types.
To use with OpenAI, just enter your OpenAI API Key.
Al base configurations and URLs are pre-entered
To use with Text Generation WebUI, first, you need a local model running with the API extension.
Then enter the IP in TextGenerationApiUrl field. Ports and URLs are already entered with the default values, it just needs the IP of the machine running the model.
Irrelevant fields for this model, like Openai api key and model name will be ignored.
Permissions:
Grant the “rustai.use” permission to players for AI interaction.
Grant the “rustai.switchmodel” permission to admins for model switching.
Activating the AI:
Players with “rustai.use” permission trigger the AI by mentioning wakewords in the conversation (case insensitive). They can be defined in the config file.
The AI model responds with generated text based on the provided prompt.
Switching AI Models:
Users with “rustai.switchmodel” permission use “/switchmodel” to toggle between Text Generation WebUI and OpenAI models.
Users receive confirmation messages and the plugin automatically saves the updated configuration.
Feel free to try it, comment, and suggest ideas for it.
Default configuration:
{ "ActivationKeywords": [ "wipe", "admin" ], "Character": "Assistant", "DiscordWebhookURL": "your discord webhook here", "GlobalCooldownInSeconds": 10.0, "MaxTokens": 100, "ModelName": "gpt-3.5-turbo", "ModelType": "openai", "OpenAI_API_Key": "your openai api key here", "OpenAIApiURL": "https://api.openai.com/v1/chat/completions", "SendCooldownMessages": true, "SystemPrompt": "Keep responses short. Wipe days: Thursdays at 4 PM. Discord: discord.gg/yourdiscord", "Temperature": 0.9, "TextGenerationApiUrl": "http://0.0.0.0:5000/v1/chat/completions", "UserCooldownInSeconds": 30.0 }
Reviews (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Added date/time handling
- Added added wakewords, discord hook, + fixes
Discussions (0)
Discussions
There are no discussions yet.
Leave a reply
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Reviews
There are no reviews yet.