[Question] How do I add to `playerConfigurablePlayerConfigOptions` for `anything$` prefixed options?
KiwiFlavoredApollo opened this issue · 7 comments
Hello, I'd like to add "anything$Cobblemons{cobblemon:pokemon}"
to entityProtectionOptionalExceptionGroups
like the following:
entityProtectionOptionalExceptionGroups = [
"Traders{minecraft:villager, minecraft:wandering_trader}",
"hand$Item_Frames{minecraft:item_frame}",
"anything$Cobblemons{cobblemon:pokemon}"
]
Additionally I'd like to add to playerConfigurablePlayerConfigOptions
but I am not sure how I can do it.
Looking at "hand$Item_Frames{minecraft:item_frame}"
and the corresponding "claims.protection.exceptionGroups.entity.handInteract.Item_Frames"
, should I use anythingInteract
identifier which result in like this?
playerConfigurablePlayerConfigOptions = [
"claims.protection.exceptionGroups.entity.interact.Traders",
"claims.protection.exceptionGroups.entity.handInteract.Item_Frames",
"claims.protection.exceptionGroups.entity.anythingInteract.Cobblemons"
]
It would be "anyItemInteract". You can see the exact paths of the new player config options being added when adding new exception groups by checking the default player config file after you start the server with the new configuration. This is explained in the comment for entityProtectionOptionalExceptionGroups
.
I think you're misunderstanding what playerConfigurablePlayerConfigOptions
does if "anythingInteract" supposedly worked.
OPAC version I am currently using is 0.22.0. I still don't understand why but I get configurable options like following:
1. Without prefix
entityProtectionOptionalExceptionGroups = [
"Cobblemons{cobblemon:pokemon}"
]
playerConfigurablePlayerConfigOptions = [
"claims.protection.exceptionGroups.entity.interact.Cobblemons"
]
2. anything
prefix and anyItemInteract
entityProtectionOptionalExceptionGroups = [
"anything$Cobblemons{cobblemon:pokemon}"
]
playerConfigurablePlayerConfigOptions = [
"claims.protection.exceptionGroups.entity.anyItemInteract.Cobblemons"
]
3. anything
prefix and anythingInteract
entityProtectionOptionalExceptionGroups = [
"anything$Cobblemons{cobblemon:pokemon}"
]
playerConfigurablePlayerConfigOptions = [
"claims.protection.exceptionGroups.entity.anythingInteract.Cobblemons"
]
EDIT: Maybe configuration option appears like above when using anythingInteract
but the entity itself isn't put into exception.
playerConfigurablePlayerConfigOptions
does not affect the server claims config. This means I was right that you're misunderstanding what it does.
Now I understand what you mean. Sorry if I bothered you. Thank you for the help!