Template:Zh ManagedKits Description Details: Difference between revisions
mNo edit summary |
m (→Description) |
||
Line 1: | Line 1: | ||
== Description == | |||
Revision as of 11:24, 6 May 2016
Description
Command | Permission | Description |
/kit |
|
Get all commands usage |
/kit list |
|
Get list of active kits, you can see titles in different colors depends on it's status
|
/kit list all |
|
Get list of all kits, you can see titles in different colors depends on it's status
|
/kit details KitName |
|
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 |
|
Enable the kit KitName, if the kit can't be enabled (due to configuration), it will be disabled |
/kit enable all |
|
Enable all available kits, if kit can't be enabled (due to configuration), it will be disabled |
/kit disable KitName |
|
Disable the kit KitName |
/kit disable all |
|
Disable all kits |
/kit reload |
|
Reload all kits from kit configuration file |
/kit get KitName |
|
Give to a player the kit KitName. If he/shw 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
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.