Skip to content

Minetest chat Long Polling API mod (for ex. send/receive to/from Discord)

License

Notifications You must be signed in to change notification settings

lord-server/mt-chat-lp-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LongPoll APi mod for minetest

Add this mods to the trusted_mods:

  • Open : minetest.confg
  • Add : secure.http_mods = lp_api

Add parameters if needed in to minetest.confg

  • lp_api.enabled - enable/disable (Default: false)
  • lp_api.url - LongPoll server url (Default: http://localhost:8003)
  • lp_api.channel_id - Channel ID in Discord. Rightclick on the Discord text channel you want the bot to interact with and press "Copy ID", and then insert value in this (Default: minetest)
  • lp_api.timeout - Timeout connection (Default: 30)
  • lp_api.header - Header if needed (Default: nil)
  • lp_api.subscriber.timeout - Timeout for subscribe (Default: 15)
  • lp_api.router.cmd - Support commands or not (Default: false)

License

MIT

About

Minetest chat Long Polling API mod (for ex. send/receive to/from Discord)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%