[RELEASE] kickForRestart

?
I am not sure what exactly you mean, but.you are on a restart resource topic! :wink:
Congratulations! - pewdiepie (you donā€™t know that song? Ok thatā€™s off topicā€¦)

Like what do you use to restart your server, automatically?

I do not use a ā€œauto restartā€ resource for any server, because there arenā€™t any (or I didnā€™t found one)

If you want to use something like auto restarting then take a look at
https://zap-hosting.com/de/shop/product/cloud-gameserver/320/

They giving you the possibility to restart your server full automatic.

Is it possible for you to add a schedule system to your script based on the server time?

Example: it is 6am the script runs the command for kick everyone automatically

Thanks

1 Like

Yeah, Iā€™ll take a look into it later. Thanks for your suggestion!

1 Like

is there any way to add it to [Release] Auto Restart Server

so the command execute throw the massage chat ? or is it hard to do ?

and thank you for awesome script :hamburger::hamburger:

Well, personally I donā€™t want to make another resource to a dependency, but as LawZze wish, I will add a time function, make it possible to kick people on a certain time. Also I will add a Auto restart by myself, so you will not need to have any other dependency installed.
Thanks for your suggestion,
Have a nice day :hamburger: :mascot:

4 Likes

Well, for everyone, whoā€™s still awaiting the new update of KickForRestart, I really appreciate it and want to release the update as soon as possible, everything is done, only problem is that noone can connect to the server after a restartā€¦ Please give me the time to fix that, and the wait will worth it! :mascot:

(if someone already knows a fix, then I appreciate it if someone would dm, I started a ā€œbugā€ report topic as well, which can be found here: Couldn't bind on )

have a nice day! :hamburger:

1 Like

Kick_Restart version 2.8

addings table:

  • added /planrestart command (restarts after the given time ingame)
  • added config table to set up the restarts
  • added /stopplan to stop restart if planned with /planrestart
  • added changed restart command to /dorestart

important!
the server does not restart it self yet. the users will only get kicked after the time setted.
still waiting for a bug fix for the reply I made above ^

link:

1 Like

Its work with /planrestart time:time:time but for some reason its not work with auto restarttimes :open_mouth: , have any idea why?

Well, thatā€™s weird tho, it should work, I have tested it before Iā€™ve released the update and everything has worked fine for meā€¦

Iā€™ll check my script after I have slept, in that time I recommend you to check if you might have forgotten to set a ā€œ,ā€ or did a wrong spell.

Thanks for reporting, Iā€™ll take a look.

Edit: also make sure that this is setted to true:
userestartplanner = false --change to true to activate the table planner below:

I have tried twice, nothing happend.

Iā€™ve updated the resource! Made a few mistakes as I have seenā€¦

Well, you can download it on the old download link, here

  • fixed bug, that you cannot restart with the restart table (thanks to @ItsTaras for reporting :heart: )
  • added a debug.time configuration, which prints the time as debug option into the console

have a nice day! :hamburger: :mascot:

Thanks, going to test it right now, its work with 128 slots?Āæ
I heard that is not kick all people, only half ~ dont know if its true, gonna check it

@Real-hamburger

Error parsing script @kick_restart/server.lua in resource kick_restart: @kick_restart/server.lua:82: ā€˜thenā€™ expected near ā€˜=ā€™

and

Error parsing script @kick_restart/server.lua in resource kick_restart: @kick_restart/server.lua:98: ā€˜thenā€™ expected near ā€˜=ā€™

fixedā€¦ xD

Edit and fixed the other one too now.

thatā€™s weid to hear, and it should kick all people, so if it does not work, please report it, and Iā€™ll take a look into it.

by the way, thanks to all 86 servers using kickrestart

For some reason he is not kicking everyone.

From 35 ppl only 10 was kicked and two days ago from 80 ppls was like 30ppls kicked seems like kick 10% or 20% of totalplayer onlineā€¦

alright, thanks for reporting, I will fix this as soon as possible.

After the second restart, i cannot log in.

When i am login, the server is kicking me always, itā€™s been more than ten minutes and server is still kicking me.