Minepacks

Minepacks

2M Downloads

Permission node for custom backpack sizes

Rwies opened this issue ยท 8 comments

commented

Hello,

I'm using the Minepacks plugin on my Minecraft server and trying to set custom backpack sizes for different player groups using LuckPerms.

My config.yml has Maxsize: 9. When I set Maxsize: 2 in the config, the backpack becomes 18 slots (2 rows x 9 columns), which works as expected for all players.

However, I need to assign different backpack sizes to specific groups (e.g., 18 slots for the "yosuncuk" group) using LuckPerms permissions.

I have tried the following permission nodes without success:

  • minepacks.size.18
  • minepacks.rows.2
  • minepacks.backpack.18
  • minepacks.slots.18
  • minepacks.backpacks.18

Could you please clarify what is the exact and correct permission node format for assigning specific backpack sizes (e.g., for 18 slots, 27 slots, 36 slots, etc.) to players or groups?

Any guidance or a link to the relevant documentation for permissions would be greatly appreciated.

Thank you!

commented

backpack.size.<number of rows>
backpack.size.1 to backpack.size.6

the maxsize config option should be set to at least 6, it dictates how far up the plugin will check for size permissions.

commented

It seems I haven't fully explained my intention. I want to set custom backpack sizes specifically based on player tags/ranks (groups). For example:

  • Players with the "VIP" tag should have a 3-slot backpack.
  • Players with the "VIP+" tag should have a 5-slot backpack.

This is the core functionality I'm trying to achieve using your plugin's permissions.

commented

You can only do it in rows at the moment

so you can give VIP the backpack.size.3 permission and they will have 3 rows and VIP+ backpack.size.5 and they will have 5 rows

commented

How do I grant permission?

commented

/lp group VIP permission set backpack.size.5 true

commented

Image

commented

I am not sure what you are trying to do in that screenshot.
But if you are trying to open the backpack, you also need to add the backpack.use permission as outlined in the documentation.

commented

Image