ACode Rust Plugin Documentation
Description
ACode is a plugin for the game Rust that automates the process of applying the last entered code to CodeLocks. It enhances gameplay convenience by eliminating the need for players to manually input the code each time they deploy a CodeLock.
Commands
ACode does not have any in-game commands. All functionality is automated based on player actions within the game.
Permissions
- acode.use - Allows players to benefit from the functionality provided by ACode, such as having the last entered code automatically applied to CodeLocks they deploy.
Configuration
The ACode plugin does not have any configurable options. However, it utilizes a dynamic configuration file to store user codes, which can be found at oxide/data/ACode/UserCode.json. This file should not be manually edited unless necessary.
Installation
- Download the ACode plugin from the appropriate source.
- Place the plugin file (ACode.cs) into the oxide/plugins directory on your Rust server.
- Restart or reload your server to enable the plugin.
Permissions Configuration
To assign permissions to players or groups, you can use a permissions manager plugin such as Oxide's own "Permissions" plugin or any other supported permissions manager.
Example Permission Assignment
- Using Oxide's Permissions plugin:
- Grant the acode.use permission to players or groups using the appropriate commands provided by the permissions plugin.
Usage
Once the plugin is installed and loaded, it will automatically manage the last entered code for players. Players with the necessary permission (acode.use) will have the last entered code applied to any CodeLock they deploy.
Localization
The ACode plugin provides localization support for messages displayed to players. Currently, only Russian (ru) localization is supported. If you wish to add support for additional languages, you can modify the plugin code accordingly.
Support
For any issues, questions, or suggestions regarding the ACode plugin, you can reach out to the plugin author or seek assistance on relevant Rust community forums or platforms.