Author Topic: Two things - Hosting  (Read 832 times)

These are related to hosting a server

First

How do you set a person as an automatic admin?
I know how the passwords work and how to set an admin manually. I just need the automatic part.

Second

What is the console command to add in add-ons without restarting the server?
I also would like other commands for hosting as well.

1. This requires editing some variables. However, an easier way to do it is to get an add-on like Glass.
https://forum.blockland.us/index.php?topic=284376.0

2. This is not recommended. It can cause a number of problems and should only be done while you're developing an add-on, and need to re-execute some code you changed.
exec("Add-ons/Addon_Name/server.cs");
and if anyone's on the server, transmitDatablocks();
If it adds any new weapons, playertypes, vehicles, etc, you'll also need to call commandToAll('MissionStartPhase3');