Giter VIP home page Giter VIP logo

Comments (9)

errorcode404wtf avatar errorcode404wtf commented on July 30, 2024 1

Umm, my Unturned server is crashing, I don't need to restart my dedicated everytime it crashes. This isn't even close to what I was talking about.

from rocket.unturned.

errorcode404wtf avatar errorcode404wtf commented on July 30, 2024 1

Sorry, I have a tendency for being a dick. I am quite new to this whole thing and I really don't understand the post. I have tried using the check.sh but that only started the server, didn't reboot it when it crashed. I honestly have no idea what to do, again I'm sorry for being a dick.

from rocket.unturned.

jserodio avatar jserodio commented on July 30, 2024

You might want to check this for automatic rebooting of your server (in case of a crash).
Check the answer: http://stackoverflow.com/questions/38465751/reboot-is-not-working-in-cron

from rocket.unturned.

jserodio avatar jserodio commented on July 30, 2024

Hackers can take down our servers easily. I've seen it doing in my own server. All you can do is ban hackers and try to keep it online. Some plugins could make it crash too, but in that case you could see it in the logs.

from rocket.unturned.

errorcode404wtf avatar errorcode404wtf commented on July 30, 2024

What exactly am I supposed to use in this auto reboot considering you sent me someone's broken script?

from rocket.unturned.

jserodio avatar jserodio commented on July 30, 2024

It's not a broken script. I made this question to Stack Overflow, and they answered me a very NICE way to restart any scripts like (start.sh) at Linux boot, and even if your unturned server crashes it will auto boot again. This way I've 99.99% of uptime. Remember that I tried to help you and there is no need to be mean in any way. I rarely get a crash, and even if I have one, I don't even notice because of this little trick described in the answer I just provided you. I was willing to share, as you were having issues with 'down for hours, losing players'. You are in Github, this is not a random forum in the random internet, learn to contribute.

from rocket.unturned.

jserodio avatar jserodio commented on July 30, 2024

Apologies accepted, for being honest if you are kinda new to this it can be hard to understand. About the crash you really need to search the logs in '(..)/unturned/Servers/serverInstanceName/unturned.log' or '(..)/unturned/Servers/1/Rocket/Logs'. As I said, the information there would help you determine if your server crashed because of any loaded plugin. You can always try to launch the server without the plugin and wait for some hours if you get any crash (maybe while you sleep).
To launch your server WITHOUT rocket (which means it wont load any plugin) you can run this command BEWARE of your SERVER INTANCE NAME: '/home/steam/unturned/Unturned_Headless.x86 -nographics -batchmode -logfile Servers/serverInstanceName/unturned.log +secureserver/serverInstanceName'

from rocket.unturned.

errorcode404wtf avatar errorcode404wtf commented on July 30, 2024

I'm slowly putting the pieces together. The whole systemctl thing and how it works. Thanks for this. :)

from rocket.unturned.

errorcode404wtf avatar errorcode404wtf commented on July 30, 2024

I have a couple questions,

  1. How would I make the auto restart make a screen to view the console of the server?
  2. How would I make the server auto restart to make sure it's working?

from rocket.unturned.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.