Quarry Levels

Quarry Levels 1.4.8

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.