Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laurarozier/enforcesingleresourceextractor

Enforce players only being able to use a single quarry and/or pump jack.
https://github.com/laurarozier/enforcesingleresourceextractor

oxide oxide-plugins plugin umod

Last synced: about 1 month ago
JSON representation

Enforce players only being able to use a single quarry and/or pump jack.

Awesome Lists containing this project

README

        

*Enforce Single Resource Extractor* enforces players only being able to use a single quarry and/or pump jack.

Plugin is written based on a suggestion by [Majaspokla](https://umod.org/user/Majaspokla)

## Permissions

- **enforcesingleresourceextractor.whitelist** -- Players/Groups with this permission are whitelisted and will not be enforced by this plugin.

## Configuration

- **Ignore Extractor Type** -- When set to `false` players will be able to run one Mining Quarry AND one Pump Jack at the same time

```json
{
"Ignore Extractor Type": true
}
```

## Localization

The default messages are in the `EnforceSingleResourceExtractor.json` file under the `oxide/lang/en` directory. To add support for another language, create a new language folder (ex. `de` for German) if not already created, copy the default language file to the new folder, and then customize the messages.

```json
{
"Warning Message Text": "You can only run a single resource extractor at any given time."
}
```