MyEssentials / MyTown2

Version 2 of MyTown - A Minecraft Server Protection Mod
The Unlicense
35 stars 22 forks source link

Handle Baubles #513

Open Eufranio opened 7 years ago

Eufranio commented 7 years ago

Using Baubles, players are able to put blocks inside other player's towns using Ring of Loki from Botania, or attact items from a town with Pickup disabled with a Ring of Magnetization or Magnetizer from EnderIO. My opnion is to make a getter that we can use in the protection files, like:

    {
      "class": "vazkii.botania.common.item.equipment.bauble.ItemMagnetRing",
      "type": "baubles",
      "flags": "PICKUP",
      "range": 32
    }

And it would cancel any effects/events coming from that item in a town that the player don't have PICKUP permission.