McMyAdmin - n05urpr1532-MHA-Team/PTS-Team GitHub Wiki

.

Table of Contents

  1. Intro
  2. Instructions
  3. CraftBukkit and Spigot install

1. Intro

McMyAdmin is the leading web control panel and administration console for Minecraft servers, trusted by over 75000 server admins and more than 35 different service providers. McMyAdmin makes it easy for you to control your Minecraft servers via it's straight forward user interface and mobile apps.

https://www.mcmyadmin.com/


2. Instructions

Post: https://PTS/threads/mcmyadmin.3387/#post-19746

Includes McMyAdmin front end and built-in (standard) Minecraft server.

When you first try to access the McMyAdmin web interface, you'll be "greeted" by a denied access image:

  1. First, SSH into your server.

  2. Type docker exec -it mcmyadmin /bin/bash

  3. Now that you are operating "inside" the McMyAdmin Docker container, type ./minecraft/MCMA2_Linux_x86_64 /quit

  4. You will get a message telling you the updater will download and install McMyAdmin to the current directory, and prompt you Y/N. Go ahead and type Y.

  5. Once the update is complete, type exit to leave the Docker container and return to your main server command line.

  6. Stop the McMyAdmin Docker container either through Portainer or type docker stop mcmyadmin.

  7. Restart the McMyAdmin Docker container either through Portainer or type docker start mcmyadmin.

  8. Login on the web portal with the default username admin and password password.

  9. Change the password for the admin user from the McMyAdmin web interface. (You can add a new user and delete "admin" if you want from the web interface.)

Notes:

    • DO NOT add "minecraft.tld" to your DNS settings (i.e. Cloudflare or otherwise) if you want people to go to minecraft.tld as the game server name. You still need to add mcmyadmin to your DNS settings however. I.e. assuming your server TLD is myawesomeserver.org once you've established your Minecraft server through McMyAdmin, anyone who wants to use it through their Minecraft game can go to "minecraft.myawesomeserver.org". Of course, they can just use your server's IP if you prefer.
    • With the free McMyAdmin account you can only manage one world, which by default is set to run on the standard Minecraft port of 25565.
  • -You can drag and drop files into the web interface of McMyAdmin to upload them to the server. However, by default "jar" files (i.e. Java files - which are most plugins) are not allowed. If you want to remove that restriction, first STOP the mcmyadmin docker container. Then from your server edit the McMyAdmin.conf file (should be /opt/appdata/mcmyadmin/McMyAdmin.conf). Look in the first grouping titled #Security and near the bottom of that grouping change the line Security.DisableFileTransferRestrictions=False to Security.DisableFileTransferRestrictions=True.

3. Mods

For quick downloads and install of Spigot or CraftBukkit versions of Minecraft:

  1. SSH into your main server

  2. Go to the Minecraft game directory which is found in /opt/appdata/mcmyadmin/Minecraft (i.e. type "cd /opt/appdata/mcmyadmin/Minecraft")

  3. For latest CraftBukkit, type the command: wget -O craftbukkit.jar https://cdn.getbukkit.org/craftbukkit/craftbukkit-1.13.2.jar

  4. For latest Spigot, type the command: wget -O spigot.jar https://cdn.getbukkit.org/spigot/spigot-1.13.2.jar

For the latest builds that you can create and update yourself (from https://www.spigotmc.org/wiki/buildtools/#linux):

  1. Type sudo apt install openjdk-8-jre-headless to update the Java JRE

  2. Type sudo mkdir /opt/appdata/mcmyadmin/spigot

  3. Type sudo chown 1000:1000 /opt/appdata/mcmyadmin/spigot

  4. Go to the spigot directory (type cd /opt/appdata/mcmyadmin/spigot)

  5. Type curl -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar

  6. Type git config --global --unset core.autocrlf

  7. Type java -jar BuildTools.jar

  8. Wait as it builds your jars. In a few minutes you should have freshly compiled jars!

  9. You can find the newly created CraftBukkit and Spigot jar files in the same directory you ran the the BuildTools.jar in - i.e. /opt/appdata/mcmyadmin/spigot

  10. Copy and rename the craftbukkit-x.x.x.jar and/or spigot.x.x.x.jar to the Minecraft directory (i.e cp craftbukkit-1.13.2.jar /opt/appdata/mcmyadmin/Minecraft/craftbukkit.jar)