Commit Graph

29 Commits

Author SHA1 Message Date
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
782150f0f4
Fixes offset duplication in Limits Panel 2022-03-27 20:12:15 +03:00
tastybento
78e02b6196 Ignore groups if they are unknown. 2022-01-02 11:55:10 -08:00
tastybento
d8c8102010 Added locale text
https://github.com/BentoBoxWorld/Limits/issues/123
2021-12-26 16:17:14 -08:00
tastybento
343d7bbbde Improved recount code. Should be accurate.
This uses the latest approach done by Level addon. This does not yet
include entity recounting!

https://github.com/BentoBoxWorld/Limits/issues/123
2021-12-26 15:52:56 -08: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
tastybento
390814bedb WIP fix some bugs - still more to fix. 2021-09-06 19:32:29 -07:00
tastybento
76c582ba1d Added API to enable offset for limits. 2021-09-06 17:11:02 -07:00
JasonLiu2002
21986d3f2d Added chest/hopper placeholders, refactored getBlockCounts to be consistent, implemented getBlockCount 2021-07-29 01:38:45 -07:00
tastybento
0ae58db8a9 Use correct perm check perm prefix.
https://github.com/BentoBoxWorld/Limits/issues/126
2021-03-27 08:39:12 -07:00
tastybento
f525ae80a5 Recalculate limits every time Limits GUI is shown. 2021-03-07 09:20:28 -08:00
YellowZaki
0f7f61c179 Count PISTON_HEAD and MOVING_PISTON 2020-10-28 14:25:36 +01:00
tastybento
4f92611df0 Check for specific types and not classes
https://github.com/BentoBoxWorld/Limits/issues/105
2020-09-30 14:46:07 -07:00
wea_ondara
6c097468ff fix entity group limits not showing properly in limit panel 2020-09-19 18:57:23 +02:00
tastybento
b8682960cf Improves the Limit Panel with sorting and pages. 2020-09-07 15:05:51 -07:00
tastybento
598ccf383c Merge branch 'develop' of https://github.com/BentoBoxWorld/Limits.git into develop 2020-06-26 16:19:52 -07:00
tastybento
503b4827a9 Version for 1.16.1 Minecraft 2020-06-26 16:19:42 -07:00
Aurora
dafc710c48
move entities from Name to description to add a newline after 5 entries 2020-06-21 19:50:46 +02:00
Aurora
d2b1a0527d
merge with upstream 2020-06-21 18:23:08 +02:00
tastybento
3d0e1b0922 Recount will count Nether and End blocks.
Fixes https://github.com/BentoBoxWorld/Limits/issues/80
2020-05-05 16:56:22 -07:00
tastybento
b58859ae3f Fixes bug where permission limits were given to everyone
Fixes https://github.com/BentoBoxWorld/Limits/issues/79
2020-04-30 16:30:34 -07:00
wea_ondara
625bbe3a9f show limits in limit command 2020-04-12 14:55:26 +02:00
tastybento
1bc354e49b Adds null check for nether and end worlds
https://github.com/BentoBoxWorld/Limits/issues/64
2020-01-30 09:25:42 -08:00
tastybento
8fa551ff7c Bug fixes
Fixes https://github.com/BentoBoxWorld/Limits/issues/62
2020-01-11 09:38:45 -08:00
tastybento
789b73d3b3 Fixed bugs with adding entity perm limits.
https://github.com/BentoBoxWorld/Limits/issues/47
2020-01-10 16:08:21 -08:00
tastybento
f907784bd7 Entity limits are now counted to include nether and end.
https://github.com/BentoBoxWorld/Limits/issues/43
2020-01-08 15:12:24 -08:00
tastybento
6abd0e3588 Renamed package to world.bentobox for CI 2019-12-16 07:47:51 -08:00