Format Definition Structure
Formats are defined inconfig/formats.ts (or config/custom-formats.ts):
Format Properties
Basic Properties
Rulesets and Banlists
Custom Rules
Bans and Unbans
- Pokemon Bans
- Move/Item Bans
- Group Bans
- Complex Bans
Value Rules
Rules that accept numeric values:Legality Rules
In-Battle Rules
Example Custom Formats
Monotype Format
Little Cup Format
VGC-Style Format
Custom OM Format
Challenge Format
Use custom rules in challenges with the@@@ syntax:
Tournament Format
Apply rules to tournaments:Creating Custom Format Files
Advanced: Format Hooks
Add custom battle logic with format hooks:Rule Combinations
Whitelisting
Create an allowed-only list:Removing Rules
Remove parts of standard rulesets:Testing Your Format
Additional Resources
Custom Rules Reference
Complete custom rules documentation
Rulesets Source
View all available rulesets
Format Examples
Official formats for reference
Mod System
See the Modding guide for custom mechanics
