Development Assistance Spawn Random Fires

Discussion in 'Plugin Help/Development/Requests' started by CooperCraft15, Apr 15, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    CooperCraft15

    I am hosting a CityRp server and I am in the middle of making a FireFighters plugin, I have done almost everything but Im stuck on how to Spawn random fires around the city (1 at a time) every x Hours , but the fires cannot burn anything down, just so the FireFighters can have something to do. Thank you very much :p

    Anyone know?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Apr 15, 2016
  2. I can't give you code (I am too lazy to get out of bed) but I recommend detecting where you spawned the fire and have it delete nearby blocks randomly. The detection method should work right if you put it in a SyncRepeatingTask. It is a random guess if it would work but try BlockBurnEvent.
     
Thread Status:
Not open for further replies.

Share This Page