RedProtect Anti-Grief

RedProtect Anti-Grief

73.3k Downloads

[BUG] Chest_Minecart problem

Blueeyestar opened this issue ยท 3 comments

commented

RP-Version: 297

Although I have banned in the config that you can access in Chest_minecart ... users can still grab in the boxes. The normal boxes are secured.

https://pastebin.com/YGXkYbPU

commented

Chest Minecart its an entity, add this on entity list, not block

commented

I tried it in different variants. In the yml. Format I've got it still. but in the new conf. Format because I do not know which format I should enter.
can you give an example?

interact-entities {
# Only this entities will not be allowed to interact.
blacklist=[
"TNT_MINECART"
]
# Only this entities will be allowed to interact, all others no.
whitelist=[
HORSE,
MINECART
]
}

Here I would be synonymous for a Gui what you can and what not

commented
        if-interact-false {
            # Allow player interactions with monsters?
            entity-monsters=true
            # Allow player interactions with passives?
            entity-passives=true
            interact-blocks {
                # This items will not be allowed to interact, all other items will be.
                blacklist=[]
                # Only this items will allowed to interact, all other item will not be allowed.
                # You can add this blocks to allow basic exploration (accept regex):
                # "minecraft:grass", "minecraft:tallgrass", "minecraft:red_flower", "minecraft:chest"
                whitelist=[]
            }
            interact-entities {
                # Only this entities will not be allowed to interact.
                blacklist=[
                    MINECART,
                    "MINECART_CHEST"
                ]
                # Only this entities will be allowed to interact, all others no.
                whitelist=[
                    VILLAGER
                ]
            }
        }
        # Allow player interactions, with all entities or blocks?
        interact=false

It works with this config!