Global Rewards

This reward is used to set global rewards for players. It can be added in damageRewards, but if you want to give an additional reward, it's helpful to have this type of reward defined.

The rewardGiven option has the following settings:

  • "PARTICIPANTS": rewards will be given to all participants in the raid battle.

  • "ALL": rewards will be given even to those who did not participate."

{
  "active": true,
  "rewardGiven": "ALL",
  "reward": {
    "title": "Global Reward",
    "giveAll": false,
    "amountRewardsPermission": {
      "": 1,
      "group.vip": 1
    },
    "newSound": {
      "variousPlayers": false,
      "sound": "minecraft:entity.fox.death",
      "range": 16.0,
      "volume": 1.0,
      "pitch": 1.0
    },
    "particle": {
      "particle": "minecraft:flame",
      "numberParticles": 25,
      "offsetX": 1,
      "offsetY": 1,
      "offsetZ": 1,
      "speed": 0,
      "radius": 32.0
    },
    "animation": "NONE",
    "lootTable": {
      "": [
        {
          "item": "minecraft:dirt",
          "chance": 999.0
        },
        {
          "item": "item:1:minecraft:dirt",
          "chance": 1.0
        },
        {
          "item": "item:1:minecraft:dirt#{CustomModelData:1}",
          "chance": 1.0
        },
        {
          "item": "pokemon:rattata alola",
          "chance": 1.0
        },
        {
          "item": "command:lp user %player% permission set a",
          "chance": 1.0,
          "display": "minecraft:emerald",
          "displayname": "Give permission a"
        },
        {
          "item": "command:lp user %player% permission set a|lp user %player% permission set b",
          "chance": 1.0,
          "display": "minecraft:emerald",
          "displayname": "Give permission a and b"
        },
        {
          "item": "money:1",
          "chance": 1.0
        },
        {
          "item": "money:tokens:1",
          "chance": 1.0
        },
        {
          "item": "mod:cobblehunt:radar",
          "chance": 1.0
        },
        {
          "item": "cobblemon:poke_ball|cobblemon:great_ball|cobblemon:ultra_ball|command:lp user %player% permission set a|pokemon:rattata alola",
          "chance": 1.0
        }
      ],
      "group.vip": [
        {
          "item": "minecraft:dirt",
          "chance": 100.0
        }
      ]
    }
  }
}

Last updated