Search the Community
Showing results for tags 'ai'.
-
Version 1.0.2
63 downloads
AI Translation plugin is the best powered-AI translation solution for Rust Servers. Enjoy the power of AI by automatically translating all your language files, or the messages exchanged by players in the chat! ALL languages, without exception, are accepted. !! Important: The plugin requires the use of OpenAI's API, which includes fees for each request (see the dedicated section for more details) !! Free Version : A free version (but limited) is available. Easy to Use with Minimal Configuration There is almost no setup required; everything is straightforward to handle. Open AI & Request Costs You need to register for the OpenAI API to retrieve a token. Signing up and getting the token is very simple and takes just a few seconds. Translating language files will only cost a few cents for about a hundred files. It's difficult to quantify the cost of translating chat; expect around $1 for thousands of translated messages (this is a purely theoretical value). Something to consider if your language files are long: It is possible that some files may arrive incomplete. To solve this issue, you need to increase the token limit of your model (in the configuration). The limit depends on the OpenAI model used, but generally, you can go up to 4096. More information on tokens can be found here. Support Available I am available for all your questions, whether it's support here or on Discord (d.0ne_) More information at the bottom of the page. Commands ait.translateplugin <plugin> <lang1> <lang2>: Requires the plugin to have a default language file (in English). Specify all desired languages in ISO639-1 format. Example: "ait.translateplugin MyPlugin fr ru" ait.translateallplugins <lang1> <lang2>: Operates the same way but will do so for all plugins. Permission aitranslationpro.chat.use: permission that allows users to see the translation in the chat OPEN AI API Registration (2mn): 1 - Visit the OpenAI Website: Go to OpenAI's official website. Click on the "API" section in the navigation menu. 2 - Create an Account: If you don’t already have an OpenAI account, you will need to create one. Click on the "Sign Up" button. Fill in your details such as email, name, and password. Follow any additional prompts to complete the registration process. 3 - Verify Your Email: Check your email for a verification link from OpenAI. Click on the link to verify your email address. 4 - Log in to Your OpenAI Account: Once your email is verified, log in to your OpenAI account. Navigate back to the API section. 5 - Apply for API Access: Depending on OpenAI's current policies, you might need to apply for API access. Fill out any required forms or surveys. Submit your application. 6 - Access the API Dashboard: Once approved, you can access the API dashboard. This dashboard is where you can manage your API usage. 7 - Generate an API Token: In the API dashboard, look for an option to create a new API token. Click on "Create Token" or a similar button. Follow the prompts to generate a new token. 8 - Secure Your Token: Once your token is generated, make sure to copy it and store it securely. Never share your API token publicly as it gives access to your OpenAI account.$9.98- 19 comments
- 2 reviews
-
Version 0.1.0
264 downloads
This add-on for the PersonalNPC plugin allows bots to fly to different points on the map. The owner spawns the bot, gets into the helicopter as a passenger, selects a point on the in-game map and the bot starts flying towards it. To use this plugin, you need the main PersonalNPC plugin, and you need to enable the use of this addon in the bot settings. Default configuration: { "Max height above the ground": 25.0, "Minimum height to fly forward/backward": 15.0, "Max slope by forward axis": 0.3, "Pitch strength": 0.2, "Throttle strength": 1.0, "Land throttle strength": 0.5, "YAW strength (rotation around its axis)": 1.0 } Video:$15.00 -
Version 1.7.6
835 downloads
RustGPT integrates OpenAI's powerful ChatGPT directly into Rust, allowing players to interact with ChatGPT through the game chat. This unique plugin enhances the Rust gaming experience by providing color commentary on deaths, answering player questions, and more, all powered by the advanced capabilities of ChatGPT. Features Color Commentary for Deaths: RustGPT adds an entertaining twist to gameplay by providing ChatGPT-powered color commentary on player deaths, with customizable settings for tone and content. ChatGPT Access: Players can use ChatGPT to ask questions or engage in conversation directly through the Rust game chat. Customizable Prompts and Responses: Server admins can customize the system's prompts and responses, tailoring the ChatGPT interaction to fit the server's theme or setting. Cooldown Management: To ensure fair usage and prevent spam, RustGPT includes a cooldown system that limits how often players can use the ChatGPT feature. Discord Integration: Optional integration with Discord via webhooks allows for broadcasting ChatGPT responses or death commentary directly to a Discord server. Configurable Settings: From API keys to response parameters, RustGPT offers extensive configuration options to customize the plugin's behavior and integration with OpenAI's API. User Permissions: Server admins can control who has access to the ChatGPT features through customizable permissions. You should read this entire README if you are using this plugin for the first time. Required OpenAI API Key To run this project, you will need to get yourself a fancy OpenAI API key. Installation Copy the plugin RustGPT.cs into your Carbon or Oxide plugins folder. When the plugin is first loaded it will generate a configuration file and the server console will say Please configure the plugin with the required OpenAI API key. Configure the plugin in the RustGPT.json file located in you Oxide or Carbon configs folder. Permissions In console for oxide: o.grant user <player_name_or_steam_id> RustGPT.chat In console for Carbon: c.grant user <player_name_or_steam_id> RustGPT.chat Restart the plugin. Using Oxide? Do this: o.reload RustGPT.cs Using Carbon? Do this: c.reload RustGPT.cs Do yourself a favor and make a local copy of your RustGPT.json file in case something goes wonky in future updates. Usage/Examples Question Patterns This setting is designed to validate the chat message so only specified text triggers the API call. Currently the default question structure is like this: "Question Pattern": "!gpt" This is an old method to trigger commands in rust. Basically, any chat message that contains the text "!gpt" will send that chat message through the API and trigger a response. You can edit this in the configuration file. Since this is capable of accepting regex expressions you can get crazy with it. For example: "Question Pattern": "(who|what|when|where|why|how|is|are|am|do|does|did|can|could|will|would|should|which|whom).*?$" This will look for a chat message that contains one of the various keywords and ends with a question mark. "Question Pattern": "" And incase you were wondering this will full send everything. Not recommended. If you have a well populated server and a lot of chat enthusiasts, this will cost you some money. Commands /models - admin only, lists the available models. https://github.com/Rust-Haus/RustGPTFree -
Version 1.1.3
322 downloads
Command for spawn - /spawnrider FEATURES: Setup population, scan radius for rider, e.t.c. in the config If a scientist sees a player, he will be hunted Automatically spawns every 60 seconds at random if the population has not reached the limit P.s - (My Discord - tofurahie#4144) Config: { "Bonus damage to NPCs on horseback": 6.0, "Maximum Riders population": 10, "Kill horse after NPC death": true, "Rider types": [ { "Prefab of NPC": "assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_full_lr300.prefab", "List of armor for NPC": [ "hazmatsuit" ], "Prefab of Horse": "assets/rust.ai/nextai/testridablehorse.prefab", "Horse armor": "horse.armor.roadsign", "Scan radius for Rider(Find player)": 100 } ] }$12.99- 15 comments
- 3 reviews
-
- 1
-
- #scientist
- #horse
- (and 4 more)
-
Version 0.1.5
23 downloads
Short Description: Makes your guns create entities/explosions/animals wherever your bullet impacts, or freezes/removes entities/NPCs that you hit with your bullet. Configured via commands. Allow players to use certain guns to spawn animals, explosions, or entities wherever their bullet lands. Or maybe freezing entities is up your alley! If you've ever wanted to do the mannequin challenge with NPCs/Entities in Rust, now you can! You freeze almost every entity in the game using a specified, configurable gun. Not interested in freezing entities? How about deleting them from existence because they are bothering you, well, lucky for you this plugin has that too! Anywhere you shoot will have any of the above abilities if you activate them! The plugin automatically unfreezes all entities that were frozen upon unloading the plugin. This is a configurable setting you can disable, however, Cargo will always unfreeze itself the way I have it set up to not cause any issues. Cargo is also currently the only one that freezes itself upon loading the plugin if it was already frozen when unloading it. You can freeze entities with this plugin in your own plugins via calling the methods: GunTypes.Call("MethodName", parameter1, parameter2, parameterX); // EX: GunTypes.Call("CargoFreeze", CargoShip, IPlayer, string, bool); FEATURES: Explosive Gun: MLRS Rocket Incendiary Rocket Satchel Charge F1 Grenade Flash Bang Napalm Fire (the fire that Bradley/Attack Heli drops) Supply Signal Animal Gun: Wolf Bear Polar Bear Boar Chicken Stag Shark NPC Gun: Scarecrow NPC Bandit Camp Scientist/Guard Cargo LR-300 Scientist Cargo MP5 Scientist Underwater Dweller Tunnel Dweller CH47 Chinook Scientist (M249) (cannot move) Outpost Scientist Entity Gun: Scarecrow (entity, the T-Posed object with a hat meant to scare crows) Snowman Christmas Tree Candy Canes Present Zombie Test (Customizable via Config, just put the prefab) Freeze Gun (What it's able to Freeze) Cargo Attack Heli Bradley Chinook/CH47 All Vehicles (Mini Copter, Car (Modular Cars), Sedan, Rhib, Tugboat, Rowboat, Paddle Boat, Subs, Scarp Heli, Trains/Workcarts, Snowmobiles, Ridable Horse) Animals ALL AI (Scientists, Underwater Dwellers, NPCMissionProviders, Etc.) Traps (Landmines, Bear Traps, Gun Traps) Auto Turrets/Flame Turrets (Safezone turrets and regular ones) Sam Sites (Safezone Sam Sites and regular ones) Conveyors Doors Hackable Crate StorageContainers Remove Gun (What its able to Remove) Everything that is Interactable. Abandoned Military Base (Basically all of the monument can be removed for whatever reason, only things that will remain are the entrances and outlined portion of the monument where the ground is raised) PLANNED FEATURES: Car Gun (What its able to shoot) Rhib Attack Helicopter (new one, not patrol heli) Chinook Sedan Minicopter Tugboat Tomaha Solo Sub Modular 4 Car Modular 2 Car Video Examples: Note: The SPAS12 video used 4x the explosive amount per pellet. More Videos to come! EXAMPLE OF CAR GUN (NOT IN PLUGIN YET This is also a slightly older implementation, and has now been slowed down to prevent as much clipping into the ground/through objects. Permissions: guntypes.gun - Allows user to use the /gun command. guntypes.setgun - Allows user to use the /gun set command. guntypes.animal - Allows user to use the /gun animal command. guntypes.explosive - Allows user to use the /gun explosive command. guntypes.entity - Allows user to use the /gun entity command. guntypes.remove - Allows user to use the /gun remove command. guntypes.freeze - Allows user to use the /gun freeze command. guntypes.npc - Allows uers to use the /gun npc command. Any other permission you see DO NOT USE OR ACTIVE YOURSELF they are for internal plugin use. You SHOULD NOT attempt to give a user ALL permissions when giving permissions to a user. Give them manually. Chat Commands: Note: Turning on any of the gun modes via their direct name (i.e: animal, entity, etc.) will also effectively do `/gun on` for you. /gun off - Disables gun mode in general to prevent use of any of the types below. /gun on - Activates gun mode in general to allow use of any of the types below. /gun animal - Activates animal gun mode. /gun explosive - Activates explosive gun mode. /gun entity - Activates animal gun mode. /gun freeze - Activates animal gun mode. /gun remove - Activates animal gun mode. Use Shortnames to change the gun type, or their defining part of their name. EX: for "pistol_revolver", do "revolver". /gun set animal wolf - Sets your current held gun to the wolf gun. /gun set explosive mlrs m249 - Sets the M249 to the MLRS gun. /gun set freeze - Sets your current held gun to the freeze gun. (only 1 freeze type so no type specification required) /gun set remove pistol_revolver - Sets revolver to the remove gun. (only 1 remove type so no type specification required) /gun spawnfrozen on - Sets NPCs and Animals to spawn frozen. /gun spawn frozen on - Sets NPCs and Animals to spawn frozen. Lots of QoL allowances for freeze AoE commands. /gun set freeze aoe on - Sets freeze AoE (radius) on. /gun freeze aoe on - Sets freeze AoE (radius) on. /gun set freeze aoe 12 - Sets freeze AoE (radius) to 12m. /gun freeze aoe 12 - Sets freeze AoE (radius) to 12m. Note/Be Aware: A gun that is used multiple times in the same gun type will only allow for 1 of the specified events to occur. EX: using explosive gun and having M249 set to both C4 and MLRS will only allow either C4 or MLRS to happen, not both. You will need to manually set the other M249 value to something other than the M249 value for the type you're not attempting to use. Meaning if you are trying to use C4 and NOT MLRS, then set MLRS to something other than the C4 value. You can now change your guns without affecting other users guns! Note 2: You setting the gun for yourself also sets it for ALL other players who are using the plugin. My goal is to eventually change this to individual gun settings for each user, but current implementation does not allow for it yet. Config: { "The command you type in to use the plugin": "gun", "Color/Hex for Syntax in Lang": "#ff3d3d", "Color/Hex for Commands in Syntax in Lang": "orange", "Color/Hex for 'Animal Gun' in Lang when calling the Gun Types commands": "#30D5C8", "Color/Hex for 'Explosive Gun' in Lang when calling the Gun Types commands": "orange", "Color/Hex for 'Entity Gun' in Lang when calling the Gun Types commands": "purple", "Color/Hex for 'Remove Gun' in Lang when calling the Gun Types commands": "#ff3d3d", "Color/Hex for 'Freeze Gun' in Lang when calling the Gun Types commands": "#30D5C8", "Color/Hex for 'NPC Gun' in Lang when calling the Gun Types commands": "#cf1d40", "Color/Hex for 'Activated' in Lang when calling the Gun Types commands": "green", "Color/Hex for 'Deactivated' in Lang when calling the Gun Types commands": "red", "The Color/Hex of the attempted entity/gun in the response for successful/failed gun setting": "orange", "The Color/Hex of the attempted spawn type in the response for successful/failed gun setting": "#40E0D0", "The test entity spawned using the entity gun": "assets/content/structures/interactive_garage_door/sliding_blast_door.prefab", "Unfreeze ALL frozen entities upon unloading (Excluding Cargo, it will automatically unfreeze).": true, "Freeze AoE (radius) Effect Enabled for ALL user with freeze permission (if set to false, no one can use AoE. If enabled, allows AoE Freeze)": true, "Max AoE (radius) a user is allowed to set for AoE freezing": 350, "Spawn tamable animals": true, "Spawn animals already tamed by the user who shot the gun": true } Credits: bmgjet - Thanks to bmgjet for allowing me to use code that they had made to get the closest cargo node, and also informing me on a way to freeze cargo!$9.99 -
Version 0.0.3
123 downloads
This plugin equips personal bots with intelligence for driving cars. All you need to do is sit in the passenger seat and set the destination point on the map. In the config, you can change the maximum speed, the maximum number of crossways for the search engine, disable the obstacle detection system (beta) and change some other settings. Don't forget to enable the ability to drive vehicles in the PersonalNPC configuration. Video demonstration: { "Permission to use this addon on all bots of player (not required)": "pnpcaddoncar.override-setup", "Search Mechanism settings": { "Max crossways amount for search method (0-2)": 2 }, "Driver settings": { "Max speed": 15.0 }, "Obstacle detection settings": { "Disable obstacle detection?": false, "Ray length": 5.0 }, "Minor settings": { "Enable visual debug?": false } }$15.00 -
Version 1.0.1
31 downloads
For developers to integrate OpenAI endpoints into their plugins. Features API Key Verification: Automatically verifies the provided OpenAI API key. Chat Commands: Provides in-game commands for administrators to interact with the OpenAI API. Model Listing: Fetches and lists available models from OpenAI. Chat Completions: Handles chat-based interactions with OpenAI's language models. Configuration { "DefaultAssistantModel": { "max_completion_tokens": 150, "max_prompt_tokens": 150, "Model": "gpt-4o" }, "DefaultCompletionsModel": { "MaxTokens": 150, "Model": "gpt-4o" }, "OpenAI_Api_Key": { "OpenAI API Key": "your-api-key-here" } } Commands /openaitest Tests the connection to the OpenAI API using a predefined message. Only available to administrators. /listmodels Fetches and lists all available models from the OpenAI API. Only available to administrators. Public Methods There are two main API interactions through the completions and the assistant API. Completions_SimpleChat Example of Completions_SimpleChat - Creates a simple chat interaction with OpenAI. private void AskGptCommand(BasePlayer player, string command, string[] args) { if (!permission.UserHasPermission(player.UserIDString, "RustGPT.chat")) { player.ChatMessage("<color=#ff0000>You do not have permission to use this command.</color>"); return; } if (args.Length == 0) { player.ChatMessage("Usage: /askgpt <your question>"); return; } if (!HasCooldownElapsed(player)) { return; } var userMessage = string.Join(" ", args); var messages = new List<object> { new { role = "system", content = _config.DefaultContent }, new { role = "user", content = userMessage } }; player.ChatMessage("Sending your message to OpenAI..."); OpenAI?.Call("Completions_SimpleChat", messages, (System.Action<JObject>)((response) => { if (response != null && response["choices"] != null && response["choices"].HasValues) { string GPT_Chat_Reply = response["choices"][0]["message"]["content"].ToString().Trim(); if (GPT_Chat_Reply.Length > 1200) { CreateNotesForResponse(player, GPT_Chat_Reply); } else { SendChatMessageInChunks(player, $"<color={_config.ReplyPrefixColor}>{_config.ReplyPrefix}</color> {GPT_Chat_Reply}", 250); } } else { player.ChatMessage("<color=#ff0000>Failed to get a valid response from OpenAI. Please try again later.</color>"); } })); } Assistant_CreateAssistant [HookMethod("Assistant_CreateAssistant")] public void Assistant_CreateAssistant(string name = null, string description = null, string instructions = null, List<object> tools = null, object toolResources = null, Dictionary<string, string> metadata = null, double? temperature = null, double? topP = null, object responseFormat = null, Action<JObject> callback = null) Example: var openAIPlugin = (OpenAI)plugins.Find("OpenAI"); openAIPlugin.Assistant_CreateAssistant("MyAssistant", "An assistant for my game", "You are a helpful assistant.", null, null, null, null, null, null, response => { if (response != null) { Puts("Assistant created successfully: " + response.ToString()); } else { Puts("Failed to create assistant."); } }); Assistant_CreateVectorStore Example use of Assistant_CreateVectorStore to save chat interactions in the OpenAI platform using the Assistants API. var openAIPlugin = (OpenAI)plugins.Find("OpenAI"); List<string> fileIds = new List<string>(); // Initially, no file IDs string name = "OpenAIChatHistory"; object expiresAfter = DateTime.UtcNow.AddDays(30); // Expires after 30 days object chunkingStrategy = null; // Define your chunking strategy if any Dictionary<string, string> metadata = new Dictionary<string, string> { { "game", "Rust" }, { "description", "Vector store for storing chat interactions with OpenAI" } }; openAIPlugin.Assistant_CreateVectorStore(fileIds, name, expiresAfter, chunkingStrategy, metadata, response => { if (response != null) { Puts("Vector store created successfully: " + response.ToString()); } else { Puts("Failed to create vector store."); } }); Pubic Methods FetchModels Completions_CreateChat Completions_SimpleChat Assistant_CreateAssistant CreateThread RetrieveThread ModifyThread DeleteThread Assistant_CreateMessage Assistant_ListMessages Assistant_RetrieveMessage Assistant_ModifyMessage Assistant_DeleteMessage Assistant_CreateRun Assistant_CreateThreadAndRun Assistant_ListRuns Assistant_RetrieveRun Assistant_ModifyRun Assistant_CancelRun Assistant_ListRunSteps Assistant_RetrieveRunStep Assistant_CreateVectorStore Assistant_ListVectorStores Assistant_RetrieveVectorStore Assistant_ModifyVectorStore Assistant_DeleteVectorStore Assistant_SubmitToolOutput All of these interactions are built using the OpenAI platform as a scaffold. Using the OpenAI documentation you can see response examples for all of the available methods. https://platform.openai.com/docs/api-reference/introductionFree -
Version 1.1.0
46 downloads
HOW TO ADD A TRACK? If you have already created your own track file, skip the first 3 steps. To add a new track, it’s very easy, follow the steps below: 1° Have the midi file (.mid) you want to add ready. 2° Goto the https://npcbands.vercel.app 3° Upload your file and click in the DOWNLOAD button 4° Move the downloaded file to oxide/data/NPCBands/Notes/ Now, the track name to add to the configuration file will be the file name without the .json extension. AVAILABLE INSTRUMENTS Guitar Trumpet Flute Sousaphone Canbourine Jerry Can Guitar Shovel Bass Piano Drumkit Xylophone FEATURES ▪ Create multiple bands ▪ Clean music controls UI ▪ Spawn unlimited bands ▪ Create a song-notes filter for each NPC ▪ Add custom clothing for each NPC ▪ Use of deployable instruments ▪ Fully customizable UI ▪ 2 band-mode (automatic and proximity) ▪ Unlimited NPCs for the same band ▪ All NPCs will play the notes that the instrument allows (can be filtered) ▪ Interval between songs ▪ Permission to use controls ▪ High performance, no server lag ▪ Option to force immediate stop ▪ Easily convert your midi files using the npcbands website ▪ 1 file for each track to avoid a large configuration/data file ▪ Delete all bands automatically when clearing the map ▪ Destroy all NPCs automatically when unloading the plugin ▪ Delete all NPCs on the plugin load in case of possible server crash ▪ Custom chat command ▪ Custom band radius ▪ Notifies you when you enter the band area COMMANDS /npcbands spawn <band_key> to spawn a new band /npcbands remove <band_id> to remove an existing band /npcbands list [page] to list all existing bands PERMISSIONS npcbands.admin - Permission for chat commands & music control npcbands.control - Permission for the music control only CONFIGURATION FILE NPCBands.json$20.00- 30 comments
- 3 reviews
-
- 4
-
- #bands
- #npc bands
- (and 13 more)
-
Version 0.0.1
140 downloads
This is a free version of the AITranslation plugin. It enables you to translate all the language files of your plugins into any desired language with a simple command. Limited Features in Free Version In this version, features are limited, and you only have access to file translations. Visit the AITranslation Pro page if you wish to obtain the version without limitations. Commands: ait.translateplugin <plugin name> <lang>: If the plugin has a default language file (in English), a translated version in the desired language will be created. (For lang, use the ISO639-1 format) The PRO version allows translating into multiple languages with a single command and translating ALL your plugins with one command. AITranslation PRO Version:Free- 4 comments
-
Version 2021.12.07
5 downloads
The prefab is currently compatible for the current gamemode(s): Hide&Seek (I recommend playing it at night for more fun!) . . . If you buy this product before end of the year (2021), you will get the following products & prefabs for FREE: Combat Mania [PvP] ~Collection One~ Combat Mania [CTF] ~Collection One~ Combat Mania [Monument] ~Collection One~ MBASE1 MBASE2 MBASE4 MBASE5 MBASE6 MBASE7 MBASE8 MBASE9 MBASE10 MBASETOWER . . . CCTV ID: COBALT2923 - Location: (46.3, 18.7, -73.2) ID: COBALT5683 - Location: (49.7, 15.4, -96.6) ID: COBALT7666 - Location: (60.6, 15.7, -122.8) ID: COBALT7743 - Location: (90.1, 12.2, -83.9) ID: COBALT8239 - Location: (42.1, 21.5, -7.3) ID: COBALT2070 - Location: (89.0, 42.0, 39.2) ID: COBALT1350 - Location: (131.1, 21.6, -38.0) Combat Mania [H&S] ~Collection One~ [758] Drag & Drop --------------------------------------------------------------------------------------- Primary screenshot by https://codefling.com/disguise Where the journey begins -Ventura Designs- Discord CCTV_IDs.txt$30.00-
- #ventura designs
- #disguise
- (and 23 more)
-
Version 2021.09.15
15 downloads
Electricity 2x Green Security Door 3x Blue Security Door 1x Red Security Door 2x Fuse - Loot 1x Toolbox 2x Oil Barrel 2x Junk Barrel 3x Food Crate 6x Yellow Crate 3x Military Crate 2x Elite Crate 1x Hackable Crate - AI 7x Patrol Scientists (You can change the AI types) - CCTV I. SSENTRANCE II. SSCAFETERIA III. SSXAEA12 IV. SSSTORAGE V. SSARMORY Space Station - Empty [2053] Space Station - No Scientists [2260] Space Station - Scientists [2278] Drag & Drop (You can place the monument at any height, tutorial in readme.txt) ---------------------------------------------------------------------------------------------------------------- Primary screenshot by https://codefling.com/raul-sorin-sorban$4.99