executing commands across multiple instances via a local server

Started by Moumirrai on

Topic category: Advanced modding

Last seen on 13:36, 16. Nov 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
executing commands across multiple instances via a local server

I'm not very good at programming, and I have even less experience modding minecraft. I would like to create a mod that could distribute, or receive and execute commands via a local server on a specific port. I have tried the "swarm module" from the utuility mod for anarchy servers called Meteor. However, it offers a very limited number of commands for baritone only. Do you think it is possible to create a mod that would host a local server or connect to an existing one, and that would execute the string after a certain prefix as a command on other instances?

Example:

//host localhost:7777

//join 192.168.1.1:7777

//reset

//exec <command>