Infinite Blocks icon

Infinite Blocks -----

Create blocks that are infinite (just like creative mode)




New features:
  • Configurable lore to add to infinite blocks
Update Details:
Added the possibility to configure a lore to add to infinite blocks.

There are two new settings in the config.yml:
Code (YAML):
    # Lore settings for infinite blocks
    lore
:
      # A list of strings to add as the lore for infinite blocks
      # %AMOUNT% = Cost to place that infinite block
      loreList
:
       - '&aThis is an infinite block'
        - '&6Cost per use
: &c%AMOUNT%'

      # Whether the lore shall be force updated when the block is used
      # Setting this to true will override any lore on the block, including ones added by other means
      # Setting this to false will add the lore only once and only update infinite blocks without any lore
      forceUpdate
: false
For usage information refer to the comments in the config.yml.

Additional note: If you do not want a lore on your blocks you can configure the lore list to contain only an empty string as shown below:
Code (YAML):
   lore :
      # A list of strings to add as the lore for infinite blocks
      # %AMOUNT% = Cost to place that infinite block
      loreList
:
       - ''
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.
----------, Mar 15, 2024

New features:
  • Vault & Economy support
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.
----------, Mar 12, 2024

Resource Information
Author:
----------
Total Downloads: 686
First Release: Mar 28, 2022
Last Update: Mar 15, 2024
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings