Depenizen: Difference between revisions

From Citizens Wiki

(Created page with "<center><h1><nowiki>~~~~~~~~Depending on Denizen since 2013~~~~~~~~</nowiki></h1></center> Welcome to the Depenizen Project! What is Depenizen all about? Head on over to our ...")
 
No edit summary
Line 1: Line 1:
<center><h1><nowiki>~~~~~~~~Depending on Denizen since 2013~~~~~~~~</nowiki></h1></center>
<center><h1><nowiki>Depenizen: Dependencies for Denizen!</nowiki></h1></center>


Welcome to the Depenizen Project! What is Depenizen all about? Head on over to our [[Depenizen/Frequently Asked Questions|FAQ page]] to find out!
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 [[Depenizen/Frequently Asked Questions|FAQ page]] for more information!
<h2>Depenizen V0.2</h2>
<h2>Depenizen V0.2</h2>
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>.
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>'''


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>"...
...

Revision as of 01:29, 11 September 2013

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>

...