Which is better?

Discussion in 'Plugin Development' started by Ad237, May 27, 2013.

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

    Ad237

    Hi guys I am currently developing a SCB plugin for my server. I am currently adding all the arenas that players have made into the plugin but I have one question. Is it better to make different worlds for each arena using something like Multiverse or have all arenas in one world spread far apart. I don't want players to see other arenas from their's so which would be better and less server intensive? Thanks.
     
  2. Offline

    vYN

    I guess keeping it in 1 world... Will be the best.. That's just my opinion...
     
  3. Offline

    Ad237

    vYN One more thing. If I do keep them in one world, I will need a blank world to work with. Do you happen to know a way to get a blank world on a server. I tried to search on google and all I found were singleplayer worlds that were not completely blank. Thanks.
     
  4. Offline

    Jogy34

    For my TARDIS plugin I have an option for everyone's TARDIS interior to be spawned inside it's own world (ignore all that if you don't understand it, point is I potentially make new worlds). When this happens it is a lot cleaner and easier to work with however if you don't have a powerful enough server it can cause massive amounts of lag with just having a few of these worlds. The other option is that the interiors are spawned in a shared world, this is a little harder to work with but doesn't cause nearly as much lag. With my plugin though, you can pretty much infinitely expand the interiors so they aren't a definite size.

    If it were me I would have all the arenas in one world to avoid lag.

    EDIT: Here's a good terrain generation tutorial: http://forums.bukkit.org/threads/th...ation-part-one-prerequisites-and-setup.93982/
     
  5. Offline

    vYN

    Like you want a flat world? With no monsters, animals, structures etc? If so... By using multiverse would do just fine.. Making a world like that...
     
  6. Offline

    Jogy34

    If you use multiverse that would mean that your plugin has a dependency on it so everyone that uses your plugin has to get multiverse.
     
  7. Offline

    Ad237

    vYN No not a flat world. A completely blank world with no blocks at all that I can paste the arenas into. Does multiverse also have that feature?

    Jogy34 It is for my server only so that doesn't matter.
     
  8. Offline

    vYN

    Like no blocks at all... I know multiverse doesn't have a feature like that... But flat world they do..

    Then you have to have some generators that does that for you... And I don't know anything about that.. So good luck with this :)
     
  9. Offline

    Jogy34

    It isn't that hard to make a world with no blocks at all in it. Create the generator then use this as your generate method:
    Code:java
    1.  
    2. @Override
    3. public byte[] generate(World world, Random rand, int chunkx, int chunkz)
    4. {
    5. int f = 32768;
    6.  
    7. byte[] result = new byte[f];
    8. byte br = (byte)Material.AIR.getId();
    9. for(int i = 0; i < f; i++)
    10. result[i] = br;
    11.  
    12. return result;
    13. }[/i]
     
    TheButlah likes this.
  10. Offline

    Ad237

    vYN Ok thanks for your help. I will probably just use a flat world and if I can delete the ground blocks with world edit. Thanks.
     
Thread Status:
Not open for further replies.

Share This Page