Commit Graph

229 Commits

Author SHA1 Message Date
BONNe
cf5be3ef30
Merge pull request #163 from BentoBoxWorld/offset-command
Implement Limits "offset" command.
2022-03-28 19:06:19 +03: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
782150f0f4
Fixes offset duplication in Limits Panel 2022-03-27 20:12:15 +03:00
BONNe
388f973aee
Merge pull request #161 from BentoBoxWorld/placeholder-fix
Fixes wrong placeholder value #159
2022-03-27 14:45:56 +03:00
BONNe
5fd461ddea
Add limits offsets to the GUI and Placeholder
Offsets were not added to the GUI and Placeholder value. Part of #159
2022-03-27 14:45:43 +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
BONNe
baa73b76a5
Merge pull request #160 from YellowZaki/develop
Turned into a Pladdon
2022-03-25 21:18:06 +02:00
YellowZaki
d7bff1df7d Turned into a Pladdon 2022-03-25 17:29:27 +01:00
tastybento
1a7d2b8f3e
Merge pull request #156 from YellowZaki/develop
Fixes Villager limit
2022-01-21 18:55:21 -08:00
tastybento
e8dffc76f5 Avoid NPE with ibc
https://github.com/BentoBoxWorld/Limits/issues/157
2022-01-21 18:53:45 -08:00
Alberto
fe0e935e14
Fixes Villager limit 2022-01-09 20:50:34 +01:00
tastybento
360ba0b2de Rework how offsets are used.
https://github.com/BentoBoxWorld/Upgrades/issues/40
https://github.com/BentoBoxWorld/Limits/issues/117
2022-01-02 16:31:02 -08:00
tastybento
d038269f8c Add getIsland method 2022-01-02 12:45:16 -08:00
tastybento
78e02b6196 Ignore groups if they are unknown. 2022-01-02 11:55:10 -08:00
tastybento
7582aa93d7 Merge branch 'develop' of https://github.com/BentoBoxWorld/Limits.git into develop 2022-01-02 11:16:38 -08:00
tastybento
886c6c5fa5 Remove debug 2022-01-02 11:16:27 -08:00
tastybento
8d56a4078a Version 1.19.1 2022-01-02 11:16:18 -08:00
tastybento
6e9d83c348
Merge pull request #154 from katorly/patch-1 2021-12-31 08:11:24 -08:00
Katorly
f635c07ead
Update zh-CN translation for Limits 2021-12-31 19:15:02 +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
0248c398f6 Enable Op or mod override for breeding. 2021-12-22 13:43:45 -08:00
tastybento
38aa99b2c7 Remove debug 2021-12-22 12:18:16 -08:00
tastybento
d6f12c29dc Prevent breeding using breeding event 2021-12-22 12:16:02 -08:00
tastybento
3f1465d6ef Fix NPEs 2021-12-22 10:11:59 -08:00
tastybento
14c38869df WIP try to use EntityBreedEvent to track breeding 2021-12-22 09:19:00 -08:00
tastybento
328a1a13f7 Added option to ignore the island center block from limits.
Should help with AOneBlock usage.
2021-10-17 14:48:35 -07:00
tastybento
945aae0d8b Update to BentoBox 1.18 API 2021-10-01 17:58:31 -07:00
tastybento
b71700895e prevent NPE for blockCounts. 2021-09-11 07:45:09 -07:00
tastybento
390814bedb WIP fix some bugs - still more to fix. 2021-09-06 19:32:29 -07:00
tastybento
05a8a0ebbe Fix tests 2021-09-06 17:14:06 -07:00
tastybento
76c582ba1d Added API to enable offset for limits. 2021-09-06 17:11:02 -07:00
tastybento
ad1f060d76 Version 1.18.0 2021-09-06 17:06:18 -07:00
tastybento
be2c6480b1 Merge branch 'develop' of https://github.com/BentoBoxWorld/Limits.git into develop 2021-08-20 17:01:43 -07:00
tastybento
db233b5ec5
Merge pull request #138 from HSGamer/patch-1
Add Vietnamese
2021-08-10 22:30:16 -07:00
Huynh Tien
f7c44c7c21
Add Vietnamese 2021-08-10 20:05:21 +07:00
tastybento
ebb3acd599
Merge pull request #136 from JasonLiu2002/block-placeholders
Block placeholders
2021-08-01 17:21:36 -07: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
f7d379f42d Version 1.17.2 2021-07-24 14:16:23 -07:00
tastybento
4c5fdd6390 Remove async around entity call
https://github.com/BentoBoxWorld/Limits/issues/135
2021-07-24 14:13:44 -07:00
tastybento
b16332da30 Version 1.17.1 2021-07-10 18:48:35 -07:00
tastybento
d0d950818d Use BentoBox 1.17.0 2021-06-27 17:10:46 -07:00
tastybento
62caf1aa47 Require 1.17 BentoBox 2021-06-20 11:12:58 -07:00
tastybento
7a04c8af41 Fix maven surefire 2021-06-20 10:59:30 -07:00
tastybento
c7b310ffd8 Version 1.17.0 2021-06-20 10:54:12 -07:00
tastybento
0992a4fc52 Java 16 and Sonar Cloud 2021-06-20 10:52:48 -07:00