Перейти к содержимому
Mineforgian

LightSuicide

A simple and highly customizable suicide plugin.

Загрузки
294
Подписчики
2
Обновлён
10 июня 2025 г.
Лицензия
MIT

Опубликован 23 февраля 2025 г.

LightSuicide是一个简单的高自定义的自杀插件
LightSuicide is a simple and highly customizable suicide plugin.

支持平台Supported Platforms

服务端: Paper/Folia 1.19及更高
Server: Paper/Folia 1.19 and higher

特性Features

  • 文字颜色Text Color
  • 随机消息Random message
  • 热重载配置文件Hot reload configuration files
  • 高度自定义High customization
  • 自定义语言文件Custom language files

截图screenshot

/suicide /ls /lshelp

指令Commands

  • /suicide
  • lightsuicide <help|about|reload>

别名aliases

  • suicide: sui, zisha, "自杀"
  • lightsuicide: lsuicide, ls

权限permissions

lightsuicide.suicide: {default: true}    # /suicide
lightsuicide.about: {default: op}        # /lightsuicide about
lightsuicide.help: {default: op}         # /lightsuicide help
lightsuicide.reload: {default: op}       # /lightsuicide reload

配置文件configuration files

  • config.yml
# 使用自定义的消息,如果为false则不会修改死亡消息
# use customize messages, if not will not modify broadcast die messages
use-custom-messages: true

# 是否应该广播自定义的死亡消息
# should broadcast custom suicide message
broadcast-suicide-message: true

# 是否向执行suicide的玩家发送单独的死亡消息
# should send messages to who suicided
send-msg-who-suicided: false

# 是否使用随机死亡消息,如果为false则始终使用第一个消息
# should use random suicide message, if not will always use first message
random-suicide-broadcast-message: true

# 是否向执行suicide的玩家使用随机死亡消息,如果为false则始终使用第一个消息
# should send random message to who suicided, if not will always use first message
random-send-player-message: true

# 消息颜色格式化器(MINIMESSAGE或LEGACY(&符号))
# messages color formatter(MINIMESSAGE or LEGACY(&))
formatter: MINIMESSAGE

# 位置占位符格式设置
# location placeholder format
location-format: "[%x%, %y%, %z%, %world%]"

# 自定义广播的死亡消息
# Customize the broadcast suicide message
broadcast-messages:
  - "%player% disappeared suddenly"

# 自定义单独发送的死亡消息
# Customize the death message that is sent separately
send-player-messages:
  - "you suicided at %location%"
  • lang.yml
no-permission: "&#C8F1EF你没有执行此命令的权限!"
not-player: "&#C8F1EF只有玩家才能执行此命令!"
reload-success: "&#C8F1EF成功重载配置文件!"

suicide-cmd-help: "&#C8F1EF/suicide 执行自杀"
about-cmd-help: "&#C8F1EF/lightsuicide about 显示关于信息"
help-cmd-help: "&#C8F1EF/lightsuicide help 显示指令帮助"
reload-cmd-help: "&#C8F1EF/lightsuicide reload 重载配置文件"

description: "&#C8F1EF一个简单的用于执行Suicide的插件,尝试支持高度自定义的配置。"
running: "&#C8F1EF正在运行LightSuicide v%version%!"
links: "&#C8F1EF相关链接: "

Ченджлог

0.3Релиз1.21.9, 1.21.10, 1.21.11 · 10 июня 2025 г.

中文:

修复:

  • 重载配置文件

其他改变:

  • 重写配置文件处理和文字颜色处理

English

fix:

  • reload config

other changes:

  • rewrite config load and text color

Full Changelog: https://github.com/Craft233MC/LightSuicide/compare/0.2...0.3

0.2Релиз1.21.4, 1.21.5, 1.21.6 · 30 апреля 2025 г.

Комментарии

Загружаем…