Fire square around player

Discussion in 'Plugin Development' started by Aitor14, Jan 9, 2020.

  1. Offline

    Aitor14

    Hi! I have a lot experience with Java Programming, but i'm new on Bukkit and Spigot, i'm learning about both. My question in this plugin is to create a square of fire around the player, something like the image above (without the border in each corner). I have seen other threads about my question but isn't solved. Can someone help me? I would be very grateful. Thank you!
     

    Attached Files:

  2. Offline

    timtower Moderator Moderator

    @Aitor14 Looks like getting the player position and adding relative locations in x and z
     
  3. Offline

    Aitor14

    That's the logic, the problem is I don't know how to implement that, to create the fire around player.
     
  4. Offline

    xelatercero

    @Aitor14 im not very experienced programmer i just restarted plugins a few weeks ago , but my question is, what should trigger the fire around the player? a command? a event?
     
  5. Offline

    timtower Moderator Moderator

    @xelatercero It is plugin development and how it triggers is not related to the issue.
    Having a method that takes a Player will do for this.
     
  6. Offline

    Aitor14

    It's a command, when he execute the command, summon fire around the player like the image.
     

Share This Page