Automatic kits by permission

Supported Games
depends on
works with

Checks if the player has the right permission and if so gives them the associated kit on respawn.

Note: If using Event Manager, it will NOT give the Custom Auto Kit to event participants.

If the player selects the kit, they receive the selected kit. If the player doesn't select kit, they will receive the first kit it finds.

Chat Commands

  • /autokit - Open the UI

Configuration

{
  "Empty default items before give kits": true,
  "Auto Kits": [
    {
      "permission": "customautokits.vip1",
      "kits": [
        {
          "priority": 0,
          "cooldown": 0.0,
          "kitName": "KitName1",
          "cooldownKit": "Cooldown Kit"////If the player is on cooldown, the kit will be used
        }
      ]
    },
    {
      "permission": "customautokits.vip2",
      "kits": [
        {
          "priority": 1,
          "cooldown": 0.0,
          "kitName": "KitName2",
          "cooldownKit": "Cooldown Kit"
        },
        {
          "priority": 2,
          "cooldown": 0.0,
          "kitName": "KitName21",
          "cooldownKit": "Cooldown Kit"
        }
      ]
    }
  ],
  "Chat Settings": {
    "Chat Command": "autokit",
    "Chat Prefix": "[CustomAutoKits]: ",
    "Chat Prefix Color": "#00FFFF",
    "Chat SteamID Icon": 0
  }
}

Localization

{
  "NoAvailableKits": "You don't have any available kits",
  "Title": "Please choose your respawn kit",
  "Selected": "<color=#8ee700>Selected</color>",
  "Unselected": "<color=#ce422b>X</color>"
}

MIT License


Copyright (c) 2019 Arainrr


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.