User Tools

Site Tools


plugins

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
plugins [2025/07/21 15:20] paperainsplugins [2025/07/22 18:59] (current) paperains
Line 5: Line 5:
 | <code php><?php echo $plugin->plugLevels(); ?></code>Shows the complete list of your TCG's levels in table format. It also shows the rewards for each level, which is good if you have multiple set of rewards per level tier. | | <code php><?php echo $plugin->plugLevels(); ?></code>Shows the complete list of your TCG's levels in table format. It also shows the rewards for each level, which is good if you have multiple set of rewards per level tier. |
 | <code php><?php echo $plugin->plugMastery(); ?></code>Shows the complete list of your deck mastery and special mastery rewards in table format, it includes member and event cards masteries if you allow this on your TCG. | | <code php><?php echo $plugin->plugMastery(); ?></code>Shows the complete list of your deck mastery and special mastery rewards in table format, it includes member and event cards masteries if you allow this on your TCG. |
-| <code php><?php echo $plugin->plugCurrency( 'PLUGGED' ); ?></code>Shows the list of currencies for activity rewards such as deck mastery and level ups. The PLUGGED text must be replaced with the actual reward values from the database. To know the format of the rewarded currencies from the database, kindly refer to the [[rewards|Rewards]] list. |+| <code php><?php echo $plugin->plugCurrency( 'PLUGGED', 'TIER' ); ?></code>Shows the list of currencies for activity rewards such as deck mastery and level ups. The PLUGGED text must be replaced with the actual reward values from the database. To know the format of the rewarded currencies from the database, kindly refer to the [[rewards|Rewards]] list.\\ \\ If you have multiple rewards tier, this is where the reward iteration comes in. The tiers always start at ''0'', so if you have 4 level tiers and wants to view the second reward tier, the code should be ''<?php echo $plugin->plugCurrency( 'prize_level_cur', '1' ); ?>''.\\ \\ However, if you only have one reward, you can leave the TIER blank like this: ''<?php echo $plugin->plugCurrency( 'prize_level_cur', ' ' ); ?>'' (without the space). |
 | <code php><?php echo $plugin->plugAffiliates( 'general' ); ?></code>Shows the list of your affiliates with images in no specific format but sorted by the affiliates’ subject or name. | | <code php><?php echo $plugin->plugAffiliates( 'general' ); ?></code>Shows the list of your affiliates with images in no specific format but sorted by the affiliates’ subject or name. |
 | <code php><?php echo $plugin->plugAffiliates( 'table' ); ?></code>Shows the list of your affiliates with images in table format. Sorted by the affiliates' subject or name, it will also display the affiliate's owner and subject. | | <code php><?php echo $plugin->plugAffiliates( 'table' ); ?></code>Shows the list of your affiliates with images in table format. Sorted by the affiliates' subject or name, it will also display the affiliate's owner and subject. |
plugins.txt · Last modified: by paperains