arpruss / raspberryjammod

Raspberry Jam Mod - a Mod Forge Minecraft mod implementing most of Raspberry Juice/Pi API
http://www.instructables.com/id/Python-coding-for-Minecraft/
Other
355 stars 95 forks source link

Connect to online server #61

Open John-Naiker opened 2 years ago

John-Naiker commented 2 years ago

Hey. This is amazing! How would one initiate a connection from Scratch or Python to a minecraft server running online rather than locally?

Marcinosoft commented 2 years ago

Yes, but using "RaspberryJuice" plugin dedicated to Minecraft servers like Bukkit, Spigot or Paper. Plugin was developed for Minecraft Java Edition 1.12.1, but It works with latest one 1.18.1 too. This plugin allow to connect to server running on localhost, LAN or via Internet.

https://github.com/zhuowei/RaspberryJuice

xboxone08 commented 2 years ago

If you can install plugins on the server, you could install RaspberryJuice (Bukkit/Spigot/Paper plugin) on it and then be able to control it using Python. You can't control a server which doesn't use the plugin with Python though.