Locks looting a hackable crate to the person who started the hack, if enabled with configuration

Supported Games

Hackable Lock will lock a hackable locked crate to the person who starts the hacking process for a configured amount of time. Also supports notifications into chat and Discord channel.

Configuration

{
  "Global settings": {
    "Use permissions": true,
    "Allow admins to use without permission": true,
    "Enabled?": true,
    "Lock time (seconds)": 1200.0
  },
  "Chat settings": {
    "Chat steamID icon": 0,
    "Notifications Enabled?": true
  },
  "Discord settings": {
    "WebhookURL": "",
    "Enabled?": false
  }
}

Localization

{
  "Prefix": "<color=#00FFFF>[Hackable Crate Lock]</color>: ",
  "Hacking": "<color=#FFA500>{0}</color> started locked crate hack at <color=#FFA500>{1}</color>. This crate will be locked for others for <color=#FFA500>{2}</color> more seconds",
  "Locked": "This crate was hacked by <color=#FFA500>{0}</color> and protected for <color=#FFA500>{1}</color> more seconds",
  "Discord": ":lock: `{0}` started locked crate hack at `{1}`. This crate will be locked for others for `{2}` more seconds"
}

Note: If adjusting a language value with variables make sure to keep the {0} and {1} in the same order.

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.