Stop chunk loading outside world guard region?

Discussion in 'Plugin Development' started by Burnett1, May 13, 2013.

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

    Burnett1

    Hey,

    Iv'e been trying this for a bit now and am wondering if it is possible to check weather a chunk in the ChunkLoadEvent is within a world guard region and if it is not cancel the event. Anyone know if this is possible?

    Thanks for any help.
     
  2. Offline

    bergerkiller

    Burnett1
    It's not possible, if chunks have to load, they will load. There is a way to alter the chunk generator so it generates a clean room outside the borders, but that's it.

    Try limiting player movement to avoid further chunk loads.
     
  3. Offline

    Burnett1

    I know its possible to stop chunk loading cause i stopped a world from loading any chunks at all. I need to know if there is a way to find the location of the chunk to compare and see if it is in a world guard region.
     
  4. Offline

    iTristan

  5. Offline

    Burnett1

    That is for players entering and leaving regions.
     
Thread Status:
Not open for further replies.

Share This Page