simple_live

Quick rating

Community listing page, reviews here may not be monitored by the author.

simple_live

No reviews yet

Use simple commands to increase players' max health.

Mod Loaders
Minecraft

About

Description

Each player initially has 3 resurrection lives upon first joining the server.

Each death consumes 1 life. After the third death, the count reaches zero.

Life data is saved per player by UUID and persists across server restarts or relogins.

Player Commands:

  • /lives – Check your own remaining lives.

Admin Commands:

  • /lives <player> – Check a specific online player's lives.

  • /lives add <player> <amount> – Add lives to a player.

  • /lives remove <player> <amount> – Remove lives from a player.

  • /lives add_all <amount> – Add lives to all recorded players (including offline ones).

  • /lives remove_all <amount> – Remove lives from all recorded players.

When lives reach zero:

  • The player is automatically switched to ADVENTURE mode and locked in it.

  • Normal block breaking, placing, item usage, and entity interaction are disabled.

  • Items with CanDestroy or CanPlaceOn tags still work as per vanilla adventure mode rules.

  • If an admin adds lives, the player is immediately restored to SURVIVAL mode.

HUD Display:

  • A totem-of-undying icon and the text "Remaining lives: <count>" appear in the top‑left corner.

  • By default, press H to toggle the HUD on/off.

  • The key binding can be changed in Options → Controls.

  • The HUD visibility state is saved per player individually.

Language Support:
Supports both Chinese and English interfaces.

Server Configuration
After the first run, a config file simplelive.json is generated in the config/ folder.
You can adjust the following options:

  • defaultLives – Default lives for new players.

  • maximumLives – Maximum allowed lives.

  • administratorPermissionLevel – Permission level required for admin commands (default: 2).

  • hudVisibleByDefault – Whether new players see the HUD by default.

    玩家首次进入默认拥有 3 次复活次数。

    每次死亡扣除 1 次,第三次死亡后归零。

    数据按玩家 UUID 保存,重启服务器或重新登录不会丢失。

    玩家命令:

    /lives:查看自己的剩余次数。

    管理员命令:

    /lives <玩家>:查看指定在线玩家。

    /lives add <玩家> <数量>:增加次数。

    /lives remove <玩家> <数量>:移除次数。

    /lives add_all <数量>:增加所有已记录玩家的次数,包括离线记录。

    /lives remove_all <数量>:移除所有已记录玩家的次数。

    次数归零后:

    自动切换并锁定为 ADVENTURE

    禁止普通方块破坏、放置、物品使用和实体交互。

    带有 CanDestroy CanPlaceOn 条件的物品仍可按原版冒险模式规则使用。

    管理员增加次数后立即恢复为 SURVIVAL

    左上角显示不死图腾图标和“剩余次数:数量”。

    默认按 H 显示或隐藏 HUD

    可在“选项 → 控制”中重新绑定按键。

    HUD 开关状态按玩家单独持久化保存。

    支持中英文界面。

    服务端配置

    首次运行后会生成 config/simplelive.json

    可调整:

    defaultLives:新玩家默认次数。

    maximumLives:次数上限。

    administratorPermissionLevel:管理命令权限等级,默认 2

    hudVisibleByDefault:新玩家是否默认显示 HUD