![]() |
MCServer Autoupdate Script (for Linux) - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: MCServer Autoupdate Script (for Linux) (/thread-1183.html) |
MCServer Autoupdate Script (for Linux) - tigerw - 07-12-2013 Salutations! Since updating whilst trying to preserve configuration and world is so tedious, for me anyway, I wrote a little updater script. ![]() ![]() This script detects your platform, downloads the correct ball of tar from Bearbin's Automated Building Server, extracts, stops MCS, copies, and starts. To use this script, make sure you are one up from you server folder, and enter the command: Code: wget https://github.com/tigerw/MCServer-Autoupdate-Script/raw/master/updateserver.sh && bash updateserver.sh To see the source code, visit the hub of gits page. Near completely rewritten with 200% extra functionality, courtesy of the venerable and awesome Bearbin! Visit his hub of gits here. Additional contributions stem from xoft and jimmis' recommendations. Your help was gratefully received! Thanks for looking! RE: MCServer Autoupdate Script (for Linux) - tonibm19 - 07-12-2013 Good, a MCServer server. The only problem is that I use 1.5.2 because 1.6.2 is laggy ![]() I hate new launcher. RE: MCServer Autoupdate Script (for Linux) - xoft - 07-12-2013 Oooh, a public MCServer server ![]() RE: MCServer Autoupdate Script (for Linux) - tonibm19 - 07-12-2013 I just donwloaded 1.6.2 and now server is offline ![]() tigerw, please, can you set authentificate to 0? ![]() You can use STR_Warrior Login plugin. RE: MCServer Autoupdate Script (for Linux) - tigerw - 07-12-2013 (07-12-2013, 10:00 PM)tonibm19 Wrote: I just donwloaded 1.6.2 and now server is offline Hello! Switched off authentication. Do you not have an account for MC? RE: MCServer Autoupdate Script (for Linux) - tonibm19 - 07-12-2013 Thank you. I haven't a minecraft account but I think I'll buy it in the future because I really like Minecraft. It only could be better if it were not written in java. About your server, now I can't join, I'm not on the computer, but, is creative or survival? RE: MCServer Autoupdate Script (for Linux) - jimmis98 - 07-13-2013 I think that this could be of some help. RE: MCServer Autoupdate Script (for Linux) - tigerw - 07-13-2013 (07-12-2013, 11:56 PM)tonibm19 Wrote: Thank you. It's survival, but if you want creative mode, give me your username and I shall promote you to a higher rank. (07-13-2013, 01:54 AM)jimmis98 Wrote: I think that this could be of some help. Nah, that's the vanilla server. It generates its config files, but the configuration for MCServer comes with the package. That is why it's frustrating, because with every new update, the old configs are overwritten. RE: MCServer Autoupdate Script (for Linux) - xoft - 07-13-2013 You don't need to extract the config files, just instruct your unzipping program to extract only the binary. RE: MCServer Autoupdate Script (for Linux) - jimmis98 - 07-13-2013 (07-13-2013, 02:11 AM)tigerw Wrote:(07-13-2013, 01:54 AM)jimmis98 Wrote: I think that this could be of some help. If you check the script, there is a part that closes the server. Here it is: Quote:mc_stop() { |