Denizen/0.7/Start-up kit: Difference between revisions
m (AgentKid moved page Denizen/Start-up kit to Denizen/0.7/Start-up kit without leaving a redirect) |
No edit summary |
||
Line 3: | Line 3: | ||
<div style="margin-right:2.0em; margin-top:35px; padding:10px; font-family:camingodos-web; font-size:110%;"> | <div style="margin-right:2.0em; margin-top:35px; padding:10px; font-family:camingodos-web; font-size:110%;"> | ||
<span style="font-family:natalya-alternate-one; font-size:650%; margin-right:-7px; margin-left:-10px;">B</span>y default, Denizen comes as a clean install. One easy way to get up and going is to install the start-up-kit as explained here. You may want to first check out the step-by-step the [[Denizen/Before_Using_Denizen#Down_and_dirty|Getting Started: Down and Dirty]] section, which walks through installing a sample script and assignment. This start-up kit attempts to go into a little bit more detail with some pre-loaded content. | <span style="font-family:natalya-alternate-one; font-size:650%; margin-right:-7px; margin-left:-10px;">B</span>y default, Denizen comes as a clean install. One easy way to get up and going is to install the start-up-kit as explained here. You may want to first check out the step-by-step the [[Denizen/0.7/Before_Using_Denizen#Down_and_dirty|Getting Started: Down and Dirty]] section, which walks through installing a sample script and assignment. This start-up kit attempts to go into a little bit more detail with some pre-loaded content. | ||
</div> | </div> | ||
Line 11: | Line 11: | ||
The kit contains: | The kit contains: | ||
* A pre-configured [[Denizen/config.yml|config.yml]] | * A pre-configured [[Denizen/0.7/config.yml|config.yml]] | ||
* A pre-configured assignments.yml for 2 NPCs (Steve and Jill) | * A pre-configured assignments.yml for 2 NPCs (Steve and Jill) | ||
* A file with 2 Interact Scripts (Steve Scripts.yml) | * A file with 2 Interact Scripts (Steve Scripts.yml) |
Revision as of 18:31, 5 February 2013
By default, Denizen comes as a clean install. One easy way to get up and going is to install the start-up-kit as explained here. You may want to first check out the step-by-step the Getting Started: Down and Dirty section, which walks through installing a sample script and assignment. This start-up kit attempts to go into a little bit more detail with some pre-loaded content.
Download the Kit
The start-up contains everything you need to get going with Denizen quickly. Inside the zip file you will find a folder called 'Denizen'. Extract this folder to your /plugins/ directory. Make sure you have the latest Denizen jar installed, then start your server or call
/denizen reload
The kit contains:
- A pre-configured config.yml
- A pre-configured assignments.yml for 2 NPCs (Steve and Jill)
- A file with 2 Interact Scripts (Steve Scripts.yml)
- A file with 2 Activity Scripts (Activity Scripts.yml)
Download
How to use
The kit defines assignments for 2 NPCs. One named 'Steve' and one named 'Jill'. To make an NPC use the /npc create command.
/npc create Steve --trait denizen
Steve is now ready to go. Likewise to make Jill:
/npc create Jill --trait denizen
The assignments are done by Name so these Denizens are now fully functional. To test, call /denizen info. You should see the assigned scripts and activities as defined in the assignments.yml.
To begin learning, open the scripts or assignments file in a good text editor like notepad++ see YAML The files are commented to help you get started.