Commit Graph

181 Commits

Author SHA1 Message Date
JasonLiu2002
21986d3f2d Added chest/hopper placeholders, refactored getBlockCounts to be consistent, implemented getBlockCount 2021-07-29 01:38:45 -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
62caf1aa47 Require 1.17 BentoBox 2021-06-20 11:12:58 -07:00
tastybento
6a2768e572 Adds setting option for async golum checking
https://github.com/BentoBoxWorld/Limits/issues/127
2021-05-03 16:22:42 -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
tastybento
dc4efb2a0c Entity limiting was happening in BentoBox worlds not specified in config 2021-02-21 19:02:50 -08:00
tastybento
5e9a4326ba Only save if data has changed on shutdown. 2021-01-22 11:56:42 -08:00
tastybento
8ce7c3e631 Updated to BentoBox 1.15.4 API 2020-12-27 11:11:54 -08:00
tastybento
514f2158cc Remove Wither from async checking
The fake wither explosion was not convincing enough...

If we ever get an API to set the summoned wither state then this could
be put back in.
2020-12-22 09:40:09 -08:00
Baterka
90b5a65c62 Fixed https://github.com/BentoBoxWorld/Limits/issues/114 2020-11-24 15:43:37 +01:00
tastybento
81e4dbefc5 Remove duplication of code for event 2020-11-14 12:07:42 -08:00
tastybento
19565e90ff Added null checks 2020-11-14 12:02:48 -08:00
tastybento
c0c9e16b6c Added new event that fires for each perm
https://github.com/BentoBoxWorld/Limits/issues/111
2020-11-14 11:03:13 -08:00
YellowZaki
0f7f61c179 Count PISTON_HEAD and MOVING_PISTON 2020-10-28 14:25:36 +01:00
YellowZaki
88879f5638 Count PISTON_HEAD and MOVING_PISTON 2020-10-28 14:25:23 +01:00
Adi
bc6c7610eb Translate ro.yml via GitLocalize 2020-10-02 11:18:53 +00: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
tastybento
d0e7ec0d68 Adds tests for EntityLimitListener 2020-09-27 16:54:00 -07:00
tastybento
062574f0c5
Merge pull request #104 from weaondara/fixentitygroups
fix entity group limits not showing properly in limit panel
2020-09-20 09:11:25 -07:00
tastybento
3b367407ae Fixes uncounting of blocks used by wither, golem or snowman making
https://github.com/BentoBoxWorld/Limits/issues/103
2020-09-20 09:07:35 -07:00
wea_ondara
6c097468ff fix entity group limits not showing properly in limit panel 2020-09-19 18:57:23 +02:00
tastybento
0c107f2bab Temporarily not do async checked for entity spawns
https://github.com/BentoBoxWorld/Limits/issues/98
https://github.com/BentoBoxWorld/Limits/issues/100
2020-09-17 18:54:02 -07:00
tastybento
33d16d16e2 Add special handling for armor stands for jetsminions
https://github.com/BentoBoxWorld/Limits/issues/99
2020-09-12 07:42:46 -07:00
tastybento
1870a309f7 Handles golem, wither and snowman orientations
https://github.com/BentoBoxWorld/Limits/issues/97
2020-09-11 18:43:36 -07:00
tastybento
07101c72dc Possible fix for dupe exploits
https://github.com/BentoBoxWorld/Limits/issues/97
2020-09-10 19:19:49 -07:00
tastybento
b8682960cf Improves the Limit Panel with sorting and pages. 2020-09-07 15:05:51 -07:00
tastybento
d3a5c23cf0 Reworked entity limits to avoid glitching.
https://github.com/BentoBoxWorld/Limits/issues/95
2020-09-06 18:30:05 -07:00
patrykstepien
336ede6d53
Update config.yml
Fixed typo
2020-08-25 20:33:39 +02:00
tastybento
989143d218 Removed code smells. 2020-07-26 14:35:05 -07:00
tastybento
088f853f0a Removed debug 2020-07-26 14:24:03 -07:00
tastybento
64b25b0ca6 Fixed bug where world entities were counted. 2020-07-25 08:15:55 -07:00
tastybento
2da76cddd8 1.14.0 BentoBox API 2020-07-07 18:42:24 -07:00
tastybento
b9ea6ecddd Added type chevrons 2020-06-26 16:22:18 -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
4ca3455d5b Update to BentoBox 1.14 API
Shorter table names for SQL DBs. Async db saving.
2020-06-10 20:58:07 -07:00
tastybento
ad186958cc Adds event that fires when player joins and before perm check
Cancel the event to prevent perm settings of limits.
2020-06-02 17:54:54 -07:00
Over_Brave
e11d6825f3 Translate tr.yml via GitLocalize 2020-05-31 17:55:53 +00: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
Krystian
432214485f
Add Polish translation 2020-04-20 01:28:08 +02:00
wea_ondara
54cb8b3a10 fix limits for simple entity limit 2020-04-12 15:00:09 +02:00
wea_ondara
cc6781bf44 fix group limits when limit is -1 2020-04-12 15:00:03 +02:00
wea_ondara
346f2b8ed8 integrate group limits into limit messages in entity listener 2020-04-12 14:59:55 +02:00
wea_ondara
f25c027a2b adjust test cases to previous changes 2020-04-12 14:55:35 +02:00
wea_ondara
f77c48218a added entity group limits via permissions to islands 2020-04-12 14:55:30 +02:00
wea_ondara
625bbe3a9f show limits in limit command 2020-04-12 14:55:26 +02:00
wea_ondara
e0c208e049 added entity group limit settings 2020-04-12 14:55:21 +02:00
Florian CUNY
6abf92584b Version up 1.12.0 2020-04-10 17:30:08 +02:00
tastybento
086d251d3f Changed to use notify instead of sendmessage to avoid spam
https://github.com/BentoBoxWorld/Limits/issues/75
2020-03-28 11:15:29 -07:00
tastybento
4cb061d594 Avoids counting entities if the type spawned is not limited.
https://github.com/BentoBoxWorld/Limits/issues/74
2020-03-25 21:00:37 -07:00
tastybento
55bb288dad Merge branch 'develop' of https://github.com/BentoBoxWorld/Limits.git into develop 2020-03-18 08:36:50 -07:00
tastybento
39f527777d Ignore negative permissions.
Fixes https://github.com/BentoBoxWorld/Limits/issues/73
2020-03-18 08:36:40 -07:00
tastybento
40a3b39748
Czech translation. Credit @Polda18 2020-01-30 10:25:14 -08: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
ea76a6deeb Clears permission limits when owner joins
Fixes https://github.com/BentoBoxWorld/Limits/issues/63
2020-01-11 09:49:15 -08:00
tastybento
8fa551ff7c Bug fixes
Fixes https://github.com/BentoBoxWorld/Limits/issues/62
2020-01-11 09:38:45 -08:00
tastybento
2b6377fee7
Merge pull request #59 from DuckSoft/patch-1
Creating zh-CN Localization
2020-01-10 16:27:16 -08:00
tastybento
36957205a4
Merge pull request #61 from BentoBoxWorld/gitlocalize-10320
Add missing translation strings.
2020-01-10 16:26: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
BONNe
6538be16bf Translate lv.yml via GitLocalize 2020-01-10 14:31:31 +00:00
tastybento
fb6f6757d5 Added permission limits for entities
https://github.com/BentoBoxWorld/Limits/issues/47
2020-01-09 14:42:37 -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
DuckSoft
0bc42f224f
Creating zh-CN Localization 2020-01-02 03:42:03 +08:00
tastybento
6abd0e3588 Renamed package to world.bentobox for CI 2019-12-16 07:47:51 -08:00
Florian CUNY
ea8b4e66ae
Update de.yml 2019-11-30 17:23:38 +01:00
tastybento
12fdb63526 Translate de.yml via GitLocalize 2019-11-27 23:39:39 +00:00
FunnysBanana
a18b29e7e6 Translate de.yml via GitLocalize 2019-11-27 23:39:36 +00:00
tastybento
b3b81db029 Merge branch 'develop' of https://github.com/BentoBoxWorld/Limits.git into develop 2019-11-25 18:54:30 -08:00
tastybento
814272905a Adds support for crop trample and turtle eggs
https://github.com/BentoBoxWorld/Limits/issues/42
2019-11-25 18:07:40 -08:00
András Marczinkó
0e7d41d0eb
Update hu.yml 2019-11-24 11:53:08 +01:00
András Marczinkó
a7e64c3358
Translated into Hungarian 2019-11-24 11:48:50 +01:00
tastybento
af59047f57 Uses multi-threaded island scanning.
Optimized for Paper. Requires BentoBox 1.9.0 or later.

Makes admin calc command alias recount.

https://github.com/BentoBoxWorld/Limits/issues/52
2019-11-16 16:23:37 -08:00
tastybento
d97fa9b9ae Ignore event true.
https://github.com/BentoBoxWorld/Limits/issues/51
2019-11-09 14:46:30 -08:00
tastybento
6b54fc5b8e Fix for nulls in map.
https://github.com/BentoBoxWorld/Limits/issues/50
2019-11-09 14:44:58 -08:00
tastybento
fdfc080307 Removed code smells. 2019-11-08 12:35:47 -08:00
tastybento
8e56bc8c78 Make constants use immutable maps. 2019-11-08 11:27:36 -08:00
Gabriele C
3f58de3d7e Fix 1.13.2 support 2019-10-05 22:05:39 +02:00
BONNe
ad225b0dfb
Comment out debug code 2019-09-13 12:26:02 +03:00
BONNe
d1f0a34410 Translate lv.yml via GitLocalize 2019-09-11 11:35:46 +03:00
tastybento
debcc4ccfd Merge branch 'develop' of https://github.com/BentoBoxWorld/Limits.git into develop 2019-09-10 19:01:47 -07:00
tastybento
06da189e26 Added recount command for players. Fixed counting for crops.
https://github.com/BentoBoxWorld/Limits/issues/44
2019-09-10 19:01:39 -07:00
tastybento
49c210db3f
Clean up 2019-09-03 07:48:23 -07:00
machine-translation
0a7990e6fd Translate ja.yml via GitLocalize 2019-09-03 07:47:11 -07:00
tastybento
8bf66407f6 Translate ja.yml via GitLocalize 2019-09-03 07:47:09 -07:00
tastybento
6078059e20 Added Turkish locale - credit OverBrave 2019-09-03 07:42:16 -07:00
tastybento
4603e9e1a9 Removed dependency on EpicSpawners
https://github.com/BentoBoxWorld/Limits/issues/25
2019-08-16 19:55:58 -07:00
tastybento
b0888d1e9d Move to EpicSpawners 6.0.9 API 2019-08-15 07:48:18 -07:00
tastybento
62ce0cebae Merge branch 'develop' of https://github.com/BentoBoxWorld/Limits.git into develop 2019-08-11 12:41:01 -07:00
tastybento
6ab40bfda6 Added build # to addon.yml 2019-08-11 12:40:54 -07:00
tastybento
078376f184 Fix for HangingPlaceEvent error
https://github.com/BentoBoxWorld/Limits/issues/36
2019-08-09 14:09:35 -07:00
tastybento
2beeb118f9 Fixes locale text error
https://github.com/BentoBoxWorld/Limits/issues/33
2019-08-07 21:20:08 -07:00
tastybento
34c5e79d49 Removed old version of EpicSpawners 2019-08-02 10:06:25 -07:00
tastybento
7d920a4344 Compiled with updated EpicSpawners 6.0.7
Use mvn install:install-file -Dfile=EpicSpawners-API.jar
-DgroupId=com.songoda -DartifactId=EpicSpawners-API -Dversion=6.0.7
-Dpackaging=jar -DgeneratePom=true

and then copy into local repo.
2019-08-01 21:35:29 -07:00
tastybento
70e2030958 Fixes item frame and painting icons in limits gui
https://github.com/BentoBoxWorld/Limits/issues/32
2019-07-06 23:30:56 -07:00
tastybento
a886aaac1f Added test to JoinListenerTest to fix permission setting 2019-07-04 18:07:56 -07:00
tastybento
789df98d8c Fixes issue with entities not in config being limited.
https://github.com/BentoBoxWorld/Limits/issues/30
2019-06-27 08:34:01 -07:00