Raids

This is an example of a raid. You can create as many raids as you want; just copy and paste the file and change the name to create a different raid. To link the rewards, you just need to create the other rewards with the same name as the raid file.

Parameter
Description

heal

With this option, players' Pokémon will be automatically healed.

needDefeat

This option is used to define whether the raid must be defeated to grant the rewards.

chance

Probability among raids for it to appear.

time

Time for the raid to end.

{
  "active": true,
  "heal": true,
  "needDefeat": true,
  "id": "default",
  "name": "&cdefault",
  "chance": 20.0,
  "time": 5,
  "world": "overworld",
  "posPlayer": {
    "x": 3366.5,
    "y": 112.0,
    "z": 12528.5
  },
  "posRaid": {
    "x": 3366.5,
    "y": 112.0,
    "z": 12528.5
  },
  "directionX": 180.0,
  "directionY": 0.0,
  "pokemons": [
    {
      "pokemon": "pikachu level=70 shiny=true",
      "chance": 0.1,
      "life": 300,
      "heldItem": "cobblemon:leftovers",
      "size": 5.0,
      "bossBar": {
        "title": "§cR§6a§ei§ad §bB§9o§5s§ds -> §cPikachu *** §r<- §a%hp% §r/ §a%hp_max%",
        "color": "PINK",
        "style": "NOTCHED_10"
      },
      "moves": [
        "thunderbolt",
        "quick-attack",
        "thunder-wave",
        "iron-tail"
      ],
      "banned": {
        "pokemons": [
          "pikachu",
          "charmander",
          "bulbasaur"
        ],
        "abilities": [
          "blaze",
          "overgrow",
          "torrent"
        ],
        "moves": [
          "ember",
          "tackle",
          "growl"
        ],
        "items": [
          "cobblemon:master_ball"
        ]
      }
    }
  ]
}

Last updated