Quarry Levels

Quarry Levels 1.4.9

The quarries should now extract the resources correctly. Lowgrade or other types of resources should no longer be added if it is not specified. There was a strange bug that sometimes occurred when the server was restarted.

Please report any problem, thank you.

PS: The quarries cannot be removed with /remove because Facepunch made them static. I'm thinking about implementing a button to dismantle the quarry and give the player a quarry item with a skin to store the quarry level. It will be implemented in the future.
Version 1.4.8 (We recommend saving the config before updating as new values are added)
- A new parameter has been added in the Config "Add Crude Oil as an additional resource in Mining Quarry": false (In case you do not want to use oil quarrys. Setting this to true disables the placement of Pump Jack / Quarry Oil)
- Added a configuration parameter to limit the number of Quarrys per player.
- Added a configuration parameter to limit the number of Oil Quarrys (Pumpjack) per player.
- A current version parameter has been added in the configuration for better management of new parameters in future updates.
- Several small bugs have been fixed.
  • Like
Reactions: Mankysieve
- Oil pumps are no longer replaced by normal quarries.
- Fixed adding custom fuel (broken in last update).
- Fixed operation after server restart (broken in last update).
This update should correct the error messages that appeared in the console when the server started.

Example: Failed to run a 2.00 timer in 'QuarryLevels v1.4.5' (NullReferenceException: )

I also made some minor adjustments, let me know if everything works correctly after the server reboot. Since now the configuration is applied to the quarrys after the server starts and not during loading.
I have managed to make a temporary patch to get the Quarrys back to normal operation. As soon as Facepunch fixes it natively, I will release another update to eliminate this patch.

Important:
When updating the plugin existing quarrys will not be fixed automatically. However, I have added a command with administrator permission to fix the ones that are placed on the map. To do this, use the /qlfix command (Using it once is enough)
- Fix for the new September update.
- The quarrys must now remember their owner.
- Fixed bug that occurred if you had the upgrade option disabled for the static Quarrys on the map itself. The current level screen was not displayed in the resource depot.
- Fixed bug that set the Quarry's default health at server restart instead of keeping the life according to its level of improvement.



If you have been experiencing an error since a couple of updates, check that you have the following parameters in the config:
"Type of Fuel Required": "lowgradefuel", OR "Type of Fuel Required": "diesel_barrel",
AND
"Fuel Consumption (Higher number = more duration per unit of fuel)": 20.0,
The quarry upgrade should now work correctly.
  • Like
Reactions: NedFlanders
IMPORTANT: DO NOT UPDATE UNTIL THE RUST MONTHLY UPDATE.
IMPORTANT: The settings and language file change, so please download a copy of the current settings and remove the one from the server before uploading the updated plugin.
- Added a configuration option to show or hide debug messages.
- Added a tier list for oil quarries.
- Added the option to generate oil extraction points. (Leaving it at 0.0 will nullify the chance of oil bombs spawning).
- Added option to mine all resources with a single Quarry: Stone, Metal, Sulfur and HQ with a single Quarry.
- Added option so that quarries cannot be destroyed.
- Added option to only destroy melee (ignore fire/explosion/shot damage).
- Added option to enable or disable the ability to upgrade Quarrys on the Map.
- Added additional setting to modify Ore Extraction Speed (modify this only if you want to nerf some type of ore). The higher the number, the longer it takes to produce.
- Updated interface design.