Template:Zh ManagedKits Description Details

From Documentation
Jump to navigation Jump to search

Description

Command Permission Description
/kit
  • zhmanagedkits.kit.command
  • Server
Get all commands usage
/kit list
  • zhmanagedkits.kit.list.available
  • Server
Get list of active kits, you can see titles in different colors depends on it's status
  • white - enabled kit
  • purple - enabled kit, but limited (by time or by money)
  • gold - enabled kit with price (not free)
/kit list all
  • zhmanagedkits.kit.list.all
  • Server
Get list of all kits, you can see titles in different colors depends on it's status
  • gray - hidden kit
  • white - enabled kit
  • red - disabled kit
  • gold - enabled kit with price (not free)
/kit list disabled
  • zhmanagedkits.kit.list.disabled
  • Server
Get list of all disabled kits
/kit list hidden
  • zhmanagedkits.kit.list.hidden
  • Server
Get list of all hidden kits
/kit details KitName
  • zhmanagedkits.kit.details.available
  • zhmanagedkits.kit.details.all
  • Server
Get description of the kit KitName, you can see information about the kit, it's status and price (if Economy API is enabled)
/kit enable KitName
  • zhmanagedkits.kit.state.enable
  • Server
Enable the kit KitName, if the kit can't be enabled (due to configuration), it will be disabled
/kit enable all
  • zhmanagedkits.kit.state.enable
  • Server
Enable all available kits, if kit can't be enabled (due to configuration), it will be disabled
/kit disable KitName
  • zhmanagedkits.kit.state.disable
  • Server
Disable the kit KitName
/kit disable all
  • zhmanagedkits.kit.state.disable
  • Server
Disable all kits
/kit hide KitName
  • zhmanagedkits.kit.state.hide
  • Server
Hide the kit KitName
/kit hide all
  • zhmanagedkits.kit.state.hide
  • Server
Hide all available kits
/kit show KitName
  • zhmanagedkits.kit.state.show
  • Server
Set the kit KitName visible
/kit show all
  • zhmanagedkits.kit.state.show
  • Server
Set all available kits visible
/kit reload
  • zhmanagedkits.kit.config.reload
  • Server
Reload all kits from kit configuration file
/kit save
  • zhmanagedkits.kit.config.save
  • Сервер
Save current kits state into kits.yml config file
/kit get KitName
  • zhmanagedkits.kit.get
Give to a player the kit KitName. If he/she has permission to use (time, money...)

If Economy API is enabled, the price of the kit will be get

Description in examples

Plugin initialization, some valuable information is displayed


Server console commands

Call kit command


Call kit list command


Call kit list all command


Call kit details command to get information about a kit


Call kit disable command to disable a kit.

If you disable a kit, all players get message about that.


Call kit disable all command to disable all available kits


Call kit enable command to enable a kit.

If you enable a kit, all players get message about that.


Call kit enable all command to enable all available kits. If some kits can't be enabled, you'll see messages.


Call kit reload command to reload kits, all changes in kits config file is applied.


You can't call kit get command to get kit on a server. You can see error message.

Player commands

When player connected to the world first time, he/she will get default kit (if that enabled)


Call /kit list command to see what kits are available


Call /kit get Gold command to get kit with name Gold


Call /kit list command to see what kits are available. As you can see now Gold kit is enabled but unavailable.


Call /kit details Gold to see details of the kit.


Call /kit get Diamond command to get kit with name Diamond


Now try again to call /kit get Diamond command to get kit with name Diamond again. You can see error message.


Now change price for Brilliant kit from 1000 to 10000. On that moment player haven't this amount of money.

Let's try to see available kits. You can see, that Brilliant kit unavailable.

Call /kit list command to see what kits are available.


Call /kit details Brilliant to see details of the kit. As you can see it is locked by money


Now try to call /kit get Brilliant command to get kit with name Brilliant which is unavailable due to insufficient amount of money. You can see error message.


Using signs

To create sing for kit you need:

  • Create sign
  • On the first line you have to write [zhManagedKits]
  • On the second line you have to write Your_KitName_To_Use