cappig / mc-status-bot Goto Github PK
View Code? Open in Web Editor NEWA Discord bot that makes it easy to display, log and graph the status and statistics of a Minecraft server. ๐
License: MIT License
A Discord bot that makes it easy to display, log and graph the status and statistics of a Minecraft server. ๐
License: MIT License
The ping command sometimes doesn't return anything. Status channels display wrong status. (Reported by users)
no
wait for it to loop though guilds ping mc servers and edit logs
server will crash with Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
<--- Last few GCs --->
[26:0x644dfe0] 12441 ms: Mark-sweep (reduce) 557.0 (567.5) -> 557.0 (567.5) MB, 581.9 / 0.0 ms (+ 41.3 ms in 12 steps since start of marking, biggest step 4.5 ms, walltime since start of marking 626 ms) (average mu = 0.238, current mu = 0.197) allocat[26:0x644dfe0] 12611 ms: Scavenge (reduce) 559.7 (569.2) -> 558.7 (569.2) MB, 0.4 / 0.0 ms (average mu = 0.238, current mu = 0.197) allocation failure
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xb00d90 node::Abort() [/usr/local/bin/node]
2: 0xa1823b node::FatalError(char const*, char const*) [/usr/local/bin/node]
3: 0xcedbce v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0xcedf47 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
5: 0xea6105 [/usr/local/bin/node]
6: 0xea6be6 [/usr/local/bin/node]
7: 0xeb4b1e [/usr/local/bin/node]
8: 0xeb5560 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
9: 0xeb84de v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
10: 0xe7990a v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node]
11: 0x11f303c v8::internal::Runtime_AllocateInOldGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
12: 0x15e7819 [/usr/local/bin/node]
/entrypoint.sh: line 15: 26 Aborted (core dumped) /usr/local/bin/node /home/container/${BOT_JS_FILE} ${SERVER_PORT}
set nodejs version to 16
download bot files
start server
wait for it to loop though the guilds and update the mc status
the emoji that should be a green circle is not accessible, and most of the time it's just a square
how to set graphs status on a channel
The channels display servers as offline even when they're not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.