Installation
Contracts is a Rust server plugin. It runs on both Oxide and Carbon. The same Contracts.cs file works on
either framework. The installation process detailed below is pretty verbose, but essentially, it’s the same as most
plugins where you just drop the file into your plugins folder and you’re good to go!
1. Install the plugin
Section titled “1. Install the plugin”Copy Contracts.cs into your server’s plugins directory:
oxide/plugins/ carbon/plugins/ Unless you’ve configured your server’s framework differently, the plugin compiles and loads automatically. Otherwise you can load it manually:
o.reload Contractsc.reload ContractsOn first load it writes its configuration, language and loads the default data.
2. Install dependencies
Section titled “2. Install dependencies”| Plugin | Needed for | Required? |
|---|---|---|
| ImageLibrary | Icons and images in the in-game menu. Install this before the first load. | Yes |
| Economics | Economics rewards | Only if you grant Economics rewards |
| ServerRewards | ServerRewards rewards | Only if you grant RP |
3. Grant the permission
Section titled “3. Grant the permission”Players need the contracts.use permission to open the menu (and progress through contracts). Grant it to a group (for example the default default group, so everyone gets it):
o.grant group default contracts.usec.grant group default contracts.useServer admins should also hold contracts.admin for the management console commands.
| Permission | Grants |
|---|---|
contracts.use | Open the menu and complete contracts |
contracts.admin | Run admin console commands (rotate, reset progress) |
The exact permission strings are configurable in the plugin config under Permissions. contracts.use and
contracts.admin are the defaults.