I think if we set up an nginx server on the vps (on which spigot is running), we can have it listen for requests and execute a command in the screen session. The request would only say like "greylist , and the command /pex group trusted user add <username> would be executed on the spigot server.
There are definitely some security concerns with this method. The command needs to be constructed by the handler on the spigot server. (i. e. don't send the entire command in an http request)
I'm not sure if this is the best way to do this, but it's what I've got so far.
It would be really nice to remotely greylist someone from the website upon approving their application. I'm pretty sure this is feasible as we always have the server running in a screen session and we can [send commands to the session.] (https://superuser.com/questions/116743/send-command-to-an-already-running-screen-session)
I think if we set up an nginx server on the vps (on which spigot is running), we can have it listen for requests and execute a command in the screen session. The request would only say like "greylist, and the command
/pex group trusted user add <username>
would be executed on the spigot server.There are definitely some security concerns with this method. The command needs to be constructed by the handler on the spigot server. (i. e. don't send the entire command in an http request)
I'm not sure if this is the best way to do this, but it's what I've got so far.