Backpack backupSolved

hi,

some players are allowed to have 3 tabs and the ability to save the first tab on wipe.
Despite this, they have 3 tabs saved after the wipe.
the two permissions I use:
backpacks.size.144
backpacks.keeponwipe

Where is my error in the config?

Thank you for your help

"Clear on wipe": {
"Enabled": true,
"Enable legacy keeponwipe permission": true,
"Default ruleset": {
"Max slots to keep": 48,
"Allowed item categories": [],
"Disallowed item categories": [],
"Allowed item short names": [],
"Disallowed item short names": [],
"Allowed skin IDs": [],
"Disallowed skin IDs": []
},
"Rulesets by permission": [
{
"Name": "all",
"Max slots to keep": 48,
"Allowed item categories": [
"All"
],
"Disallowed item categories": [],
"Allowed item short names": [],
"Disallowed item short names": [],
"Allowed skin IDs": [],
"Disallowed skin IDs": []
}
]
}​

Revoke the "backpacks.keeponwipe" permission. That is the legacy permission (enabled per your config) which exists only for backwards compatibility since users may have been using that permission before the in-depth keeponwipe configurstion was introduced. That permission keeps all items and is not configurable. Once you revoke that permission, the default ruleset will apply to all players, which you have configured to keep 48 items.

If you want something different, such as the default to be 0 items, and players with permission to have 48 items, then in addition to revoking the legacy permission, change the default ruleset to 0 items, rename the "all" ruleset to something more accurate like "48" or "1page", then reload the plugin and grant the corresponding permission like "backpacks.keeponwipe.48".

Thank you WhiteThunder, I think I understood :)
Locked automatically