Respawn Timer

Description

Respawn Timer (respawn_timer) 🔗

Forces players to wait a set duration before respawning.

About 🔗

Depends on modlib. Licensed under the MIT License. Written by Lars Mueller aka LMD or appguru(eu).

Screenshot 🔗

Screenshot

  • GitHub - sources, issue tracking, contributing
  • Discord - discussion, chatting
  • Minetest Forum - (more organized) discussion
  • ContentDB - releases (cloning from GitHub is recommended)

Features 🔗

  • Player is actually dead while dead (player:get_hp() == 0). This minimizes breakage of other mods.
  • Custom respawn formspec (simple button).
  • Enhanced security: Actions of dead players (chatting, inventory, ...) are forbidden.
  • Basic persistence: Rejoining will only reset the timer.

API 🔗

Relies on multiple hacks and thus imposes the following limitations on other mods:

  • No manual modification of the minetest.registered_on_dieplayers table on_mods_loaded
  • No insertion at index 1 of the minetest.registered_on_chat_messages table on_mods_loaded
    • Mods doing this have to be listed as optional dependencies
  • Mods using bone position overrides on nonstandard bones have to use the API for those to be preserved properly
    • Standard bone names are "Head", "Body", "Arm_Right", "Arm_Left", "Leg_Right", "Leg_Left"
    • respawn_timer.bone_names_by_model["<filename>.<ext>"] = { "Bone_1", "Bone_2", ... } including standard bone names if used
    • If both bone position and rotation are set to { x = 0, y = 0, z = 0 }, the bone will be ignored

Respawning can be done using respawn_timer.respawn(player_ref), the timer can be modified by altering the exposed table

respawn_timer.timer = {
    name = "Respawn",
    duration = 5,
    color = "FF00FF"
}

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2022-11-18

Download

2022-11-18 17:30 UTC

2022-11-18 🔗

No release notes

rolling-7

Download

2022-05-13 10:38 UTC

rolling-7 🔗

No release notes

rolling-6

Download

2021-01-18 20:13 UTC

rolling-6 🔗

No release notes

rolling-5

Download

2020-12-28 17:31 UTC

rolling-5 🔗

No release notes

rolling-4

Download

2020-12-22 12:49 UTC

rolling-4 🔗

No release notes

All releases

Threads

New thread

Thread Last Reply

No threads found

Information

Provides

respawn_timer

Dependencies

Required
hud_timers modlib
Optional
adv_chat cmdlib player_api

Information

Type
Mod
Technical Name
respawn_timer
Languages
English
License
MIT
Maintenance State
Unknown
Added
2020-11-29 15:50 UTC
Maintainers
LMD