Commit Graph

11 Commits

Author SHA1 Message Date
evlad f726492eae add new placeholders and BlockGrowEvent 2022-07-05 19:35:00 +02:00
BONNe be3554bf8c Implement Limits "offset" command.
Offset command have:
- set <player> <material|entity> <number> - sets the specific limit offset for material or entity.
- add <player> <material|entity> <number> - adds the specific limit offset for material or entity.
- remove <player> <material|entity> <number> - removes the specific limit offset for material or entity.
- reset <player> <material|entity> - resets limit offset for material or entity.
- view <player> <material|entity> - views the specific limit offset for material or entity.

Relates to the #149
2022-03-28 19:04:15 +03:00
BONNe b459f8bdb5
Fixes wrong placeholder value #159
Placeholder value did not check default and world limits. It used just island limits that are assigned via permissions.

This commit should fix it.
2022-03-27 14:43:31 +03:00
tastybento 4cff598aee Fix bugs in map keys and groups. Fix code smells. 2021-12-25 09:10:53 -08:00
tastybento 51408751a6 Code clean up. Java updates. 2021-12-22 14:37:10 -08:00
tastybento 3f1465d6ef Fix NPEs 2021-12-22 10:11:59 -08:00
JasonLiu2002 f94a4ac0bb Registers all blocks as placeholders 2021-07-31 16:30:41 -07:00
JasonLiu2002 0a193ebd27 Simplified how to register placeholders, changed default getBlockCount to 0 instead of -1 2021-07-30 02:16:28 -07:00
JasonLiu2002 21986d3f2d Added chest/hopper placeholders, refactored getBlockCounts to be consistent, implemented getBlockCount 2021-07-29 01:38:45 -07:00
tastybento f525ae80a5 Recalculate limits every time Limits GUI is shown. 2021-03-07 09:20:28 -08:00
tastybento 6abd0e3588 Renamed package to world.bentobox for CI 2019-12-16 07:47:51 -08:00