Join our discord
In partnership with NodeCraft Logo NodeCraft


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

SimpleDexRewards

From Pixelmon Wiki

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. This plugin is a replacement for the Pokedex Rewards plugin, which is no longer maintained by the Pixelmon sidemod team.

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 - 2022 Pixelmon Mod