/xrestart and /xshutdown

/xrestart and /xshutdown

Postby Elisa202 » 07 Jun 2014, 19:11

Alright so i am requesting someone to make two commands for me. This is also in 800craft. When you use /shutdown you could specify when you want the server shutdown. Like if you did /shutdown 2h then the server will be shutdown in 2 hours. So goes with restart.
Elisa202
 
Posts: 4
Joined: 09 Oct 2013, 15:57

Re: /xrestart and /xshutdown

Postby joppiesaus » 07 Jun 2014, 20:55

Well, I tried. It doesn't work. I don't know why. Have some cats instead.
I also wish there were functions for the server to shutdown or restart without notice or 20 seconds waiting time.
But here it is anyways.
Spoiler:
joppiesaus
 
Posts: 379
Joined: 20 Aug 2012, 07:28
Location: in a obsedian house, with glass in it so i can see the lava!

Re: /xrestart and /xshutdown

Postby HelloWorldCool » 08 Jun 2014, 03:56

joppiesaus wrote:Well, I tried. It doesn't work. I don't know why...
I also wish there were functions for the server to shutdown or restart without notice or 20 seconds waiting time.




I think I am the cause of that. I asked dzienny to create a /shutdown command. If you go back to around MCDzienny 7.0 there wasn't even a command to shutdown the server. No offense dzienny :P


So joppiesaus, If you want to shutdown immediately with no wait time just press the red x button of the window.
Image
Download fCraft maps! - viewtopic.php?f=25&t=3012!



Note: The Developer(s) of MCDzienny have resigned and the software is no longer supported.
Errors are bound to occur and Mojang has not attempted to resolve them.
User avatar
HelloWorldCool
 
Posts: 867
Joined: 18 Oct 2011, 00:19
Location: MCDzienny Forums, HelloWorldCool Forums

Re: /xrestart and /xshutdown

Postby HelloWorldCool » 08 Jun 2014, 04:02

Elisa202 wrote:Alright so i am requesting someone to make two commands for me. This is also in 800craft. When you use /shutdown you could specify when you want the server shutdown. Like if you did /shutdown 2h then the server will be shutdown in 2 hours. So goes with restart.



Hello Elisa202,

As far as your request I think that is a good idea and possible; can either base off function "restart time at: 12:00 PM" or use command arguments like:

Code: Select all
/shutdown [n]
n= time (secs)
----------------------------------------------
If n is left blank, default is 20 seconds.



[ an alternative(for the time being) is using Windows Task Scheduler as dzienny may be on vacation :)]
Download fCraft maps! - viewtopic.php?f=25&t=3012!



Note: The Developer(s) of MCDzienny have resigned and the software is no longer supported.
Errors are bound to occur and Mojang has not attempted to resolve them.
User avatar
HelloWorldCool
 
Posts: 867
Joined: 18 Oct 2011, 00:19
Location: MCDzienny Forums, HelloWorldCool Forums

Re: /xrestart and /xshutdown

Postby HelloWorldCool » 18 Jun 2014, 02:59

Sidenote:

I found this with random experimenting lol.


In Linux:
Code: Select all
Ctrl + shift + z
exit
exit
clear


Stops server immediately.


In Windows:
Either press x, or right click in tray and click shutdown.
Download fCraft maps! - viewtopic.php?f=25&t=3012!



Note: The Developer(s) of MCDzienny have resigned and the software is no longer supported.
Errors are bound to occur and Mojang has not attempted to resolve them.
User avatar
HelloWorldCool
 
Posts: 867
Joined: 18 Oct 2011, 00:19
Location: MCDzienny Forums, HelloWorldCool Forums

Re: /xrestart and /xshutdown

Postby _Retaliate_ » 18 Jun 2014, 20:07

I did it with shutdown, it would be really simple to redo it for restart, but unfortunately I'm lazy ;)
So if someone else wants to do it themselves, by all means, do it.
viewtopic.php?f=19&t=2884
Image
_Retaliate_
 
Posts: 68
Joined: 26 Sep 2013, 11:16


Return to Requests for Addon

Who is online

Users browsing this forum: No registered users and 1 guest

cron