1.x/Wizard: Difference between revisions

From Citizens Wiki

< 1.x

m (NavBox)
No edit summary
Line 2: Line 2:


== 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
Line 51: Line 50:


== 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 142: Line 135:
<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 167: Line 163:
<br>'''Description''' - description of permission node
<br>'''Description''' - description of permission node


{| class="wikitable" style="text-align: center;"
{| 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: 250px;" | Permission
! style="width: 500px;" | Description
! style="width: 500px;" | Description

Revision as of 14:58, 15 February 2012

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.