Hi, I was wondering what would be the best way to run commands on a minecraft server with some C# code, and how the C# code would access the console, and the players online list, and maybe other data like players IP addresses, thankyou if you can help. im new to minecraft forums.. If i did something wrong please let me know
Hi, I was wondering what would be the best way to run commands on a minecraft server with some C# code, and how the C# code would access the console, and the players online list, and maybe other data like players IP addresses, thankyou if you can help. im new to minecraft forums.. If i did something wrong please let me know
From what I'm aware, there's no easy way of natively interacting with the Java server client with other languages.
I would either make a database for an api for the data you want, or just use Java.
If you wan't access to the console externally like on the internet, or localhost if you want, you're going to need to use the RCON protocol.
I did find this https://github.com/stefanodriussi/rconsharp
Havent looked at it, but it might be useful!
Tell me if you have any luck!
Leave a thanks if I helped you!