Solved Allow signs to be placed in mid-air without breaking?

Discussion in 'Plugin Development' started by UNC00KED, Aug 29, 2015.

Thread Status:
Not open for further replies.
  1. Hello, I have a Parkour plugin that times users for each map they do, then if they made it on the top 10 times, their head and a sign appears above the portal for the map displaying their time and their placement on the map compared to other users.

    I would like the plugin to create the signs in mid-air, but whenever I run the command to "reload" the leaderboards which places the signs and heads based off the times in the Config, I get an internal error and the signs break in mid-air.
    http://puu.sh/jSvo1/fa44847f2f.mp4

    Whenever I create a row of blocks for the signs to be placed on, it works fine.
    http://puu.sh/jSvow/012f78e3f5.mp4

    Is there a way to manipulate my plugin, or maybe even create another event to handle the signs not being broken when they are created with the plugin?

    I would appreciate any help, thanks!
     
  2. Offline

    sailorerik

    Ehm. In my opinion you cannot change minecraft logics, but you could try using barrier, because of its invisiblity.
     
  3. /stoplag
    set the sign somewhere
    /stoplag -c
     
  4. Offline

    sailorerik

    Ehm? Bukkit does not have such of command like /stoplag.
     
  5. @UNC00KED
    1) BlockPhysicsEvent
    2) Check if block type is sign
    3) Cancel the event
     
  6. Yep, ended up doing this. Completely forgot about invisible barriers, thanks for the help!
     
Thread Status:
Not open for further replies.

Share This Page