Creating world slowly?

Discussion in 'Plugin Development' started by PlayFriik, Dec 22, 2014.

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

    CraftCreeper6

  2. Offline

    stoneminer02

    What you need is a better CPU :3
     
  3. Offline

    Konato_K

    @PlayFriik I don't know if this may work, but World has a setKeepSpawnInMemory(boolean) method
     
  4. Offline

    Skionz

    @Konato_K It won't. It looks like it just 'Sets whether the world's spawn area should be kept loaded into memory or not.'
     
  5. Offline

    PlayFriik

    Umm, this is not helping me, because if I want to share this plugin then ppl have different CPUs..
     
  6. @stoneminer02 I'm not sure how that's even relevant let alone helpful?

    @PlayFriik I've heard that the main world will always be kept loaded to some extend, and that you can't change that with the API.
     
  7. Offline

    Esophose

    @PlayFriik

    Can you not solve both your problems by just editing the server.properties? To fix the chunk loading you could set the render distance to a lower value, and to remove the spawn protection you can set that in the server.properties as well.
     
  8. Offline

    Cycryl

    if running it outside the main thread is bad,
    is scheduling it asynchronicly also bad?
     
  9. Offline

    teej107

    It's bad if you access non-thread safe stuff which quite a lot of the Bukkit methods are.
     
Thread Status:
Not open for further replies.

Share This Page