Comments (4)
What you can do is npm install -g forever
and then forever start index.js
.
This will make it auto restart the script on crash :)
from shulker.
Immediately implemented because that is just too dang useful in every situation.
However the script doesn't appear to crash on mc server shutdown. It just says:
[INFO] rcon disconnected
or something like that.
(I say not crashed because I still have to ctrl+c to return to terminal.)
from shulker.
Just add a process.exit(1)
after line 23.
from shulker.
Is it even legal to be that quick to a fix?
Thanks once again my man!
from shulker.
Related Issues (20)
- Discord mentions in MC don't successfully mention in Discord
- Discord messages not in minecraft anymore HOT 8
- Error on sending message from discord to mc HOT 3
- ERR_BUFFER_OUT_OF_BOUNDS HOT 2
- Help with Regex HOT 10
- Help with setting up bot on heroku
- The datapack does not show in my minecraft server HOT 2
- Death message false positives HOT 1
- unable to build HOT 1
- "Cannot read property 'id' of undefined" HOT 14
- player head don't show up in discord as player
- How can I add 2nd channel to send commands to server
- Messages containing norwegian letters Γ¦ ΓΈ Γ₯
- Please help me create the bot I am hella confused. My Discord LUCKY#1840 HOT 1
- Can't get it to work on 1.7.10 Minecraft (GT: New Horizons) HOT 1
- Unicode characters issue in names when sending from Discord to Minecraft
- `/` in RCON commands do not work on Spigot servers
- When @ someone on discord a zero width space unicode is part of the message
- Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet -1/0 (yu) was larger than I expected, found 32 bytes extra whilst reading packet 0 HOT 1
- Chat -> Discord is not working. Everything else works as expected. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shulker.