Skip to content

Formats Configuration

Landon edited this page Jul 31, 2019 · 1 revision

The configuration file to edit formats is located in your server's config folder under pixelmonshowdown/Formats.conf. This is where you will likely be doing most of your adjustments in the configuration files. The plugin supports as many different formats as you wish. The default configuration has Smogon metagames Ubers, OU, UU, RU, NU, PU, and Monotype.

There are 7 main sections of a format, which are as follows:

  • Listing Number: Where the format will be located in GUI if listing is enabled. Make sure this value is unique and each format increments from one in order you want. If listing is not enabled, formats will simply be displayed in alphabetical order.
  • Battle Rules: The general rules of the format, such as sleep clause, bag clause, or monotype clause.
  • Pokemon Clauses: The particular Pokemon you want banned in a format. Particular forms are also allowed to be banned by using their appropriate suffix, such as Marowak-Alolan.
  • Item Clauses: The particular items you want banned in a format.
  • Ability Clauses: The particular abilities you want banned in a format.
  • Move Clauses: The particular moves you want banned in a format.
  • Complex Clauses: A combination of the previous 4 clause types that you want banned in a format. For example, Speed Boost Blaziken.

A template for creating a metagames is as follows:

"Format Name" {
        Listing-Number=1
        Battle-Rules {
            Bag-Clause=true
            Full-Heal=true
            Inverse-Battle=false
            Level-Cap=100
            Monotype=None
            Num-Pokemon=6
            Raise-To-Cap=true
            Sleep-Clause=false
            Species-Clause=false
            Turn-Time=60
            Team-Preview=false
        }
        Item-Clauses=[
            "Item 1",
            "Item 2"
        ]
        Ability-Clauses=[
            "Ability 1",
            "Ability 2"
        ]
        Move-Clauses=[
            "Move Name 1",
            "Move Name 2"
        ]
        Pokemon-Clauses=[
            "Pokemon 1",
            "Pokemon 2-form",
            Legendaries,
            Ultrabeasts
        ]
        Complex-Clauses=[
           ["P:Pokemon Name", "A:Ability Name", "I:Item Name", "M:Move Name"],
           ["P:Bidoof", "A:Moody", I:"Focus Sash"]
       ]
}

Key Words

There are a few key works built into the format system to reduce the amount of copy paste required. They are as follows:

  • Legendaries: Used in the Pokemon Clauses or Complex Clauses section to ban any pokemon that is a legend.
  • Ultrabeasts: Used in the Pokemon Clauses or Complex Clauses section to ban any pokemon that is an ultrabeast.
  • Megastones: Used in the Item Clauses or Complex Clauses section to ban all megastones. When used in conjunction with a Pokemon in complex clauses, it disallows the mega in a format without banning the non-mega pokemon.
  • Z Crystals (or z-Crystals): Used in the Item Clauses or Complex Clauses section to ban all z-crystals. When used in conjunction with a Pokemon and move in complex clauses, it disallows a particular z-move set from being used.

Clone this wiki locally