-
Notifications
You must be signed in to change notification settings - Fork 257
McMyAdmin
📂 Click Here - Sign up for Google's Suite for Business - Unlimited Space
📂 Click Here - NZB's with from NewsHost - PG Members Receive a 58% Discount
Table of Contents
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.
Post: https://pgblitz.com/threads/mcmyadmin.3387/#post-19746
When you first try to access the McMyAdmin web interface, you'll be "greeted" by a denied access image:
In order to access McMyAdmin you have to "initialize" the default username, and then change it. **Note that for all commands below that need to be typed that have quotes around them - DON'T type the quotes!**-
First, SSH into your server.
-
Type
docker exec -it mcmyadmin /bin/bash
-
Now that you are operating "inside" the McMyAdmin Docker container, type
./minecraft/MCMA2_Linux_x86_64 /quit
-
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.
-
Once the update is complete, type
exit
to leave the Docker container and return to your main server command line. -
Stop the McMyAdmin Docker container either through Portainer or type
docker stop mcmyadmin
. -
Restart the McMyAdmin Docker container either through Portainer or type
docker start mcmyadmin
. -
Login on the web portal with the default username admin and password password.
-
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
toSecurity.DisableFileTransferRestrictions=True
.
For quick downloads and install of Spigot or CraftBukkit versions of Minecraft:
-
SSH into your main server
-
Go to the Minecraft game directory which is found in /opt/appdata/mcmyadmin/Minecraft (i.e. type "cd /opt/appdata/mcmyadmin/Minecraft")
-
For latest CraftBukkit, type the command:
wget -O craftbukkit.jar https://cdn.getbukkit.org/craftbukkit/craftbukkit-1.13.2.jar
-
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):
-
Type
sudo apt install openjdk-8-jre-headless
to update the Java JRE -
Type
sudo mkdir /opt/appdata/mcmyadmin/spigot
-
Type
sudo chown 1000:1000 /opt/appdata/mcmyadmin/spigot
-
Go to the spigot directory (type
cd /opt/appdata/mcmyadmin/spigot
) -
Type
curl -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
-
Type
git config --global --unset core.autocrlf
-
Type
java -jar BuildTools.jar
-
Wait as it builds your jars. In a few minutes you should have freshly compiled jars!
-
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
-
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
)
Home - https://plexguide.com