Denizen/0.7/Troubleshooting: Difference between revisions

From Citizens Wiki

< Denizen‎ | 0.7

Line 20: Line 20:
You may also have a plugin conflict. If you suspect this, try disabling all plugins except Permissions, Citizens2, and Denizen to see if the problem persists.
You may also have a plugin conflict. If you suspect this, try disabling all plugins except Permissions, Citizens2, and Denizen to see if the problem persists.
</div>
</div>


=== Script not working as intended? ===
=== Script not working as intended? ===

Revision as of 23:23, 18 September 2012

Denizen can seem a bit complicated at first, especially when you don't know what to look for when something isn't working exactly like you want. Luckily, if you are having problems, there are several tools available to help you.


Assignments not working?

To check assignments on a Denizen use /denizen info with the NPC selected to make sure assignments have taken. This also shows other great information, such as bookmarks and activities. If you are the NPC's owner you can also sneak and right click to view this info. See: Info-Click

If assignments are not showing up, ensure that your assignments.yml is properly formatted, you've saved your assignments.yml, and you've used /denizen reload. Also check spelling of the Denizen NPCs name. This is case-sensitive! See: Reload Command


Trigger not working?

Denizen NPCs, by default, have only their Click Trigger and Chat Triggers enabled. Use /denizen trigger list to see the status of the triggers for your NPC. Red means disabled. See: Trigger Command


You may also have a plugin conflict. If you suspect this, try disabling all plugins except Permissions, Citizens2, and Denizen to see if the problem persists.

Script not working as intended?

Turn on /denizen debug and check the information being sent to the console when your script runs. There's likely some information in there that can be used to track down the problem, whether it be failed requirements, incorrect flow logic, syntax, or simply a spelling mistake. See: Debug Mode Command

Still having problems, what now?

If you are still having problems check your console messages for errors, especially at start up. Any kind of error, from any plugin, may lead to problems. Take this opportunity again to triple-check spacing in your script. If all else fails join us on EsperNet in #denizen-dev.