Skip to content

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

License

Notifications You must be signed in to change notification settings

LauraRozier/EnforceSingleResourceExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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
{
  "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.

{
  "Warning Message Text": "<color=#FF7900>You can only run a single resource extractor at any given time.</color>"
}

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages