Download Limits — Minecraft Mods — MetaMods
Limits

Limits

Active

Downloads

0

Last update

10 months ago

Versions

1.21.3 — 1.21.4
Server
Game mechanics
Control
Utils

Limits

Build Status

Add-on for BentoBox that sets restrictions on the number of blocks and creatures on islands in game modes such as BSkyBlock and AcidIsland. This add-on functions in any game mode world.

Installation and Usage

  1. Place the Limits addon jar file in the addons folder of the BentoBox plugin
  2. Restart the server
  3. The add-on will automatically create a data folder with configuration file config.yml inside
  4. Configure config.yml according to your needs
  5. Server restart required when making changes

Management Commands

The system provides user and admin commands "limits". Administrators can check restrictions for specific island owners. Both commands open a graphical interface displaying current limits and usage indicators.

Configuration Settings

The config.yml file includes several main sections:

  • blocklimits - sets maximum quantities for each block type
  • worlds - establishes restrictions for individual worlds
  • entitylimits - currently under development

Block Restrictions

This section specifies the limit quantity for each game material. Important to use only materials related to blocks, as other types are not supported. Set limits apply to all game worlds.

Individual World Settings

Here you can set unique limits for specific worlds. Must precisely specify the world name (for example, AcidIsland_world) and list materials with corresponding restrictions.

Permission System

Island owners can have individual rights that take priority over basic or world settings. The permission format is as follows:

Format: GAME-MODE-NAME.island.limit.MATERIAL.LIMIT

Example: bskyblock.island.limit.hopper.10

Permissions activate when the player logs into the system.

Available usage rights (substitute game mode name, e.g., acidisland):

GAMEMODE_NAME.limits.player.limits:
  description: Player can use limits command
  default: true
GAMEMODE_NAME.limits.admin.limits:
  description: Player can use administrative limits command
  default: op

Non-Restricted Items

Some items currently cannot be restricted because there are many ways to remove them without tracking. If you are a developer and can propose a solution to this issue, pull requests are welcome!

  • Primed TNT
  • Evoker Fangs
  • Llama Spit
  • Dragon Fireball
  • Area Effect Cloud
  • Ender signal
  • Small fireball
  • Fireball
  • Thrown Experience Bottle
  • Shulker Bullet
  • Wither Skull
  • Tridents
  • Arrows
  • Spectral Arrows
  • Snowballs
  • Eggs
  • Leashes
  • Ender crystals
  • Ender pearls
  • Ender dragon
  • Item frames
  • Paintings