Difference between revisions of "SimpleDexRewards"
From Pixelmon Wiki
CraftSteamG (talk | contribs) (The wiki page for the SimpleDexRewards sidemod.) |
m (Just cleanup and appropriate links) |
||
Line 1: | Line 1: | ||
− | SimpleDexRewards is a Sponge plugin that allows server owners to create | + | SimpleDexRewards is a [[Pixelmon]] [[sidemod]] and [https://www.spongepowered.org/ Sponge] plugin that allows server owners to create PokéDex 'tiers' to reward players based on their PokéDex progress. |
=== Installation === | === Installation === | ||
Line 7: | Line 7: | ||
=== Configuration === | === Configuration === | ||
− | The | + | The configuration file (under ./config/simpledexrewards/simpledexrewards.conf) can be modified to describe the rewards. The important portion of the config is in the 'tiers' block. Each tier contains three components: 'commands', 'id', and 'percentage'. |
+ | Example: | ||
<div onload="prettyPrint()"> | <div onload="prettyPrint()"> | ||
<pre class="prettyprint"> | <pre class="prettyprint"> | ||
Line 35: | Line 36: | ||
</pre> | </pre> | ||
</div> | </div> | ||
− | '''Note: Each id must be unique. | + | '''Note:''' ''Each id must be unique.'' |
=== Commands === | === Commands === | ||
There are three main commands. | There are three main commands. | ||
− | + | *<code>/dex claim <tierName></code> - Manually claims a dex tier, giving rewards. | |
− | + | *<code>/dex list</code> - Lists all available dex tiers, and their requirements. You can click on them to claim. | |
− | + | *<code>/dex remaining [option]</code> - Lists all remaining pokemon left to be caught. Currently, option only supports 'legendary'. | |
==== Permissions ==== | ==== Permissions ==== | ||
− | < | + | *<code>/dex claim</code> - <code>pokedexrewards.claim.base</code> |
− | < | + | *<code>/dex list</code> - <code>pokedexrewards.list.base</code> |
− | < | + | *<code>/dex remaining</code> - <code>pokedexrewards.remaining.base</code> |
Revision as of 20:45, 29 May 2019
SimpleDexRewards is a Pixelmon sidemod and Sponge plugin that allows server owners to create PokéDex 'tiers' to reward players based on their PokéDex progress.
Installation
This plugin requires SpongeForge, and does not need to be installed on the client.
Configuration
The configuration file (under ./config/simpledexrewards/simpledexrewards.conf) can be modified to describe the rewards. The important portion of the config is in the 'tiers' block. Each tier contains three components: 'commands', 'id', and 'percentage'.
Example:
tiers=[ { # The commands that are run, %player% as a placeholder. commands=[ "give %player% minecraft:diamond 5" ] # ID of this tier, must be unique id=diamonds # The percentage of completion at which this reward triggers. percentage=0 }, { # The commands that are run, %player% as a placeholder. commands=[ "give %player% minecraft:diamond 5" ] # ID of this tier, must be unique id=emeralds # The percentage of completion at which this reward triggers. percentage=30 } ]
Note: Each id must be unique.
Commands
There are three main commands.
/dex claim <tierName>
- Manually claims a dex tier, giving rewards./dex list
- Lists all available dex tiers, and their requirements. You can click on them to claim./dex remaining [option]
- Lists all remaining pokemon left to be caught. Currently, option only supports 'legendary'.
Permissions
/dex claim
-pokedexrewards.claim.base
/dex list
-pokedexrewards.list.base
/dex remaining
-pokedexrewards.remaining.base