Scripts For Admins: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Vasconcelos
imported>Kymara
Line 113: Line 113:
build/build_server_script/games/stendhal/server/script.
build/build_server_script/games/stendhal/server/script.
If you got your server files from unzipping a released package you will need to ask someone nicely to zip them up for you :) Try <code>#arianne irc.freenode.net</code>.
If you got your server files from unzipping a released package you will need to ask someone nicely to zip them up for you :) Try <code>#arianne irc.freenode.net</code>.
Inside your server folder you should already have the file <code>data/conf/admins.list</code> that you made so you could be an admin. Create a folder
Inside your server folder you should already have the file <code>data/conf/admins.txt</code> that you edited so you could be an admin. Create a folder
data/script/games/stendhal/server/script/
data/script/games/stendhal/server/script/
and put your scripts there. Since '.' will already be on your classpath to read the adminslist, these scripts should now also be loaded when you start your server. If you have trouble try adding ./data/script to your classpath too.
and put your scripts there. Since '.' will already be on your classpath to read the adminslist, these scripts should now also be loaded when you start your server. If you have trouble try adding ./data/script to your classpath too.