i have a question when it comes to yanfly's item core plugin, is there any way to make the maximum amount of items someone can have in their inventory stricter?
as in, making enemies stop dropping items once the player reaches the limit (or making it so that the player has to discard items to take the items dropped from the enemies)
Yep_itemcore handles items, and it can indeed set a max, but it doesnt handle the inventory. To be able to drop something before you can loot, that is an inventory thing. If you want that even after battle, it becomes a battle thing.
So, I think you are looking in the wrong direction. Im not at home so I cant check, but I think you want to look at YEP_VictoryAftermath.
However.... with the items plugin you do use, the items should stop dropping when you inventory is full
while items get dropped, it doesn't added to the item count when you have
a max set.
however, with the enemy more drops, you can make a condition for the drops.
if the item is than max, it wont drop, but I dont know how to link the the 2 of
the item count of all items which an item tag and max number if its changed.
but with enemy extra drop plugin, you do it with the custom conditional drop code.
I actually had to make an extra check for chests and lootable items as "add item" command (the one used in chests) bypasses the item core max stack (you will be marked as "over the stack cap" and wont be able to buy from shops though).
Im not sure about battle rewards as i use an entirely different battle system but as said above that would be a victory_aftermath or alike plugins related check.
if you use YEP_ExtraEnemyDrops, ad make the conditions, it wouldn't
show the drop as you can make the droprate = 0%
otherwise 100% if you dont have the max stack yet, but if it drops more
than 1, it should return to the amount you can carry still.
work around the drops require modification to that plugin to check the item
max count and what you can carry if not max yet, but it shouldn't add it,
even if your are max out of it. as it returned to max out so it would be discarded.