Git Product home page Git Product logo

mincraftrestarter's Introduction

Mincraft Restarter

Programm to restart minecraft servers

Allowed to check if server online localy on server and globaly on internet, by domain for example

If server offline restart it the best way possible, by killing process or sending command on server screen

Works only on linux OS

How to use?

  • Download last jar and configs from Build folder
  • Put it in minecraft location
  • Allow jar run as executble
  • Tweak you configs in MineRestarter/MincraftRestarter.ini
  • Run screen on server for example screen -S MinecraftRestarter
  • cd to programm location for example cd /home/username/minecraftServer/
  • run command "java -Xmx124M -Xms124M -jar MinecraftRestarter.jar" also you can create .sh file to run it instead
  • Press Ctrl + A + D to exit screen

Options description

  • checkIntervalInSconds - interval to check server online or not
  • serverStopTimeInSeconds - time to stop server correctly after stop command
  • serverStartTimeInSeconds - time to run server correctly after start
  • serverLocalIp - 0.0.0.0 or localhost for local server ip adress
  • serverGlobalIp - global ip adress or domain for example mc1.gregtechrus.ru or 345.23.345.67
  • serverGlobalPort - global port of server 25565 by default
  • serverLocalPort - loсal port of server 25565 by default
  • screenTag - string replace for commands
  • screenName - screen name in linux OS to use for server
  • serverStopServerCmd - server stop command to send on running screen
  • serverKillServerCmd - kill server command to OS
  • serverRunCmd - server run command

mincraftrestarter's People

Contributors

serious07 avatar

Watchers

 avatar

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.