Ham Radio API
Add-on for the Ham Radio mod that allows you to implement the transmission of messages between servers via web api
Ham Radio API
This is an add-on for the Ham Radio mod that allows transmitting text messages between servers or a local client via a Web API. To use the mod, you need to enable HTTP/HTTPS requests. To do this, add the following line to your minetest.conf: secure.http_mods = ham_radio_api
How it works
Place a transmitter and a receiver in the world, and configure their transmit and receive frequencies. Before using, make sure the selected frequencies are free and not currently in use. Share your frequency with a friend or acquaintance playing on another server or client to establish communication. The frequency range transmitted through the Web API can be limited using the parameters ham_radio_api.min_frequency and ham_radio_api.max_frequency.
API
The Web API is implemented at: https://apocalypse.texnoblog.uz
Currently, only basic message transmission is implemented. In the future, the mechanics may be expanded.
Example of API usage:
The transmitter sends a request: https://apocalypse.texnoblog.uz/api/hamRadio/set/?frequency=5&text=Text+for+broadcast
Response on successful transmission:
{ "status": "ok", "frequency": 5, "text": "Text for broadcast" }
The receiver sends a request: https://apocalypse.texnoblog.uz/api/hamRadio/get/?frequency=67000
Response:
{ "status": "ok", "frequency": 67000, "text": "[ Radio | singleplayer ] test" }
Links
- Source: https://git.luanti.ru/VinAdmin/HamRadioApi
- Issues: https://git.luanti.ru/VinAdmin/HamRadioApi/issues
- Website: https://apocalypse.texnoblog.uz/hamradio
- Original ContentDB page: content.luanti.org/packages/VinAdmin/ham_radio_api/
License
MIT
Development state
ACTIVELY_DEVELOPED
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| v0.1 | 2025-09-15 09:00:57 | 5.11 | 6.1 KB | Download |