Add codelock on your Mining Quarry/Pump Jack! You need to have codelock in your inventory, then run command /ql
. If Automaticly set code on placed codelock
is true
codelock will be locked with random code right after placement. You can change code afterwards if needed, or disable this in config file. If using Teams/Clans/Friends options set to true - all members will automaticly added to placed codelock whitelist.
Permissions
quarrylocks.use
-- Allows player to useql
command
Chat Commands
/ql
-- Lock the quarry in view while holding a codelock
Configuration
{
"Use permissions": true,
"Allows admins to use without permission": true,
"Automaticly set code on placed codelock": true,
"Use Teams": false,
"Use Clans": false,
"Use Friends": false,
"Command": [
"ql",
"quarrylock"
],
"Chat steamID icon": 0
}
Localization
{
"Added": "Codelock was added!",
"Already": "That Mining Quarry/Pump Jack already has codelock",
"NoLock": "You need a codelock to use this command, get one and try again!",
"NotAllowed": "You do not have permission to use this command",
"NotAQuarry": "This is not Mining Quarry/Pump Jack",
"NotLookingAtQuarry": "You are not looking at Mining Quarry/Pump Jack",
"Ownership": "Only owner of Mining Quarry/Pump Jack can add locks to it!",
"Prefix": "<color=#00FFFF>[Quarry Locks]</color>: "
}
Demonstration
Credits
- Orange, the original developer of this plugin
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.