GithubHelp home page GithubHelp logo

terradmin's Introduction

terrAdmin

This application expose Terraria/tShock things to user allowing control game server over web GUI

Setup

  • Get nodejs with npm
  • Clone this repo
  • npm install
  • npm run install-terraria-server or npm run install-tshock
  • Review and make corrections to config.js and server.cfg, you may need to change default credentials (admin, 123456), set ports, world file, etc
  • You should place existsing .wld files in Worlds directory or set configfile autocreate directive to generate new world

Run

  • Type in terminal npm start
  • Open in web browser 127.0.0.1:7878
  • Login credentials stored in config.js file in users[] array

Links

Barebone scenario to run Terraria server

Linux

Setup .net runtime:

sudo apt install mono-runtime -y

Crearte shell script server.sh:

#!/bin/sh
mono ./TerrariaServer/1411/Linux/TerrariaServer.exe -config ./server.cfg

Add execute privilegies to script:

chmod +x ./server.sh

Mac

Install Mono for Mac

Shell script server.sh

#!/bin/sh
mono ./TerrariaServer/1405/Mac/Terraria\ Server.app/Contents/MacOS/TerrariaServer.exe -config ./server.cfg

Windows

Create runnable .bat file with next content:

TerrariaServer\1411\Windows\TerrariaServer.exe -config server.cfg

Docker way (under construction)

docker build -t terradmin .
docker run terradmin

TODO

  • Separate dockers for terrAdmin and game server, resolve admin-server control

terradmin's People

Contributors

alexnd avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yukiminan

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.