if (player.userID != miningQuarry.OwnerID)
{
return true;
}I think this is better, isn't it?
if (player.userID != miningQuarry.OwnerID)
{
return true;
}I think this is better, isn't it?
VisEntities
If you place a tool cupboard or storage container and then abandon it, any other player can come along and deploy a code lock on them. The same applies to mining quarries, it's the responsibility of the player to secure their quarryΒ
Hello, can you make it so that only the owner of the quarry can install the lock or make it so that this function can be configured in the configuration file?
dreamif (player.userID != miningQuarry.OwnerID) { return true; }I think this is better, isn't it?
"this part of the code prohibits a non-owner from putting a lock? How can I add this to the plugin so that only the owner can put a lock on the quarry?"
VisEntities
I'll test this and see what's causing it


I noticed that there was another storage facility in the same quarry!!! before installing your plugin this did not exist!!! It would be nice to fix it!
Fixed and request has been implemented
π Nice!