Mod
Last Login Signs
Adds signs that show the last login of players that right-clicked them
This mod adds signs that show the last login of players that right-clicked them. A wooden sign and a steel sign are included, and more can be added through the API.
API
Registering a sign
Use last_login_signs.register_sign(nodename, def) like you would use
core.register_node or
signs_lib.register_sign.
Two definition settings are different from signs_lib.register_sign:
on_rightclickdefaults tolast_login_signs.rightclick_signafter_place_nodedefaults tolast_login_signs.after_place_node
Functions
last_login_signs.register_sign(name, def)described abovefunction last_login_signs.rightclick_sign(pos, node, player)adds the player to the signfunction last_login_signs.after_place_node(pos, ...)writes the initial text to the signfunction last_login_signs.update_sign(pos, node)forces a sign update
Contributing
Send a patch to this mailing list a pull request to the Codeberg mirror.
Links
- Source: https://git.sr.ht/~fgaz/luanti-last_login_signs
- Issues: https://todo.sr.ht/~fgaz/luanti-mods
- Website: https://sr.ht/~fgaz/luanti-last_login_signs/
- Original ContentDB page: content.luanti.org/packages/fgaz/last_login_signs/
License
EUPL-1.2
Media license: CC-BY-SA-4.0
Development state
BETA
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| 1.0.5 | 2025-05-21 06:29:12 | 9.3 KB | Download |