1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Custome World generator

Discussion in 'Development' started by armagadon159753, Jan 31, 2018.

  1. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    Hey

    I want to make a Custom world generator for my SkyBlock plugin.
    I have just for example this old plugin


    [Question]
    if it has a lot of world generated, it can affect the performance?


    Thx for all
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    It will affect performance the same way worlds generated with PM's generator would (if your generator is as fast as PM's of course; if your generator is lightweight enough, it might even be faster; if it's more complex, it'll be slower)
     
    armagadon159753 likes this.
  3. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    very well then! in my case it should not interfere too much my server if I generated small worlds?
     
  4. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    Do you know the fastest way to generate a world without or with a few blocks?
     
  5. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    No, generators don't affect main thread performance.
     
    armagadon159753 likes this.
  6. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    If your generator is slower you still have to wait longer for your world to generate :p
     
  7. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Yup but still, the main thread isn't affected by it.
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    The machine's overall load still increases. What if it uses a single core cpu?
     
  9. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    1 core, 2 threads is possible :rolleyes: but you can only blame your toaster for it's low specs.
    The difference shouldn't be significant at all in most cases. You are recommended to host pmmp on atleast a dual core system. But still, 0% additional load on the main thread.
     
  10. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    now I know the performances will not be affected but how can I generate a world?
     
  11. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
  12. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.