New features:
Bugfixes:
- Placing infinite torches on the side of blocks does no longer consume the torch
Update Details:
Added support for Vault and Economy. It is now possible to configure different amounts on a per material basis which will then be deducted automatically once an infinite block is placed.
If the player placing the block has a balance less than the required amount a new message will be sent and the block can not be placed. The message is part of the
config.yml:
Code (YAML):
# REQUIRES VAULT
# This message will be sent to a player when who tries to place an infinite block while not having enough balance
# %AMOUNT% = the amount needed to place the block
placing-failed-missing-balance
: '
%PREFIX% &4You do not have the required funds (&c%AMOUNT%&4) to place this block'
There are new settings in the config.yml to set the cost per material:
Code (YAML):
Settings
:
# REQUIRES VAULT
blockUsageCost
:
# Any material not explicitly defined below will deduct the following amount
defaultUsageCost
: 0.0
usageCostPerMaterial:
STONE
: 0.0
OAK_LOG
: 0.0
The following permission is used to ignore placement cost:
infiniteblocks.ignoreCost
In order to update your
config.yml either manually add the new entries or delete the file and restart/reload your server.
The full config.yml was updated on the plugin overview page in case you want to copy it from there.
If you do not update your config.yml defaults will apply.