Structure

(Requires FastAsyncWorldEdit)

When using this totem, it will generate a structure, which can give effects or perform actions to players within a certain radius. It will be remove after the specified time.

How to use

In the following video you will see a simple demonstration of how to save your own schematics using FastAsyncWorldEdit

Example

HouseTotem:
  name: "{#6E553A}House Totem"
  types:
    type: "Structure"
    options:
      duration: 60
      radius: 15
      giveEffect: "self"
      executeActions: "self"
      executeScripts: "self"
      schematic:
        name: House
  item:
    material: OAK_PLANKS
    name: "{#6E553A}House Totem"
    lore:
      - ""
      - "&7You'll get a house!"
      - ""
      - "&7(Will be used when you're about to die and when"
      - "&7you place it)"
      - ""
  options:
    isPlaceable: true
    playAnimation: true
  conditions:
    chance:
      value: 100
    permission:
      value: "plutotems.use.housetotem"
  actions:
    - "title: {#6E553A}HOUSE | &7You have used the {#6E553A}House Totem &7totem!"
    - "broadcast: &7{player} has used the {#6E553A}House Totem &7totem!"
    - "sound: ENTITY_PLAYER_LEVELUP-1-1"
  effects:
    - 'DAMAGE_RESISTANCE:1:600'

Last updated