Comments (10)
Ok I have found a solution for this problem.
I will write something in python completely detached from pterodactyl panel in the next weeks so that it works whatever the pterodactyl version is.
Please contact me on
[email protected]
for further informations so that I can close this issue.
from minecraft-server-hibernation.
Yea sure I may be able to help you but i need a little more info!
Why do you need specifically javascript?
How are you trying to integrate this script in the pterodactyl panel?
What is your general situation? (what games are we talking about? how many? is it all on one machine?)
Do you want to use pterodactyl because it uses Docker so the start and stop of the server is immediate?
just to make an idea of your specific case... mybe we can make it work without having to rewrite the entire pterodactyl repo... 👍
from minecraft-server-hibernation.
Do you need to visualize remotely with a browser all the servers running or you just need to run multiple game servers on the same machine?
from minecraft-server-hibernation.
Hello,
Thank you for your positive response.
So for a little summary.
I am busy redoing the administration of my servers with the pterodactyl panel.
I currently have two centos 7 servers.
Indeed pterodactyl uses docker and Javascript well.
I don't know more than that.
I would like all minecraft servers to be automatically, when creating the server, with a hibernation system.
Kind of like the McMyAdmin panel suggests.
Thank you for your time and your work.
from minecraft-server-hibernation.
Yes, I use the browser to manage all the servers (pterodactyl panel) if your code can be executed when creating a new server this would be perfect. An option for the user seems to me to be too complicated (enable-disable sleep mod)
But if I already know how to force minecraft vanilla or mod servers to have a system like McMyAdmin. This would save me a lot of cpu and ram resource for servers with zero players.
from minecraft-server-hibernation.
i could write an external program that launches automatically the docker server (and i would write some config file so that it is easy to add each docker id in a simple manner)
if you run from terminal this command and while keeping it running you check the panel, does it shows as running?:
docker run -i -t <image-id> /bin/bash
(you should find the image-id in "server configuration" with the variable name: "UUID / Docker Container ID")
from minecraft-server-hibernation.
Indeed, it seems to stay online
from minecraft-server-hibernation.
yea i mean...
- from the browser set the minecraft server offline
- then run the command via ssh or terminal
- finally check if on the browser the minecraft server is shown as launched (and everything looks as normal)
if it works i can find a workaround that can work even if pterodactyl gets updated/changed
from minecraft-server-hibernation.
@Ho2x if you are still interested i wrote a cool program that does exacly this for pterodactyl
I've uploaded it on mc market and waiting for verification but if you need it I can send it to you
from minecraft-server-hibernation.
@Ho2x pterodactyl server hibernation is finally out!
You check it out here!!!
from minecraft-server-hibernation.
Related Issues (20)
- Stopping msh with `msh exit` while ssh'ed prevents text input in cli. HOT 1
- connection count (0) different from list command player count (10) [00f500] HOT 4
- Support for MS Bedrock HOT 9
- Docker container start / stop support HOT 2
- add `ServPort` and `ServPortQuery` start parameter HOT 1
- help with forge minecraft server setup (bat/ps1 server launcher script) HOT 1
- Timeout at login HOT 3
- Forge Servers 1.17+ Installation Impossible HOT 3
- Line break in the middle of logs lines
- Add detection for placeholder players
- Conflict on stop detection
- Failure to loadDefault HOT 1
- Add option to set default target application
- MSH crash on start HOT 1
- add log to file functionality
- Unfreeze Server on POSIX signal
- Automatic Queue System HOT 1
- [Feature Request] - named pipe support
- Create an alias from "mine" to "/". HOT 2
- Server shutting down automatically even with players connected HOT 2
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 minecraft-server-hibernation.