BuildingLicense is a Rust / Oxide-uMod plugin that controls building upgrades through permissions instead of raw resources.
This refactor focuses on cleaner architecture, safer update flow, bilingual in-game messaging, and a more production-ready maintenance model.
-
Upgraded plugin version to 2.0.0
-
Reworked internal flow and removed dead / incomplete code paths
-
Fixed broken logging logic
-
Improved update handling and backup creation
-
Normalized config loading so old installs survive updates better
-
Made default player-facing messages bilingual: English first, Russian second
-
Kept comments in code in English, written from the developer perspective
-
Refactored command handling and upgrade checks
-
Improved status output for admins
-
Higher-tier permissions now satisfy lower-tier upgrade checks.
-
Optional exclusive grant mode uses
AllowMultipleLicensesto keep only one tier at a time.
The plugin blocks upgrade attempts to:
StoneMetalArmored
unless the player has the matching permission.
Base grades such as Wood and Twig remain open.
buildinglicense.adminbuildinglicense.stonebuildinglicense.metalbuildinglicense.armored
Admin command.
/bl help/bl status/bl reload/bl update
Grants the selected license to a player.
The config is generated automatically here:
oxide/config/BuildingLicense.json
Data and update backups are stored here:
oxide/data/BuildingLicense/
oxide/data/BuildingLicense/backups/
The plugin now uses:
- multiple upgrade hooks for compatibility
- cached category resolution
- tier-specific runtime rules
- auto-update checks with version parsing
- backup creation before update overwrite
- safer config normalization
[BuildingLicense] Stone upgrade is locked. / Улучшение Stone заблокировано.
- Put
BuildingLicense.csintooxide/plugins. - Reload the plugin:
o.reload BuildingLicense
- Review the generated config.
- Assign permissions to admins and players.
This project is released under the Apache License 2.0. See LICENSE for the full text.