Click here to Skip to main content
15,891,908 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm currently working on a Minecraft Server Manager by myself, which should be able to handle all kinds of Minecraft Servers...

I've managed to get it working with a normal (Bukkit) Server with both redirecting the Input and the Output of the server...

But I found out, while testing, that I got some issues working with BungeeCord Servers (Minecraft Proxy Servers)... It seems, that the StandardInput of the Process is not working... Although I don't get any Exceptions on the UI Process and on the ErrorOutput, it looks like that my commands I'm trying to use were not executed on the server....

What I have tried:

I tried to use
C#
StandardInput.Write("command")
, as well as
C#
StandardInput.Flush()
for making sure that the server may get the commands, but both didn't change anything....

I also made some researches, but it looks like, that most people just used a normal bukkit server, which is already working with my code...


My code is based on a snippet I've found on the net, with only some small changes like changing the stop command to "end" because this is set as a default for BungeeCord Servers


This is the link of the snippet: https://gist.github.com/NoobTaco/4a597d3fd2b34f2af10e
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900