Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "SimpleDexRewards"

From Pixelmon Wiki
(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 dex 'tiers' to reward players based on their PokéDex progress.
+
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 main portion of the config is in the 'tiers' block. Each tier contains 3 components. 'commands', 'id', and 'percentage'. A sample config looks like this.
+
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.
  
<p><code>/dex claim <tierName></code> - Manually claims a dex tier, giving rewards.</p>
+
*<code>/dex claim <tierName></code> - Manually claims a dex tier, giving rewards.
<p><code>/dex list</code> - Lists all available dex tiers, and their requirements. You can click on them to claim.</p>
+
*<code>/dex list</code> - Lists all available dex tiers, and their requirements. You can click on them to claim.
<p><code>/dex remaining [option]</code> - Lists all remaining pokemon left to be caught. Currently, option only supports 'legendary'.</p>
+
*<code>/dex remaining [option]</code> - Lists all remaining pokemon left to be caught. Currently, option only supports 'legendary'.
  
  
 
==== Permissions ====
 
==== Permissions ====
  
<p>/dex claim - <code>pokedexrewards.claim.base</code></p>
+
*<code>/dex claim</code> - <code>pokedexrewards.claim.base</code>
<p>/dex list - <code>pokedexrewards.list.base</code></p>
+
*<code>/dex list</code> - <code>pokedexrewards.list.base</code>
<p>/dex remaining - <code>pokedexrewards.remaining.base</code></p>
+
*<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

© 2012 - 2025 Pixelmon Mod