Performatic ways to build a match system

Discussion in 'Plugin Development' started by Ziden, Jan 26, 2013.

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

    Ziden

    Hello there.

    Just willing to build a simple team battle plugin, witch will create a new world for the battle to run. My idea is to have a different world at every battle, but i could have the same world and move the battle position to randomize it.

    The simple question is, creating world is kinda laggy and locks up the server sometimes. What you guys would be the best solution for that 'aways new huge arena' ? Regenerating worlds ? Copying an existant 'base' world ? Generating a new one ?

    Would apreciate any help !!
     
  2. Offline

    skipperguy12

    Generate a crap load of random worlds, and just choose a new location whenever you have a new match. Make the location...say...500 blocks away. Now, I don't think anyone will ever notice that it's not really random, its just like 10 worlds and every match is 500 blocks apart. Don't forget to do a check if the spawn for the team is in a block!
     
Thread Status:
Not open for further replies.

Share This Page