Assists in preventing players from breaking the team limit by allowing only a certain number of authorizations in code locks and doors.
Permissions
doorlimiter.exempt-- Allows bypassing the set max authorization limitdoorlimiter.remove-- Allows using the command
Chat Command
/doorlimit remove <PlayerName / SteamID>-- Allows door owner to remove a specific player from the auth list.
Configuration
{
"Config": {
"Max Authorize Limit": 1,
"Silent Mode": false
}
}
Localization
{
"MaxAuthorised": "You can't authorize. Max allowed authorization limit has been reached",
"AuthSuccessful": "You have been successfully authorized to this door",
"NoPerms": "You are not allowed to use this command",
"InvalidSyntaxRemove": "Invalid syntax! Type /doorlimit remove <PlayerName - SteamID>",
"NoPlayerFound": "No players found",
"NoEntityFound": "No entity was found. Make sure you are looking at a door",
"YouAreNotTheOwner": "You are not the owner of this door",
"PlayerNotAuthedToThisDoor": "The target player is not authorised to this door",
"PlayerRemoved": "The player was succesfully removed from the doors authorization list",
"Help": "Type /doorlimit remove <PlayerName - SteamID> whilst looking at a door to remove them from the authorization list"
}
Note
Enabling the silent mode will not notify the players when they attempt to authorize in a code lock while being limited.
Credit
redBDGR, the original author of this plugin
MIT License
Copyright (c) 2020 redBDGR
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.

