HowToAddMapsServerStendhal

From Arianne
Revision as of 20:42, 3 March 2006 by imported>MiguelAngelBlanchLardin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Of course you have already read:

Ok, and I assume that you can write or at least read Java.

  1. Create a map file

Create a new Java source file at games/stendhal/server/maps/<name>.java

Open the file and make sure that it looks like this:

package games.stendhal.server.maps;

import games.stendhal.server.StendhalRPWorld;

public class MapName implements IContent
  {
  public MapName(StendhalRPWorld world)
    {
    }
  }

When the zone is loaded ... TODO