Make an arena class with multiple spawn points

Discussion in 'Plugin Development' started by bramhaag, Jan 1, 2014.

Thread Status:
Not open for further replies.
  1. Hi guys,

    I'm making am Minigame, but i wan't to add multiple spawn points with an command in an arena.
    Can someone help me?

    Thanks,
    Bramhaag
     
  2. Offline

    caseif

    Create a command such as /addspawn and when a player runs it, add their current location to a YAML file under a key such as arenaName.spawn1, then arenaName.spawn2, etc. Or, alternatively, you could store it under arenaName.spawns.1, arenaName.spawns.2, etc. The point being, the key name is completely arbitrary.
     
Thread Status:
Not open for further replies.

Share This Page