can you please add lockable entities to your list..? IE Vending Machines
for example to stop keylocks from being placed on vending machines please?
Kind Regards
Prefab-specific settingsSolved
Can you deploy code locks on vending machines?
yes I can, im trying to block keylocks
Alright, in that case add the vending machine short prefab name to the config. You can find a list of all entity short prefab names here https://github.com/Paulsimik/Rust-Docs/blob/main/Entities.md
I did try that,
{
"Version": "2.0.0",
"Remove Locks On Startup": false,
"Allow Code Lock Deployment": true,
"Allow Key Lock Deployment": false,
"Unlockable Entities": [
"vendingmachine.deployed.prefab"
]
}
and it blocked all lockable entities from keylocks
That's because you have "Allow Key Lock Deployment": false,
but if I set it to true, then it would allow keylocks to be placed yeah?
Merged post
Im trying to block keylocks from vending machines only, just use code locks
Players use keylocks on vendhing machines and they they cant access them again, so Im trying to find a way to block placing keylocks on vending machines
If set to true, it'd allow them to be placed, but the entities in Unlockable Entities have the higher priority
yeah thats what I thought, but setting it to true still allowed keylocks to be placed on vending machines
Impossible, it checks first for entities in the list. I'm thinking you got the prefab name wrong
I will try another prefab name
Merged post
do you have discord?
You need to remove the .prefab from vendingmachine.deployed.prefab
Merged post
Done, test it and let me know