Giter Club home page Giter Club logo

serverterrariatf's Introduction

✨ Terraria Dedicated Server On NodeJS

  • Run Terraria servers (or any other game servers) on NodeJS ⚽
  • Set up your config file and start the server 💡

❓ Idea

We can't run ".exe" files on sites like Heroku or Glitch. But we can do anything with child_process, a nice thing that NodeJS gives us. Here I give an example of "Terraria", a game I play frequently, but you can set up a server for any game you want. The working logic of the system is as follows: First, we download the server files with the "request" module and build these files with the necessary commands. (You can use child_process for this operation too.) I call this phase "build". When the "build" phase is over, we spawn the ".exe" extension server file we downloaded with child_process. And I call this phase "start". At this phase, your server is now up and running.

📦 Build and Running

  • Run yarn build or npm run build to build and configure server files. Make sure you use this command only once. Because every time you use this command, your old server files are deleted. 🏗️
  • Run yarn start or npm run start to start server 🎬

🔗 Contributing

Feel free to use GitHub's feautres. ✨

serverterrariatf's People

Contributors

asdii avatar hokagay7 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.