1.x/Wizard: Difference between revisions

From Citizens Wiki

< 1.x

m (Reverted edits by Aufdemrand (talk) to last revision by AgentKid)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Wizards are the most versatile NPC type. They perform 5 different tasks: storm-toggling, teleportation, command-execution, mob-spawning, and time-changing. You can set a wizard up to get drained of mana or set it to unlimited mana. You interact with a wizard by left and right-clicking it with the interact-item (default is a feather).
{{NoSupport}}
'''Wizards''' are the most versatile NPC type. They perform 5 different tasks: storm-toggling, teleportation, command-execution, mob-spawning, and time-changing. You can set a wizard up to get drained of mana or set it to unlimited mana. You interact with a wizard by left and right-clicking it with the interact-item (default is a feather). If a wizard's mana isn't at the maximum level, it will regenerate every 6000 server ticks (can be changed in ''citizens.yml'').


== Configuration Nodes ==
== Configuration Nodes ==
These nodes can be found in ''citizens.yml''.
These nodes can be found in ''citizens.yml''. They deal with the configuration of wizards.


'''Setting''' - path of the setting
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
<br>'''Default Value''' - default value of the setting
|-
<br>'''Description''' - short description of the setting
! style="width: 100%; background-color:#ADD8E6" colspan="3" | '''Configuration Nodes'''
 
|-
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Setting
! style="width: 250px;" | Setting
! style="width: 200px;" | Default Value
! style="width: 200px;" | Default Value
! Description
! Description
|-
| economy.prices.wizard.creation
| 100
| Amount that is charged when an NPC is toggled to a wizard for the first time
|-
|-
| economy.prices.wizard.(mode)
| economy.prices.wizard.(mode)
Line 17: Line 21:
| Amount that is charged each time a player uses the specific mode
| Amount that is charged each time a player uses the specific mode
|-
|-
| wizard.max-locations
| wizards.mana-costs.(mode)
| 5
| Amount of mana that is drained from a wizard when a mode is used
|-
| wizards.max-locations
| 10
| 10
| Maximum locations that a wizard can have at once
| Maximum locations that a wizard can have at once
|-
|-
| wizard.max-mana
| wizards.max-mana
| 100
| 100
| Maximum mana that a wizard can have
| Maximum mana that a wizard can have
|-
|-
| wizard.interact-item
| wizards.interact-item
| 288
| 288
| ID of the item that a player must use to interact with a wizard
| ID of the item that a player must use to interact with a wizard
|-
|-
| wizard.regen-mana
| wizards.regen-mana
| true
| true
| Whether to regenerate mana
| Whether to regenerate mana
|-
|-
| wizard.regen-rate
| wizards.regen-rate
| 6000
| 6000
| Ticks between each mana-regen
| Ticks between each mana-regen (1 server tick = 1/20 of a second)
|-
|-
| wizard.regen-item
| wizards.regen-item
| 348
| 348
| ID of the item that a player can use to manually regenerate mana
| ID of the item that a player can use to manually regenerate mana
Line 43: Line 51:


== Commands ==
== Commands ==
'''[]''' - Mandatory
Commands that are specific to wizards.
<br>'''()''' - Optional


'''Command''' - command's syntax
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
<br>'''Args Description''' - description of the command's arguments
|-
<br>'''Require Selected''' - whether the command requires an NPC to be selected
! style="width: 100%; background-color:#ADD8E6" colspan="7" | '''Wizard Commands'''
<br>'''Require Ownership''' - whether the commands requires you to be the owner of the NPC
|-
<br>'''Required Mode''' - mode that a wizard must be in to use this command
<br>'''Permission''' - command's permission node
<br>'''Description''' - short description of the command
 
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Command
! style="width: 250px;" | Command
! style="width: 200px;" | Args Description
! style="width: 200px;" | Args Description
Line 134: Line 136:
<br>'''Description''' - short description of the mode
<br>'''Description''' - short description of the mode


{| class="wikitable" style="text-align: center;"
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
|-
! style="width: 100%; background-color:#ADD8E6" colspan="2" | '''Wizard Modes'''
|-
! style="width: 250px;" | Mode
! style="width: 250px;" | Mode
! Description
! Description
Line 152: Line 157:
| spawn
| spawn
| Ability to spawn mobs at your location. Left-click to cycle through mobs (all Minecraft mobs are supported). Right-click to spawn the mob.
| Ability to spawn mobs at your location. Left-click to cycle through mobs (all Minecraft mobs are supported). Right-click to spawn the mob.
|}
== Other Permissions ==
'''Permission''' - permission node
<br>'''Description''' - description of permission node
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
|-
! style="width: 100%; background-color:#ADD8E6" colspan="3" | '''Wizard Permissions'''
|-
! style="width: 250px;" | Permission
! style="width: 500px;" | Description
|-
| citizens.wizard.use.interact
| Ability to interact with a wizard
|}
|}


Line 164: Line 185:
'''Why isn't my wizard working when I left-click him! I am sure that I am using the correct interact-item.'''
'''Why isn't my wizard working when I left-click him! I am sure that I am using the correct interact-item.'''
<br>Left-clicking a wizard does not work in areas where PvP is disabled. Make sure your wizard is not in one of those areas and that PvP is set to true for your world. This is a Bukkit bug.
<br>Left-clicking a wizard does not work in areas where PvP is disabled. Make sure your wizard is not in one of those areas and that PvP is set to true for your world. This is a Bukkit bug.
{{NavBox}}
[[Category:Citizens1]]

Latest revision as of 23:22, 19 April 2012

Not Supported!
This page is about Citizens 1.x, while the current version is Citizens 2.0.2. This page's content may be outdated, and shouldn't be trusted as being correct. See this page's talk page for more information. If you were looking for the 2.0.2 equivalent of this page, try Wizard. If you feel this message was displayed in error, please contact an administrator.

Wizards are the most versatile NPC type. They perform 5 different tasks: storm-toggling, teleportation, command-execution, mob-spawning, and time-changing. You can set a wizard up to get drained of mana or set it to unlimited mana. You interact with a wizard by left and right-clicking it with the interact-item (default is a feather). If a wizard's mana isn't at the maximum level, it will regenerate every 6000 server ticks (can be changed in citizens.yml).

Configuration Nodes

These nodes can be found in citizens.yml. They deal with the configuration of wizards.

Commands

Commands that are specific to wizards.

Wizard Modes

All modes require the interact-item to be in your hand in order for it to work. You can also change the amount of mana that each mode drains from a wizard in citizens.yml.

Mode - name of the mode, use this when changing the wizard's mode with /wizard mode
Description - short description of the mode

Other Permissions

Permission - permission node
Description - description of permission node

Future

  • Cooldowns for all modes

FAQ

Why can't I use wizards? I have all of the correct permissions!
Make sure you are using the wizard interact-item (configurable in citizens.yml, default is feather).

Why isn't my wizard working when I left-click him! I am sure that I am using the correct interact-item.
Left-clicking a wizard does not work in areas where PvP is disabled. Make sure your wizard is not in one of those areas and that PvP is set to true for your world. This is a Bukkit bug.