forked from lrdfrd/McMa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
53 lines (30 loc) · 1.5 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
This code is free to use/modify/distribute.
I do not provide warranty for this code. it is open and free. period.
please donate at https://pledgie.com/campaigns/28676
thanks.
Notice:
This was created for and tested on Ubuntu 14.04 server 64bit with screen.
Although it should work on most if not all newer Linux 64bit debain based distros with screen.
If you don’t know what screen is… you probably shouldn’t be reading this. :)
But if you don’t, just make sure you have it installed.
Or install it with:
sudo apt-get install screen
Or my favorite, Byobu which includes screen and is much better (in my opinion):
sudo apt-get install byobu
Also, have McMyAdmin working before using this, this is for autorun and control of McMyAdmin from the command line and/or ssh.
How To Install (ubuntu 14.04)
Use your favorite editor (I prefer nano) to create file called "mcma" in /etc/init.d/
cd /etc/init.d
sudo nano mcma
and paste the code in that file.
Edit the USERNAME=minecraft variable according to your setup.
(Replace "minecraft" with your username.)
Make sure the newly created file has the required permissions.
sudo chmod a+x /etc/init.d/mcma
then install the script with:
sudo update-rc.d mcma defaults 99 01
if you need to remove the script use:
sudo update-rc.d -f mcma remove
PS: this assumes a default install of mcmyadmin using their directions. If you made any changes then this may not work.
But if you did make changes, then you should know how to make this work anyway.... right? :)
Enjoy.