spark

spark

26M Downloads

Rcon Response is empty

DreiPixel opened this issue ยท 3 comments

commented

im trying to send the "spark tps" command to my server via RCON but the response is empty. all other commands work fine. forge tps also works fine. any idea?

commented

Even if they run async, could you maybe add a command to get the status of, for example, the last command?
So we could:

  • /spark tps
  • /spark lastCommandStatus
  • /spark lastCommandStatus
  • repeat until you get an answer
commented

spark commands run async, so the response cannot be sent via RCON.

commented

Don't want to resurect this old issue, just add maybe a solution for all RCON user who stumbled over this. Like me.

You can use the overrideTpsCommand functionality.

When done, as described you will get via tps the "normal" bukkit/papermc output:

> tps
[19:53:04 INFO]: TPS from last 5s, 1m, 5m, 15m: 20.0, 20.0, 20.0, 20.0