Update 'MagicBox : Magicbane in a Box'

master
MagicBot 3 years ago
parent
commit
fbe9791864
  1. 12
      MagicBox-%3A-Magicbane-in-a-Box.md

12
MagicBox-%3A-Magicbane-in-a-Box.md

@ -154,11 +154,11 @@ magicbox~/magicbane$sudo sh @@ -154,11 +154,11 @@ magicbox~/magicbane$sudo sh
### Configuration
> ***mb.conf/** is a directory shared between MagicBox and the host. Inside MagicBox it is mounted at ~/magicbane/mb.conf. User preference through the Run command where on the host the directory is mounted. You can use this direcotry to easily transfer files from the host to the container.
> ***mb.conf/** is a directory shared between MagicBox and the host. Inside MagicBox it is mounted at ~/magicbane/mb.conf. Where this directory is mounted on the host is user preference; controlled through the docker run command. You can use this direcotry to easily transfer files between host and container.
Upon bootstrap MagicBox will first look for [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) within the shared mb.conf/ directory. If not present the game will boot from default copy inside mb.data/. This configuration boots using an internal MySQL server pre-loaded with a wiped database.
Upon bootstrap MagicBox will first look for [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) within the shared mb.conf/ directory. If not present the game will boot from the container's copy within mb.data/. This configuration boots using the internal MySQL server and comes pre-loaded with a wiped database.
The game will inform you on bootstrap the location of the .conf file it is using.
The game will inform you on bootstrap the location of the .conf file that it loaded.
```console
[mbbox@mta6 ~]$ ./magicbox.sh
@ -178,12 +178,12 @@ At the very least a new MagicBox administrator might wish for to change the worl @@ -178,12 +178,12 @@ At the very least a new MagicBox administrator might wish for to change the worl
### Network
It is advised that the Magicbox administrator ***not*** edit the following values. 0.0.0.0 instructs Magicbane to self-configure the bind address and public facing ip.
It is advised that the Magicbox administrator ***not*** edit the following values. 0.0.0.0 instructs Magicbane to self-configure both the bind address and public facing ip.
```MB_PUBLIC_ADDR="0.0.0.0"``` <br>
```MB_BIND_ADDR="0.0.0.0"```
MagicBox uses three ports. If behind a NAT/router the user must [open ports](https://portforward.com/games/) on his router or configure a DMZ.
MagicBox uses three ports. If behind a NAT/router the user must [open ports](https://portforward.com/games/) on his router or configure a DMZ. There is no need to do anything with the firewall of the host machine. Docker will manage that for you.
| Port | Application |
@ -192,7 +192,7 @@ MagicBox uses three ports. If behind a NAT/router the user must [open ports](ht @@ -192,7 +192,7 @@ MagicBox uses three ports. If behind a NAT/router the user must [open ports](ht
| 6000 | Login Server |
| 8000 | World Server |
It is recommended that you change the **external port only** via the docker run command not within [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf). Docker will automatically bridge traffic to the correct internal port.
It is recommended that you change the **external port** via the docker run command (host:container) not within [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf). Docker will automatically bridge traffic to the correct internal port.
> If using a mobile phone tether in a situation where there is no router to port forward then MagicBox still will function locally. See the [Troubleshootings](http://repo.magicbane.com/MagicBane/Server/wiki/Troubleshootings) page.

Loading…
Cancel
Save