robotfinder.json - Drawethree/X-Prison GitHub Wiki

{
  "class": "dev.drawethree.xprison.enchants.model.impl.RobotFinderEnchant",
  "id": 27,
  "rawName": "robot",
  "name": "&eRobot Finder",
  "enabled": true,
  "increaseCostBy": 400,
  "maxLevel": 250,
  "chance": 0.1,
  "initialCost": 1000,
  "pickaxeLevelRequired": 1,
  "currency": "GEMS",
  "refund": {
    "enabled": true,
    "guiSlot": 31,
    "percentage": 50.0
  },
  "gui": {
    "name": "&eRobot Finder",
    "material": "DRAGON_EGG",
    "customModelData": 0,
    "slot": 31,
    "description": [
      "&7Discover random robots",
      "&7while mining."
    ]
  },
  "commands": [
    {
      "command": "robotsadmin give %player% coal 1",
      "chance": 12
    },
    {
      "command": "robotsadmin give %player% coal_gems 1",
      "chance": 12
    },
    {
      "command": "robotsadmin give %player% iron 1",
      "chance": 12
    },
    {
      "command": "robotsadmin give %player% iron_gems 1",
      "chance": 12
    },
    {
      "command": "robotsadmin give %player% gold 1",
      "chance": 10
    },
    {
      "command": "robotsadmin give %player% gold_gems 1",
      "chance": 10
    },
    {
      "command": "robotsadmin give %player% emerald 1",
      "chance": 8
    },
    {
      "command": "robotsadmin give %player% emerald_gems 1",
      "chance": 8
    },
    {
      "command": "robotsadmin give %player% diamond 1",
      "chance": 8
    },
    {
      "command": "robotsadmin give %player% diamond_gems 1",
      "chance": 8
    }
  ]
}