Finding your way around the Stendhal Server Code
Are you trying to find your way around the source code of the Stendhal server? They you should continue reading here as it is going to be explained. This documents expect that you have basic knowledge of Java and have already configured your Development Environment.
So, you can find the main server code in the package games.stendhal.server and some more dependencies in games.stendhal.common.
| package name | purpose |
| actions | commands send by players from the client to the server |
| core | the main logic of Stendhal which keeps all the pieces together |
| entity | everything you can interact with in game (players, monsters, items, portals) |
| events | some code to handle events (like hooks for the tutorial) |
| extensions | ignore this for now |
| maps | all the interactive stuff of maps (including quests, npcs) |
| script | Misc Scripts that can be executed by GMs |
| util | just a few methods that make coding easier |