Skip to content
Bug Reports
0

Changing minecraft software may break stop action

FixedSeverity: MediumMC VersionsPhoto of CrazyDev22CrazyDev22

What happened? When changing to a software like velocity and bungeecord, that doesn't have the stop command, on a minecraft egg that uses it causes the server to be unable to shutdown gracefully

Steps to reproduce

  1. Create a vanilla egg based (vanilla, fabric, paper, ...) server
  2. Go to Versions and switch to a non vanilla based software (velocity, bungeecord, waterfall)
  3. Start the server
  4. Stop the server
  5. Observe the command not found error

Expected behavior Changing software should update the stop command too, maybe by updating the egg that the panel uses in the background?

Versions Extension version: 1.0.1 Pterodactyl Panel: 2.0.0-beta.4 Wings: 1.13.6 PHP: 8.5.13

1 reply

  1. Photo of Fravowo SubiandoFravowo SubiandoTeam

    Fixed in MC Versions v1.1.0!

    MC Versions now extends Pterodactyl's EggConfigurationService (VersionAwareEggConfigurationService) and wraps SendsServerPower (PowerPortSyncWrapper) so Wings dynamically receives the correct per-software stop command (shutdown for Velocity/Velocity-CTD, end for BungeeCord/Waterfall, stop for standard Minecraft servers & NanoLimbo) and startup completion patterns.

    Graceful shutdowns work reliably across software switches without having to change the server Egg manually.

Want to join the conversation? Sign in with Google or GitHub to take part — it takes one click.