Quarry Levels

Quarry Levels 1.4.91

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
As a result of the previous update, compatibility with No Escape is added to prevent the quarry from being repaired while the player is in raidblock or combatblock.

Use the default permissions of No Escape:
noescape.raid.repairblock
noescape.combat.repairblock
  • Like
Reactions: NedFlanders
On hitting with a wooden hammer the quarry now heals correctly based on current level health.
EXPERIMENTAL CONFIGURATION ADJUSTMENT
This version needs an update of the configuration file. So before updating, copy your current configuration somewhere safe.

New setting in configuration called:
Process Global Rate

Well, what is this new field? It is a parameter for configuring the operating speed of the global quarry, that is, by modifying this value it is possible to remove more materials in less time and at the same time consume more fuel. (It's like putting it in fast motion).

It can be said that it is a modification that changes the overall ratio, both for what you get and for what you consume.

IMPORTANT:
If you are not interested in the quarries consuming more fuels, depending on the level, and you want everything to continue working as before, you do not have to modify this parameter, leave it as it is with 5.0 by default.

You can continue using the normal rate parameter, which already existed before, to change the amount of material you get.

If, on the other hand, you want to experiment and make the quarries consume more fuel, you will have to reduce the default value, the lower the value, the faster it will remove material and the faster it will consume the fuel. So if you touch this parameter I recommend leaving the normal Rate parameter at 1.0.

Experiment for yourself if you want and comment on your results in the mod thread!

* At the moment there is no other way to change fuel consumption.

If you have any doubts, let me know!
  • Like
Reactions: EverQWQ
Fixed a small error that appeared when starting the server.
Added Chat command so administrators can reset to a quarry default level.

To do this you just have to look at the quarry that you want to lower to level 0 and use the following command: /qldefault

You will need to have permission:
Code:
quarrylevels.admin

With this update only the language file is modified with 2 new lines at the end.
Code:
"NotAllowed": "You do not have permission to use this command.",
"LookQuarry": "You have to look at a quarry."
IMPORTANT: CHANGE IN THE CONFIGURATION FILE AND LANGUAGE FILE. BEFORE UPDATING MAKE A COPY OF BOTH.

Now in the Configuration File there are several new parameters. They are as follows:
Code:
  "Notify": {
    "Notify Stop": true,
    "Notify by chat": true,
    "Notify by GUI": true,
    "Stop Checks Speed (Default 5.0)": 5.0
  },
  "UPGRADE use only RP (Default False)": false,
  "UPGRADE use only Ingredients (Default False)": false,
The language file has been added to this line:
Code:
..... ,
"StopQuarry": "Your Quarry on <color=#FFA500>{0}</color> has been turned off."

The notfiy parameters is a new feature that will let the quarry owner know that the quarry has stopped. (Either due to lack of fuel or because someone stopped it)

You can use the option of warning by chat and gui or only one. That is recommended not to lower the checking speed to less than 5 seconds, in fact you could increase it to your liking a little.

Two options have been added to allow only the quarry upgrade exclusively with RP or Resources. By default leave it false to use both. If you only want to use RP you just have to activate that option as: true

Last and not least, the possibility of adding more levels has been completed, for this you will only have to create the new levels from the configuration file. That if, very important, no level can have the same capacity of slots in the deposit. Since this parameter is the one used to differentiate the levels. Likewise, this parameter should grow according to the level.

If you have any questions about it, you can leave a comment in the mod support thread.
- 1.1.2:
# Slots set for defects now work correctly.
# Is the quarry damaged? Hit with the wooden hammer and fix it to its maximum life.
# Life must now be updated correctly as soon as the level is increased.
# Possible solution to a failure. When the server was restarted, the quarries returned to life by default.
- 1.1.1:
# Fixed a problem with leveling up.