Kits

The Kits module allows you to create predefined item sets for players to claim and use with cooldowns, permissions and money cost.


Commands

The table below shows default command settings. Please see the Commands Guide on how to toggle and customize SunLight's commands.

Standalone Commands [?]

Command Arguments Description Permission Default State
/editkit - Open Kits Editor. sunlight.kits.command.kits.editor ON
/kit kit Get a kit. sunlight.kits.command.kits.get ON
/givekit player kit -s Give kit to a player. sunlight.kits.command.kits.give ON
/kitlist player Open Kits GUI. sunlight.kits.command.kits.list
sunlight.kits.command.kits.list.others
ON
/viewkit kit player Preview a kit. sunlight.kits.command.kits.preview
sunlight.kits.command.kits.preview.others
ON
/resetkitcooldown kit player Reset kit cooldown for player. sunlight.kits.command.kits.resetcooldown OFF
/setkitcooldown kit time player Set kit cooldown for player. sunlight.kits.command.kits.setcooldown OFF

Root Command [?]

Command Arguments Permission Default State
/kits help editor get give list preview resetcooldown setcooldown sunlight.kits.command.kits.root ON

Permissions

Here's a list of all module permissions. Top-level wildcard * permissions grants access to all child permissions.

  • sunlight.kits.*
    • sunlight.kits.kit.* - Grants access to all kits.
      • sunlight.kits.kit.[kitId] - Grants access to specific kit.
    • sunlight.kits.command.*
      • sunlight.kits.command.kits.root
      • sunlight.kits.command.kits.editor
      • sunlight.kits.command.kits.preview
      • sunlight.kits.command.kits.preview.others
      • sunlight.kits.command.kits.get
      • sunlight.kits.command.kits.give
      • sunlight.kits.command.kits.list
      • sunlight.kits.command.kits.list.others
      • sunlight.kits.command.kits.resetcooldown
      • sunlight.kits.command.kits.setcooldown
    • sunlight.kits.bypass.*
      • sunlight.kits.bypass.cost.money
      • sunlight.kits.bypass.cooldown

Placeholders

When this module is enabled, the following placeholders will be registered in PlaceholderAPI plugin:

Placeholder Description
%sunlight_kits_is_on_cooldown_[kitId]% Returns localized Yes or No whether [kidId] is on cooldown.
%sunlight_kits_is_available_[kitId]% Returns localized Yes or No whether [kidId] is available for a player.
%sunlight_kits_cooldown_[kitId]% Returns formatted cooldown time for [kitId] kit.
%sunlight_kits_cooldown_raw_[kitId]% Returns unformatted cooldown timestamp for [kitId] kit.