Sync with online DB
Posted: Wed Aug 22, 2018 1:38 pm
Hi,
I'm developing a set of plugins for the MUD I play on, and sharing them to all the other players.
I'm also maintaining some online tables (made with Google Sheets) automatically updated by a form (made with Google Form) that any player can fill by copy/pasting the MUD output (for object identifications and such).
I'd like to develop a couple of new plugins for Mudlet in order to:
- trigger an HTTP/REST/ANYTHING request every time an object is identified by a player (to update the Google Sheets database)
- download data from an online database every now and then (possibly, my Google Sheet database converted in a LUA DB fashioned file or similar and published on Google Drive) to enrich the MUD output with data contained in that database (I.E. to show the player enemy immunities every time he faces it)
I looked at Mudlet's documentation, but I haven't found anything related to HTTP requests or files download/upload.
Any suggestion?
Thanks.
I'm developing a set of plugins for the MUD I play on, and sharing them to all the other players.
I'm also maintaining some online tables (made with Google Sheets) automatically updated by a form (made with Google Form) that any player can fill by copy/pasting the MUD output (for object identifications and such).
I'd like to develop a couple of new plugins for Mudlet in order to:
- trigger an HTTP/REST/ANYTHING request every time an object is identified by a player (to update the Google Sheets database)
- download data from an online database every now and then (possibly, my Google Sheet database converted in a LUA DB fashioned file or similar and published on Google Drive) to enrich the MUD output with data contained in that database (I.E. to show the player enemy immunities every time he faces it)
I looked at Mudlet's documentation, but I haven't found anything related to HTTP requests or files download/upload.
Any suggestion?
Thanks.