Quarry Levels

Quarry Levels 1.4.8

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.
At the request of a user, the possibility of using the Economy System is added as an alternative to Server Rewards.

That is, if you do not use Server Rewards and you use Economy it is now compatible. For this you will have to set the new configuration to FALSE. By default it is TRUE to be compatible with ServerRewards.

"Use ServerRewards? = True OR Use Economics? = False": false,

Can the 2 systems be used at the same time? No, you must choose one.

Can you not use any? Indeed, simply mark this option to TRUE:

"UPGRADE use only Ingredients (Default False)": true,

The same RP field is used to set the cost in INT format. Don't use numbers with decimals.
  • Like
Reactions: NedFlanders