Create a Stendhal server extension: Difference between revisions

Content deleted Content added
imported>Hendrik Brummermann
imported>Hendrik Brummermann
Line 112:
That's it! Now, just recompile your server, and boom! Your 75% there! Now, one last thing; configuring the server to load your new extension.
 
==Configuration of marauroa==
Now, again open upthe file server marauroaserver.ini, and add these lines:
 
<pre>
date_time=games.stendhal.server.extension.DateAndTimeExtension
server_extension=date_time
</pre>
 
Now, if you've been following the tut, don't just copy/paste the second line - add 'date_time' to the end of the list, with a comma before it. Also, if you've saved the file somewhere else other than where the Spouse extension is (which I don't recommend doing, it's in a folder called "extension") you're going to have to change the class path to point to that.
 
=Done=