rosecat-dev / IndividualKeepInv

Server-side Fabric mod that makes keepInventory work on an individual basis.
MIT License
1 stars 3 forks source link

All players can enable ikeepinv #11

Open 4aekgg opened 5 months ago

4aekgg commented 5 months ago

Make it possible to change and enable the function only for admins

rosecat-dev commented 4 months ago

Hello, do you mean players being able to change their own inventory states, or players being able to change the states of others? Because the first one is intended (don't want players to need to bug an admin to change their inv state, or just be stuck with it if no admin is around), and the second one would be a gross error on my part.

4aekgg commented 4 months ago

I mean, so that only admins can set keepinventory, or create permission for luckperms

rosecat-dev commented 4 months ago

I'll see about working on this when 1.21.1 rolls around then, it shouldn't be very difficult.

HaXrDEV commented 3 months ago

I second this. I was a bit bummed out when i found out this cannot be limited to just admins, because all i need it for is the separate keepinv states for players to be used in scripts. Would be a total godsend for me if it was at least an option.

Right now i just override the state for all players each tick, which of course isn't ideal.