help server auto starting and stopping.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Zenkaipu

New Member
Jul 29, 2019
3
0
0
Oke I'm getting really frustrated, I've been busy searching the web all day and can't find a solution...

Here's the problem:
I got a new pc and decided to use my old one as a minecraft server, I installed windows server 2008 and configured it that everyday it will boot at 12:00am and shuts down at 23:30pm. I created a modpack like FTB to play while waiting for the official release.

What I want to setup is that when the pc boots:
-The minecraftserver starts
-At a certain time the server force-saves and restarts.
-before the pc shuts down(at 23:20 for example) the minecraftserver gets stopped using the "stop" command.

I tried server wrappers like mcmyadmin and multicraft but they fail when using multiple mods and forge.

If anybody knows a solution I will be the happiest person on this planet <3

-Zenkaipu
 

Ioakim

New Member
Jul 29, 2019
7
0
0
What I want to setup is that when the pc boots:
-The minecraftserver starts
-Zenkaipu

that part is easy

make a shortcut for what ever file you use to start your server(.bat, .jar, .exe) and put it in the start up folder, start menu>all programs>Startup
this way when the computer starts up the server will automatically run with out you even being there

other than that i cant help ya anymore
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
using mcmyadmin normaly works perfectly if you have it installed.

Its not the only sollution at all. Windows server has a scheduler where you can put in time events or events on boot up and so on.
http://onlinehelp.hostbasket.com/se...-a-scheduled-task-in-windows-server-2008.html


This will not do any console commands but mcmyadmin will. And it is working with mod servers fine here.
Or
spacebukkit is just simple commands, no mono and that.

I dont know is spacebukkit has got save features. I gues it will have it. I still need to look at it myself but try that one maybe.
 

Zenkaipu

New Member
Jul 29, 2019
3
0
0
The main problem with adding the server to the startup folder is that the console doesn't show up. The server is running, but there is no way of seeing :p