Last Login Signs

Description

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_rightclick defaults to last_login_signs.rightclick_sign
  • after_place_node defaults to last_login_signs.after_place_node

Functions 🔗

  • last_login_signs.register_sign(name, def) described above
  • function last_login_signs.rightclick_sign(pos, node, player) adds the player to the sign
  • function last_login_signs.after_place_node(pos, ...) writes the initial text to the sign
  • function 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.

Reviews

Review

Do you recommend this mod?

Releases

2025-05-21 06:29 UTC

1.0.5 🔗

  • Fix newly placed signs not updating until they are reloaded
  • Change Minetest to Luanti

1.0.4

Download

Luanti 5.4+

2023-09-15 09:54 UTC

1.0.4 🔗

  • Fix signs not updating on player leave

1.0.3

Download

Luanti 5.4+

2023-08-27 18:40 UTC

1.0.3 🔗

  • Fix serious bug that in some cases caused all other signs to be overwritten.
  • Fix warnings and improve consistency

1.0.2

Download

Luanti 5.4+

2023-08-27 17:34 UTC

1.0.2 🔗

No release notes

All releases