Join our discord
In partnership with NodeCraft Logo NodeCraft


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

Config

From Pixelmon Wiki
Revision as of 20:19, 9 February 2016 by Some body (talk | contribs)

The Pixelmon config file, "pixelmon.hocon", is a file containing numerous settings for Pixelmon. The file can be located by going to the Minecraft folder (accessible by clicking the "Open Game Dir" button on the Minecraft launcher's profile editor screen) and opening the "config" folder. If using the Pixelmon launcher, the config file can be accessed by selecting the "Browse to Profile Folder" option on the main launcher screen and navigating to the "config" folder.

The config file itself can be edited inside Minecraft by navigating to the "Mods" section from the main menu and selecting Pixelmon. The file can also be edited with a plain text editor such as Notepad or TextEdit. If edited with a plain text editor, changes will only be reflected when the target world is not online; changing the config file while the world is online will cause no changes to occur to the world until the world is reloaded.

Settings

AFK handler

The AFK handler is a system that automatically takes control of battling players that have not responded for an amount of time. Once the AFK handler takes over, the unresponsive player may resume control at any time.

Config setting Description Default value
afkActivateSeconds The amount of time (in seconds) that a player can be unresponsive in battle before the AFK handler takes control. 90 seconds
afkHandlerTurnSeconds The amount of time that the AFK handler takes to make a move. 15 seconds
enableAFKHandler Whether or not the AFK handler is enabled. False

Breeding

Config setting Description Default value
allowBreeding Whether or not ranch blocks can be crafted and used. True
allowDittoDittoBreeding Whether or not two Ditto can breed together to produce Eggs with random Pokémon inside them. True
allowRanchCrafting Whether or not ranch blocks can be crafted. True
allowRanchExpansion Whether or not ranch upgrades exist. True
allowRandomBreedingEggsToBeLegendary Whether or not Eggs made from two Ditto breeding together have a chance of hatching Legendary Pokémon. False
allowRandomSpawnedEggsToBeLegendary Whether or not Eggs spawned with a gift box or the random Egg feature of /pokegiveEgg have a chance of hatching Legendary Pokémon. False
breedingTicks How long it takes for a Pokémon to advance from one breeding level to the next with breeding strength 1 ("Pokémon 1 is more attracted to Pokémon 2 every day!"). This is measured in ticks (20 ticks = 1 second). If breeding environments are enabled, this time will be affected by multipliers depending on how suitable the breeding environment is. 18000 (15 minutes)
numBreedingStages The number of breeding levels that breeding Pokémon must advance through in order to produce an Egg. Can be between 1 and 5. 5
stepsPerEggCycle Egg cycles are used to determine how many steps it takes for Eggs to hatch. The lower this value, the fewer steps it takes for Eggs to hatch. 255
useBreedingEnvironment Whether or not the environment around a ranch block affects the speed of the breeding process. If this is disabled, the speed of breeding will always be equal to "Pokémon 1 is more attracted to Pokémon 2 every day!" True

Database

These settings deal with saving Pixelmon data (e.g., Pokémon in players' parties and PC) to an external database.

Config setting Description Default value
connectionString The URL that specifies the location of the database that Pixelmon data will be saved to. Can be either an H2 database or a MySQL database (jdbc:type://hostname:port/dbname?user=username&password=password). jdbc:h2://
saveToExternalDatabase Whether or not to save Pixelmon data to the external database specified in the "Connection string" setting. False

Elevator

Config setting Description Default value
elevatorSearchRange The maximum distance that two elevators can link together at. 10

External moves

Config setting Description Default value
allowExternalMoves Whether or not players are able to use their Pokémon's external moves. True

General

Config setting Description Default value
allowAnvilAutoreloading Anvil auto-reloading is when players can continue to hammer an item on an anvil and the item will automatically be taken and replaced with its unfinished version when finished (e.g., an iron base being obtained and replaced with an iron disc from the player's inventory), allowing players to continuously hammer stacks of items to completion. False
allowCaptureOutsideBattle Whether or not players are allowed to throw Poké Balls and capture Pokémon outside of battle. True
allowEventMoveTutors Whether or not event move tutors spawn naturally. False
allowGemBossDrop Whether or not Gems are dropped by boss Pokémon and found with Pickup. False
allowGemCrafting Whether or not Gems can be crafted. True
allowPvPExperience Whether or not Pokémon can gain experience when battling other players. True
allowPlanting Whether or not Apricorns can be planted by players. This does not remove existing Apricorn trees or prevent natural Apricorn tree generation. True
allowPokémonNicknames Whether or not the player can nickname owned Pokémon. This setting is client-side. True
allowRanchUpgradeBossDrop Whether or not boss Pokémon can drop ranch upgrades. True
allowRareCandyCrafting Whether or not players are allowed to craft Rare Candies. True
allowRiding Whether or not players can mount Pokémon. True
allowTMReuse If enabled, TMs can be used an infinite amount of times without breaking. If disabled, TMs will break after being used once. False
allowTrainerExperience Whether or not NPC Trainers' Pokémon award experience upon defeat. True
allowVanillaMobs Whether or not regular Minecraft mobs like cows and zombies can spawn naturally. Monster spawners containing zombies, skeletons, or spiders will be converted into monsters spawners that spawn pigs if this setting is disabled. Other monster spawners (including ones that spawn hostile mobs like Blazes, cave spiders, or silverfish) will not be affected, nor will spawn eggs. False
awardPhotos Whether or not wild Pokémon will drop photos when defeated. False
battleAIBoss The type of battle AI that boss Pokémon will use.
Value Name Description
1 Random The Pokémon will use moves randomly.
2 Aggressive The Trainer will use the move that deals the most damage to the opponent, avoiding status moves.
3 Tactical The Trainer will know how to use status moves alongside offensive moves.
2 (Aggressive)
battleAITrainer The type of battle AI that naturally spawning NPC Trainers will use.
Value Name Description
1 Random The Trainer will use moves randomly.
2 Aggressive The Trainer will use the move that deals the most damage to the opponent, avoiding status moves.
3 Tactical The Trainer will know how to use status moves alongside offensive moves.
4 Advanced Along with knowing how to use moves like tactical AI, the Trainer will switch out Pokémon if advantageous.
3 (Tactical)
battleAIWild The type of battle AI that wild Pokémon will use.
Value Name Description
1 Random The Pokémon will use moves randomly.
2 Aggressive The Pokémon will use the move that deals the most damage to the opponent, avoiding status moves.
3 Tactical The Pokémon will know how to use status moves alongside offensive moves.
1 (Random)
cloningMachineEnabled Whether or not cloning machines can be crafted and used. Disabling this setting prevents Mewtwo from being legitimately obtainable. True
chunkSpawnRadius The chunk radius around a player where Pokémon can spawn. 8
computerBoxes The number of boxes a player has access to in the PC, up to a maximum of 256. 16
enablePointToSteer If enabled, this option causes a mounted Pokémon to be steered by moving the camera, matching the directional controls on foot. If disabled, mounted Pokémon are steered using the keybinds for moving left and right. True
enablePokédexWikiWebsiteOpen If disabled, all methods of opening up the Pixelmon/Minecraft wikis from within Pixelmon are disabled. True
enableWildAggression Whether or not aggressive wild Pokémon initiate battles against players. True
engagePlayerByPokéBall If enabled, battles between players can be initiated by a player throwing a Pokémon's Poké Ball at another player directly (rather than at the other player's Pokémon). False
expModifier Pokémon experience gain will be multiplied by this number. 1
forceEndBattleResult This setting determines what will occur if a battle is ended without a proper conclusion (e.g., too many errors in battle, player death while in battle). Determining an official winner and loser only matters for certain aspects, such as the /pokestats command, NPC Trainers that give items upon defeat, or Pixelmon sidemods that manipulate battle wins and losses.
  • 0: A winner will be decided based on which battler has more Pokémon remaining. If both battlers have the same amount of Pokémon remaining, the percentages of HP of each Pokémon remaining are summed and the winner is decided based on whose percentage HP sum is greater. If both sums are the same, the battle is considered a draw.
  • 1: The battle is declared a draw.
  • 2: The battle is considered to have ended abnormally. This setting is only useful if the server has a Pixelmon sidemod that uses PlayerBattleEndedAbnormalEvent.
0 (determine winner based on Pokémon remaining)
growthScaleModifier How much growth varies the size of Pokémon. This value can range from 0-2; if set to 0, growth will have no effect on Pokémon size. 1
isiHourglassBossDrop Whether or not boss Pokémon drop Isi's Silver Hourglass and Isi's Golden Hourglass. True
namePlateRange How far away levels and names of Pokémon can be seen when outside of battle. This setting is client-side.
  • 1: Default (closest)
  • 2: Farther
  • 3: Far (furthest away)
1 (Default)
needHMToRide Whether or not Fly or Surf must be known by a water or flying mounted Pokémon in order to mount it. Land mounts are unaffected by this setting. False
npcRarity How commonly NPC Trainers and move tutors spawn naturally. This can be a value between 0 and 200, where 0 disables natural NPC spawning and 200 is the maximum possible spawn rate. 50
pokémonDropsEnabled Whether or not certain Pokémon can drop items upon defeat. True
printErrors If this option is enabled, any Pixelmon-related errors on a server will be printed to the server log in detail. If disabled, errors will be much shorter and less detailed. False
removeVanillaMusic Whether or not vanilla Minecraft music (not including music discs) can randomly play instead of Pixelmon music. This option is currently always enabled regardless of what it is set to in the config file. True
returnHeldItems If enabled, consumable held items used up during player vs. player battles will be restored when the battle ends. True
reusableBirdShrines Whether or not shrines can be used multiple times. Players will still have to acquired a new charged orb each time to use the shrine. False
scalePokémonModels If this option is enabled, Pokémon will be 30% larger than if the option was disabled. True
spawnBirdShrines Whether or not shrines can spawn naturally. If disabled, shrines that already exist can still be used. True
spawnGemShrines Whether or not Gem structures can spawn naturally. Enabling this setting also allows the use of the /halloween command. False
spawnStructures Whether or not Pixelmon structures can spawn naturally. True
spawnersOpOnly Whether or not players have to be ops to edit Pixelmon spawners. If this option is disabled, any player in Creative mode can edit spawners. True
spinBattleCamera Whether or not the camera rotates around the Pokémon combatants during battles. This setting is client-side. True
starterOnJoin Whether or not players will pick their starter Pokémon immediately upon entering a world. True
systemTimeSyncInterval How often Minecraft time will sync to real time (in seconds) if real time syncing is enabled. 30
tradersReusable Whether or not traders can be used multiple times. If disabled, traders will disappear after completing their trade offers. False
useCustomTabList If enabled, a different GUI will be used when viewing the list of online players. True
useExternalNPCFiles If enabled, NPC JSON files can be edited in the "npc" folder in the Minecraft directory. If this directory does not already exist, it will be created after enabling this option. False
useExternalStructureFiles If enabled, structure JSON files can be edited in the "structures" folder in the Minecraft directory. If this directory does not already exist, it will be created after enabling this option. False
useSystemTimeForWorldTime Whether or not Minecraft time will sync to real time (as defined by the server's system time). False
wildCanFlee Whether or not Pokémon may attempt to flee from battle. The chance of attempting to flee is increased when the wild Pokémon is lower-leveled than the player's Pokémon or low on health. False
writeEntitiesToWorld Whether or not Pixelmon entities (such as naturally spawning Pokémon and NPC Trainers) are saved with the world. If enabled, the size of the world save file and the time needed to save the world increase. False

Graphics

Config setting Description Default value
lowResTextures Whether or not Pokémon and Poké Balls use low-resolution (256 × 256) textures, making them appear less detailed. False
renderDistanceWeight A number that is multiplied to the default render distance (64) to produce a final render distance. 2
showCurrentAttackTarget Whether or not a Pokémon's attack target ('F' key by default) is shown on the screen. True
useOriginalPokémonTexturesForStatues Whether or not statues (spawned with the /pokespawn command) use the actual Pokémon textures and colors. If disabled, statues are always gray. False
useSmoothShadingOnPokéBalls Whether or not Poké Balls use SMD normal maps in their models, making them appear smoother. True
useSmoothShadingOnPokémon Whether or not Pokémon use SMD normal maps in their models, making them appear smoother. True

PixelUtilities

Config setting Description Default value
blocksHaveLegendaries Whether Pixelmon Grass can contain Legendary Pokémon. False
eventCoords Locations where event Poké Gifts will spawn. None
eventHasLegendaries If enabled, it is possible for event Poké Gifts to contain Legendary Pokémon. False
eventHasShinies Whether or not it is possible for event Poké Gifts to contain Shiny Pokémon False
eventMaxPokémon The maximum number of Pokémon that can be contained inside an event Poké Gift. The event Poké Gift will contain a random amount of Pokémon between 1 and the specified value. 1
eventPokéGiftLoad Whether or not event Poké Gifts spawn. False
eventShinyRate The chance of an event Poké Gift containing a Shiny Pokémon with the formula 1/x. 1/10
eventTime If desired, a specified date for event Poké Gifts to spawn can be used for the option in the form day/month. None
pokéGiftHaveEvents Whether or not Poké Gifts can be placed and opened. True
pokéGiftReusable If enabled, Poké Gifts will remain after players claim them, but each Poké Gift can only be claimed once per player. If disabled, claiming a Poké Gift will cause it to disappear. False
scaleGrassBattles Whether or not the levels Pokémon found in Pixelmon grass will scale to the level of the player's highest-leveled Pokémon. False

PokéLoot

Config setting Description Default value
spawnGrotto Whether or not Hidden Grottos spawn naturally. True
spawnHidden Whether or not invisible PokéLoot chests spawn naturally. True
spawnMode The default setting for how PokéLoot chests act once looted.
  • First Come, First Served (FCFS)-Chest disappears once looted by a player.
  • Permanent, Limit 1 Drop (PL1D)-Chest doesn't disappear, but each individual player can only loot it once.
  • Permanent, Unlimited Drops (PUD)-Chest doesn't disappear, can be looted infinitely by players.
  • Timed Loot (TIMED)-Chest doesn't disappear, each individual player can loot the chest periodically (cooldown duration can also be set in config, defaults at once per day).
0 (First Come, First Served)
spawnNormal Whether or not visible PokéLoot chests spawn naturally. True
spawnRate The frequency at which PokéLoot chests spawn.
Value Name Chunks/Chests
0 Minimal 64
1 Normal 32
2 More 18
3 Extreme 10
1 (Normal)
timedLootReuseSeconds How often players can loot PokéLoot chests that are set to have timed loot. This value is in seconds.
Duration Seconds
1 hour 3,600
1 day 86,400
1 week 604,800
86,400 seconds (1 day)

Sounds

Config setting Description Default value
maxMusicDelay The maximum number of ticks that can pass before another music track will play after the previous one finishes. 24000 (20 minutes)
minMusicDelay The minimum number of ticks that can pass before another music track will play after the previous one finishes. 12000 (10 minutes)

Spawning

Config setting Description Default value
Gen1 Whether or not Generation 1 Pokémon (#1-#151) can spawn. True
Gen2 Whether or not Generation 2 Pokémon (#152-#251) can spawn. True
Gen3 Whether or not Generation 3 Pokémon (#252-#386) can spawn. True
Gen4 Whether or not Generation 4 Pokémon (#387-#493) can spawn. True
Gen5 Whether or not Generation 5 Pokémon (#494-#649) can spawn. True
Gen6 Whether or not Generation 6 Pokémon (#650-#721) can spawn. This option is currently useless as no Generation 6 Pokémon will be implemented until Generation 7 is released. True
allowLegendarySpawn Whether or not Legendary Pokémon will spawn naturally. This only affects Pokémon that use the Legendary spawn rate. True
bossSpawnRate The rarity of boss Pokémon, using the formula 1/x Pokémon. 250 (1/250 Pokémon)
despawnOnFleeOrLoss Whether or not wild Pokémon will despawn if the player flees from them or loses against them. False
displayLegendaryGlobalMessage Whether or not a message will display when a Legendary Pokémon spawns. The message also displays which biome the Pokémon spawned in. True
hiddenAbilitySpawnRate The rarity of hidden Abilities on wild or spawned-in Pokémon, using the formula 1/x Pokémon. This setting does not affect breeding. 150 (1/150 Pokémon)
legendaryRepeatSpawnTicks The minimum amount of ticks that must pass before a particular Legendary Pokémon species can spawn again after previously spawning. 96,000 ticks (80 minutes)
legendarySpawnChance The chance of a Legendary Pokémon spawn attempt succeeding (0-1). The frequency of this spawn attempt is defined by the "legendarySpawnTicks" setting. 0.3 (30%)
legendarySpawnTicks How often (in ticks) a Legendary Pokémon attempts to spawn. The chance of this attempt succeeding is defined by the "legendarySpawnChance" setting. 3,000 ticks (2 minutes and 30 seconds)
maxFlyingPokémon The maximum number of naturally spawning air persistent spawns) that can exist at once. 2
maxLandPokémon The maximum number of naturally spawning land Pokémon + air Pokémon that can exist at once. 40
maxUndergroundPokémon The maximum number of naturally spawning underground Pokémon that can exist at once. 20
maxWaterPokémon The maximum number of naturally spawning water Pokémon that can exist at once. 20
replaceMCVillagers Whether to replace Minecraft's villagers with chatting NPCs in villages. True
shinySpawnRate The rarity of Shiny Pokémon, using the formula 1/x Pokémon. 8192 (1/8192 Pokémon)
spawnDimensions Dimensions (by number) that Pokémon will spawn naturally in. If there are no dimensions in the setting, no Pokémon will spawn naturally. This setting does not affect Pixelmon spawners.
Value Dimension
0 Overworld
-1 Nether
1 End
0 (Overworld)
spawnPokéMarts Whether Poké Marts can spawn in towns. True

Starters

Config setting Description Default value
level The initial level that Trainers' starter Pokémon will be at. This can be between levels 5 and 100. 5
shiny If enabled, Trainers' starter Pokémon will always be Shiny. False
starterList The choices that players will have for their starter Pokémon. There can be a maximum of 15 choices.

© 2012 - 2025 Pixelmon Mod