Depenizen

From Citizens Wiki

Revision as of 01:29, 11 September 2013 by Mcmonkey (talk | contribs)

Depenizen: Dependencies for Denizen!

Welcome to the Depenizen Project! What is Depenizen all about?

Depenizen is a simple plugin that does exactly what its name implies: adds external plugin dependencies to Denizen.

Head on over to our FAQ page for more information!

Depenizen V0.2

If you used 0.1, you might notice that some tags were broken when updating to the latest builds. This was intentional, and mostly unavoidable in terms of the new Denizen 0.9 system, which is geared toward more object oriented systems. For example, previously in Denizen, using <player> would return the player's name. Now, it will return a dPlayer, represented by "p@", followed by the player's name. That being said, a tag such as <player.faction> will no longer return the faction name. To do that, you must now use <player.faction.name>.

Other tags, such as <player.town.ismayor>, which would return whether or not the player is the mayor of his/her town, make no sense in this system. Instead, you should use - if <player.town.mayor> == <player>

...