Difference between revisions of "Administration tips"

From AAGRINDER wiki
Jump to navigationJump to search
(add link to matrix bridge page (will be created soon))
 
Line 23: Line 23:
  
 
== Add Matrix bridge ==
 
== Add Matrix bridge ==
Unfortunately, the AAGRINDER Matrix bridge does not exist yet.
+
Follow the instructions at [[Bridging to Matrix]].

Latest revision as of 12:53, 8 September 2022

There are some interesting additional things you can do with your AAGRINDER server.

Stop the server[edit]

To save the world and stop the AAGRINDER server, focus the console where the server is running and type stop, then press enter. Alternatively, you can press press Ctrl+C, which will discard changes unless autosave is enabled.

Restart the server[edit]

You stop the server with the stop command, then start it again.

Add admins[edit]

You can make yourself or other players admins, which gives them some additional privileges. To do this, open the admins.txt file which was created when the server was first started. Type the names of players which you would like to make admins, one name per line. Save this file. The next time you start the server, the new admin list will take effect. If the server is already running, you can reload the admin list with an appropriate server console command.

Change server settings[edit]

There are a bunch of settings that might be useful. I recommend looking at server settings.

Make terrain special[edit]

Although AAGRINDER terrain already has a lot of variety in itself, you could also change the terrain generator on your server, to make it even more special! To do this, go to the aagrinder-terrain directory (folder) and open the file called parameters.cpp. You will find a long list of parameters that can be changed. After you are done playing with the numbers, save the file. Then you need to recompile the terrain generator. To do this, open a terminal in your aagrinder-terrain directory and run the make command. The new terrain generator will immediately take effect even if the AAGRINDER server is already running. Explore some new terrain to see what it's like!

Backup a world[edit]

You can find all the worlds in the saves directory (folder). Each world is saved into its own directory inside the saves directory. To back up a world or share it, zip the folder where the world is saved, then store or send the zip.

Update the server[edit]

To update your AAGRINDER server, stop the server and run git pull in the server directory. Do the same in the terrain generator directory (aagrinder-terrain). If there were changes to the terrain generator, you have to recompile it by running make. Running the newest aagrinder-terrain on branch main and the newest aagrinder on branch main is the only supported combination. RUNNING INCOMPATIBLE VERSIONS OF SERVER AND TERRAIN GENERATOR IS UNSTABLE AND MAY CORRUPT YOUR WORLD!

Add Matrix bridge[edit]

Follow the instructions at Bridging to Matrix.