Block Height Restrictor icon

Block Height Restrictor -----

A flexible plugin to restrict block placement by height per block type.



Block Height Restrictor is a fully configurable Spigot plugin that allows you to specify individual minimum and maximum height limits for various blocks. This ensures players cannot place certain blocks outside the allowed height range, providing greater control and a more customized building environment on your server.

Key Features:
  • Per-block height configuration: Set unique min/max height limits for each block type.
  • Customizable messages: Each restricted block type can have its own message, displayed to the player when they attempt to place the block outside the allowed height range.
  • Easy configuration: Simply edit the config.yml to add new blocks, adjust min/max heights, and update messages.
  • “Out-of-the-box” functionality: The plugin works immediately after placing it in your plugins folder and restarting the server.
  • Lightweight and efficient: Minimal performance impact with straightforward event handling.

Installation:
  1. Place the downloaded JAR file into your server’s plugins folder.
  2. Start or restart your server.
  3. The plugin will automatically generate a config.yml file with a template.
  4. Edit the config.yml to define blocks, their min/max heights, and messages.
  5. Reload or restart the server to apply changes.

Example config.yml:
Code (YAML):
blocks :

  CHEST
:
   min
: 55
   max
: 199
   message
: "&cYou cannot place chests below {min} or above {max}!"
  ENDER_CHEST
:
   min
: 60
   max
: 210
   message
: "&cEnder chests are only allowed between {min} and {max}!"


Usage:
  • When a player attempts to place a restricted block outside the configured height range, the block placement is canceled, and the player sees the configured message.
  • Adjust configurations as desired and reload the server to see the changes.
Resource Information
Author:
----------
Total Downloads: 20
First Release: Dec 7, 2024
Last Update: Dec 7, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings