Block nether portals from spawning in certain areas?

Discussion in 'Spigot Help' started by iLemon, May 10, 2015.

  1. iLemon

    Patron

    Hey,

    I've recently noticed players managing to spawn nether portals in the spawn on my factions server.
    [​IMG]
    Is there a way I can block nether portals spawning in certain areas/regions/warzones to prevent this from being possible?

    Thanks,
    - Alex
     
  2. Maybe you can register a certain area in your plugin and that check with the PlayerTeleportEvent if the player teleports to that location.