Giter VIP home page Giter VIP logo

mcserver's Introduction

MineCraft Server Improved Version

Youtube Channel For Tutorial.

This project is to make installation of Minecraft server easier on any ubuntu/debian running machine. It is heavely focused to host this minecraft server to the cloud. To make the script i have taken Inspiration from lot of people For Example BugsWriter & None Other than LukeSmith. And also the service PLAYIT.GG.

The Older version is still running but not recommended to install because of some issues with disconnecting and installation of modded minecraft servers.

Installation

  • Activate a Google Cloud Shell on Google cloud.
  • Clone the following repository with the below command..
git clone https://github.com/lordofwizard/mcserver
  • Go inside the mcserver directory
cd mcserver
  • Make everyfile execulable
chmod +x *
  • Now Run the Installation Script with the following command
./install
  • Then start the server with the following command.
./startserver
  • now stop the server {Because it won't load unless you enable the Eula Services
cd server
nano eula.txt

{TIP CTRL+o to save{DOn't forget to press enter} and CTRL+x to exit}

  • Make the eula=false ---> eula=true
  • If you are using like a thirdparty minecraft launcher for example Tlauncher Then do the following steps.
nano server.properties
  • Make the line online-mode=true ---> online-mode=false {TIP CTRL+o to save{DOn't forget to press enter} and CTRL+x to exit}

  • Now go back into the main directory cd ..

  • Stop the server

./stopserver
  • Now start the server again
./startserver
  • Everything is now SET and server is running perfectly Fine
  • To get the URL of the server do the following command
screen -r playit
  • Then claim the url for your server and then you are set.

  • Also if you want a different url you can do that with reinstalling the server note this is remove your privious world

  • To Detach the session you can do it using the following keyboard shortcuts

  • CTRL+a & CTRL+d

  • To GO inside the console of the Minecraft server you can paste this command

screen -r server
  • To Detach the session you can do it using the following keyboard shortcuts
  • CTRL+a & CTRL+d
TO STOP THE SERVER TYPE exit and press enter

TO KEEP THE SERVER ALIVE

  • To keep the server alive we have created a script.py( which requires python3 and pynput installed on your computer). For Linux and Mac-OS users
python3 script.py

For BINBOWS 10 or older versions DO the following

python script.py

THANK YOU

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.