WonderTrade

From Pixelmon Generations Wiki
Jump to navigation Jump to search

The WonderTrade sidemod adds the ability for players to swap out Pokémon from their party for a Pokémon from the randomly generated pool. The amount of Pokémon that will be generated in this pool can be specified in the configuration file. The types of Pokémon that can be generated are random and are not affected by the normal rarities of Pokémon in the wild, meaning that Pokémon normally unobtainable in the wild can be found in the WonderTrade pool. This includes Legendary Pokémon and Shiny Pokémon. The chance of a Legendary Pokémon generating can be set in the configuration file, while the chance of a Pokémon generating as a Shiny is based on the rate set in the Pixelmon config file. The maximum and minimum range of levels of generated Pokémon can be modified in the configuration file.

The Pokémon that a player trades to the WonderTrade replaces the Pokémon that the player is given, meaning that it's possible for other players to receive their traded Pokémon from the WonderTrade. If a player trades away a Legendary or Shiny Pokémon or receives one from the WonderTrade, a configurable server-wide message will be advertised. After using the WonderTrade, a player will receive a cooldown for the specified time interval in the configuration file (1 hour by default). Each player may have their cooldown after a WonderTrade changed using the command /wtsetcooldown, essentially overriding the time specified in the configuration file.

Installation

WonderTrade can be installed universally on both the client and the server. If installed on the server, it does not need to be installed on the client to use it.

Minecraft Launcher

  1. Download WonderTrade from the sidemods section of the downloads page.
  2. Locate your .minecraft installation folder.
    • On Windows, your installation folder can be located by using Windows + R at the same time and entering %appdata%.
  3. Drop/move the downloaded jar file into the mods folder.
  4. Start your launcher and wait for all mods to load.

Technic Launcher

  1. Download WonderTrade from the sidemods section of the downloads page.
  2. Locate your .technic installation folder.
    • On Windows, your installation folder can be located by using Windows + R at the same time and entering %appdata%.
  3. Open the modpacks folder and then open the folder of the modpack you're using.
  4. Drop/move the downloaded jar file into the mods folder.
  5. Start your modpack and wait for all mods to load.

Server

  1. Download WonderTrade from the sidemods section of the downloads page.
  2. Drop/move the downloaded jar file into the mods folder on the server's files.
  3. Start the server and wait for all mods to load.


Commands

WonderTrade

Command Information
* /wondertrade <slot> [confirm]: Removes Pokémon from the party slot indicated and replaces it with a Pokémon from the WonderTrade pool.

Using the command without the confirm argument will prompt the user to add the confirm argument in order to trade. ex: /wondertrade 1 confirm <be>
Aliases: /wt

WonderTradeAdmin

Command Information
* /wondertradeadmin <arguments>: View and modify the current WonderTrade pool.

Possible arguments include:

  • add <Pokémon> [s] - Adds a randomly generated instance of the Pokémon indicated into the pool. An optional s argument can be added to make the Pokémon Shiny.
  • list - Shows a list of all Pokémon currently in the pool along with their level and whether or not they are Shiny.
  • print - Displays the server-wide announcement message as setup in the configuration files. By default, it will show how many Pokémon and (if applicable) how many Shiny and Legendary Pokémon are in the pool.
  • purge - Removes all Pokémon currently in the pool and randomly generates a new pool of Pokémon.
  • remove <Pokémon> - Removes all instances of the indicated Pokémon and will replace them with randomly generated Pokémon.


Aliases: /wtadmin

WonderTake

Command Information
* /wondertake <slot>: Takes the Pokémon in the indicated slot from the current WonderTrade pool.

Must be 0-99 even if the pool exceeds that amount.
The slot must have a Pokémon in it and will not replace the slot with a new Pokémon.

Aliases: /wtake

WTSetCooldown

Command Information
* /wtsetcooldown <player> <minutes>: Sets the indicated player's cooldown after a WonderTrade to the specified amount of minutes.

This will not update the player's current cooldown, but will instead change the number of minutes the player will have to wait after doing a WonderTrade.
This will override the global default for that specific player.

Permissions

  • /wondertrade - wondertrade.command.wondertrade
  • /wondertradeadmin - wondertrade.command.wondertradeadmin
  • /wondertake - wondertrade.command.wondertake
  • /wtsetcooldown - wondertrade.command.wtsetcooldown

Config Settings

The WonderTrade wondertrade.cfg configuration file is located in the \config\ folder of the server.

general

  • Time Between Announcements - Time in minutes between server-wide announcements about WonderTrade.
  • Time Between Uses: - Time in minutes that a player will have to wait between uses of /wondertrade by default.

pixelmon

  • Can Wondertrade eggs - Enables whether players can use the WonderTrade on eggs.
  • Chance of legendary in pool - Chance of a Legendary Pokémon being generated in the pool. Rate is specified as 1 in <value>, meaning if 8000 is used, it will have a 1 in 8000 chance.
  • Max Level - Maximum level that a Pokémon can be generated in the pool at. Max is 98 so the Pokémon can still be evolved.
  • Min Level - Minimum level that a Pokémon can be generated in the pool at. Automatically remains below the maximum level.
  • Pool Size - Size that the pool will generate to on startup. This is not the maximum amount of Pokémon that can be added.

settings for in-game messages

Note: Color codes using the format &<color-code> are supported. Leaving a message blank will cause it to not be used.

  • Announcer message - Message shown at the top of the server-wide announcement.
    • A :: can be used as a new line character to specify multiple lines.
  • Current pool message - Message shown for displaying the current size of the pool.
    • The placeholder POOLSIZE will be replaced with the size of the pool.
  • Global legendary received message - Message shown when a player receives a Legendary Pokémon from the WonderTrade.
    • The placeholders PLAYERNAME and POKEMONNAME will be replaced with the receiving player's name and the Legendary Pokémon they received.
  • Global shiny received message - Message shown when a player receives a Shiny Pokémon from the WonderTrade.
    • The placeholders PLAYERNAME and POKEMONNAME will be replaced with the receiving player's name and the Shiny Pokémon they received.
  • Legendaries in pool message - Message shown for specifying how many Legendary Pokémon are in the pool if any.
    • The placeholders LEGENDARYCOUNT and ISARE will be replaced with the amount of Legendary Pokémon and the correct singular/plural form.
  • Legendary added to pool message - Message shown when a player adds a Legendary Pokémon to the WonderTrade.
    • The placeholders PLAYERNAME and POKEMONNAME will be replaced with the player's name who's adding it and the Legendary Pokémon they are adding.
  • Personal shiny received message - Message shown when receiving a Shiny Pokémon from the WonderTrade.
    • The placeholder POKEMONNAME will be replaced with the name of the received Shiny Pokémon.
  • Received from WT message - Message shown when receiving a Pokémon from the WonderTrade.
    • The placeholder POKEMONNAME will be replaced with the name of the received Pokémon.
  • Shinies in pool message - Message shown for specifying how many Shiny Pokémon are in the pool if any.
    • The placeholders SHINYCOUNT and ISARE will be replaced with the amount of Shiny Pokémon and the correct singular/plural form.
  • Shiny added to pool message - Message shown when a player adds a Shiny Pokémon to the WonderTrade.
    • The placeholders PLAYERNAME and POKEMONNAME will be replaced with the player's name who's adding it and the Shiny Pokémon they are adding.
  • Try your luck message - Message shown at the bottom of the server-wide announcement.


The WonderTrade wondertradecooldowns.txt file is located in the \config\ folder of the server and can be used to set the cooldown between uses of individual players. Editing this file manually is not recommended. Use the /wtsetcooldown command instead.