Best Method

Discussion in 'Plugin Development' started by Wantsome909, Nov 6, 2013.

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

    Wantsome909

    How do you make changable maps?
    like, Survival games or TF2 how they have changable maps with timers
     
  2. Offline

    maxben34

    Could you explain what you mean by "changeable maps" a little bit better?
     
  3. Offline

    Wantsome909

    like, Survival games or TF2 how they have changable maps with timers. maxben34
     
  4. Offline

    1Rogue

    Code:java
    1. public String getNextMap (List<String> maps) {
    2. if (maps != null && !maps.isEmpty()) {
    3. Collections.shuffle(maps);
    4. return maps.iterator().next();
    5. }
    6. return null;
    7. }
     
  5. Offline

    maxben34

    You will need to create "arenas". Basically, you need to have the maps premade and put in locations throughout your world. Get the coords of the spawnpoints and if the map is selected, it teleports the players to that arena. Basically you can make a method for each different map, with all the spawn points and whatever else you need, such as teleports etc.
     
  6. Offline

    Wantsome909

  7. Offline

    xTrollxDudex

    That actually doesn't explain anything... If I'm understanding you correctly, hivemc.eu actually using hundreds of servers and bungeecord to switch people between them for the arenas. In the ideal world, people shouldn't be able to manage that, so use multi world. Try my minigame tutorial in the resources section.
     
    sgavster likes this.
Thread Status:
Not open for further replies.

Share This Page