Quozul / OnDemandServer

BungeeCord/Waterfall plugin to start and stop Minecraft servers when players are playing on

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On demand server

BungeeCord plugin to start and stop minecraft servers when players are playing on.

This is a BungeeCord/Waterfall plugin that can execute a command when a player tries to connect to a server that isn't running.

Use case

You have a dedicated server or a VPS and you want to run multiple Minecraft servers on it while keeping the resource usage as low as possible.

Usage

  1. Drop this plugin into your BungeeCord plugin's folder.
  2. Start then stop the proxy once.
  3. Open the plugin's config file and enter your servers address with their commands.
  • Do not put a command that requires user interaction, the process will wait forever!

Current features/functioning

  • Detect if a server is running on the server's port on the local machine.
  • Start the servers if not running.
  • Stops the servers if no players are on after a given delay (in plugin's configuration).
  • Send customized player messages.

Permissions

  • ondemandserver.reload Reload plugin's configuration
  • ondemandserver.report Check running servers

Defects

  • If the proxy crashes, the Minecraft servers might still be running but can't be controlled by the user nor the proxy.
  • Not tested on distant servers.

TODO

  • Fix orphan servers. (Windows only)
  • Test distant servers.
  • Add load balancing feature.
  • Commands:
    • create a server on-the-fly and add it to config file.
      • set an automatic deletion.
      • Permissions:
        • maximum servers per player.
        • maximum auto deletion delay per player.
        • maximum ram per server per player.
    • remove a server from config file (only the servers created on-the-fly).
    • start a server.
    • stop a running server.
  • Web interface to manage servers (plugins, worlds, start/stop, create, monitor, ...).
  • Port to Velocity.

About

BungeeCord/Waterfall plugin to start and stop Minecraft servers when players are playing on


Languages

Language:Java 100.0%