Template:Zh ManagedKits Description Details: Difference between revisions

From Documentation
Jump to navigation Jump to search
mNo edit summary
Line 186: Line 186:




=== Using signs ===
== Using signs ==
To create sing for kit you need:
To create sing for kit you need:



Revision as of 22:17, 11 May 2016

Description

Command Permission Description
/kit
  • Player
  • Server
Get all commands usage
/kit list
  • Player
  • 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
  • Player as op
  • Server
Get list of all kits, you can see titles in different colors depends on it's status
  • white - enabled kit
  • red - disabled kit
  • gold - enabled kit with price (not free)
/kit details KitName
  • Player
  • 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
  • Player as op
  • Server
Enable the kit KitName, if the kit can't be enabled (due to configuration), it will be disabled
/kit enable all
  • Player as op
  • Server
Enable all available kits, if kit can't be enabled (due to configuration), it will be disabled
/kit disable KitName
  • Player as op
  • Server
Disable the kit KitName
/kit disable all
  • Player as op
  • Server
Disable all kits
/kit reload
  • Player as op
  • Server
Reload all kits from kit configuration file
/kit get KitName
  • Player
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