Giter Club home page Giter Club logo

basm's People

Contributors

nathen418 avatar piotrwyrw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

basm's Issues

Updates to the start.sh scripts for sub servers

add a rsync line to the start script for the sub server templates. This would be an easy way to update the plugin jars of each sub server before it starts every time. This can also be used to keep the server jar up to date with a wget call to the paper API or another rsync line to sync the server jars. This is not a good solution in the long term as this will cause lots of writes to the drive. A better solution would be to look at a jar downloaded in the past week and compare it to the md5 checksum of the jar currently in the sub server folder.

#1/bin/bash
echo "syncing plugin folder"
rsync -aP --delete {template_path}/plugins/ {server_path}/plugins/
echo "Syncing server jar"
rsync -aP --delete {latest_server_jar_path}/ {server_path}/

echo "Starting server screen"
screen -d -m -S {server_name_here} bash -c 'java -jar paper_latest.jar'
echo "Screen Started"

FIx server_dictionary.json being overwritten

the file keeps being overwritten by new data each time a server is added, rather than the data being appended to the file.

It should look something like this when done
Currently looks like this:

It should look something like this when done

Reference:
https://github.com/Antares-Network/BASM/blob/development/src/main/java/com/antares/basm/Entry.java
https://github.com/Antares-Network/BASM/blob/development/src/main/java/com/antares/basm/ServerCreator.java

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.