Run lua somehow on other server?

Hey, can i somehow make system that runs lua on my another server from my current one?

Server 1 (player.GetAll()) -> Server 2 (Reads and sends the lua output) -> Server 1 (List of Server 2 players)

Something like that? Not only for player.GetAll.

Maybe somehow executing code from php to server?

Server 1 -> WebServer -> Server 2

That would be possible with rcon, but anyway to get the answer?


You’ll need a global module like Bromsock or gSock. Otherwise, you can just send/read POST requests to a common web server

Cant find gSock, anything different between them? Which one is better for my use?

Any one is; you’re not really doing complex socketing.