Expected behavior
Limits should not spam the console when applying permission-based limits.
These messages should be logged only once per player login or moved to debug mode.
Observed/Actual behavior
When a player has permission-based limits, the same messages are repeated many times in the console:
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
This happens repeatedly within the same second and creates unnecessary console spam.
Steps/models to reproduce
Give a player a permission-based Limits permission, for example a VILLAGER entity limit.
Join the server with that player.
Check the console.
The same limit-setting messages are printed multiple times.
BentoBox version
BentoBox v3.19.0
Plugin list
No response
Other
No response
Expected behavior
Limits should not spam the console when applying permission-based limits.
These messages should be logged only once per player login or moved to debug mode.
Observed/Actual behavior
When a player has permission-based limits, the same messages are repeated many times in the console:
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting login limit via perm for test_account...
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NORMAL to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in NETHER to 30
[09:37:44 INFO]: [BentoBox] [Limits] Setting entity limit VILLAGER in THE_END to 30
This happens repeatedly within the same second and creates unnecessary console spam.
Steps/models to reproduce
Give a player a permission-based Limits permission, for example a VILLAGER entity limit.
Join the server with that player.
Check the console.
The same limit-setting messages are printed multiple times.
BentoBox version
BentoBox v3.19.0
Plugin list
No response
Other
No response