Denizen/0.7/Example Scripts/Beginner Scripts: Difference between revisions

From Citizens Wiki

< Denizen‎ | 0.7

(Created page with "Example scripts are provided with both the assignments and the script in the same box. Be sure and put the text in the correct file in your plugins folder. This is the script...")
 
No edit summary
Line 1: Line 1:
Example scripts are provided with both the assignments and the script in the same box. Be sure and put the text in the correct file in your plugins folder.
Example scripts are provided with both the assignments and the scripts in the same box. Be sure and put the text in the correct file in your plugins folder.
*Assignments should always be appeneded to plugins\Denizen\assignments.yml
*Scripts can be placed in any .yml file in the plugins\Denizen\scripts\ directory
 
----
 
==Joe the Builder==


This is the script from the start-up kit. It's 2 interact scripts assigned to 1 Denizen named Steve. He will respond different to a right-click by a player depending on whether or not the player has the modifyworld.* permission.
This is the script from the start-up kit. It's 2 interact scripts assigned to 1 Denizen named Steve. He will respond different to a right-click by a player depending on whether or not the player has the modifyworld.* permission.
{| class="wikitable collapsible collapsed"  
{| class="wikitable collapsible collapsed"  
! Joe the Builder
! Joe the Builder Script and Assignment
|-
|-
| <pre>
| <pre>

Revision as of 03:15, 17 August 2012

Example scripts are provided with both the assignments and the scripts in the same box. Be sure and put the text in the correct file in your plugins folder.

  • Assignments should always be appeneded to plugins\Denizen\assignments.yml
  • Scripts can be placed in any .yml file in the plugins\Denizen\scripts\ directory

Joe the Builder

This is the script from the start-up kit. It's 2 interact scripts assigned to 1 Denizen named Steve. He will respond different to a right-click by a player depending on whether or not the player has the modifyworld.* permission.