Go to file
googolgl 54c907ac5e remove translate 2021-04-01 17:22:14 +03:00
.gitignore Initial commit 2019-03-12 13:11:05 +02:00
LICENSE Initial commit 2019-03-12 13:11:05 +02:00
README.md fix 2021-04-01 13:16:12 +03:00
description.txt remove translate 2021-04-01 17:22:14 +03:00
init.lua remove translate 2021-04-01 17:22:14 +03:00
mod.conf First commit 2019-03-12 14:59:38 +02:00
publisher.lua remove translate 2021-04-01 17:22:14 +03:00
router.lua remove translate 2021-04-01 17:22:14 +03:00
subscriber.lua remove translate 2021-04-01 17:22:14 +03:00

README.md

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.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