PistonMOTD|支持1.16RGB|目前最棒的MOTD插件

JE Plugins PistonMOTD|支持1.16RGB|目前最棒的MOTD插件 4.3.0

Source of resources
Authorized reprinted
Copyright link
https://www.spigotmc.org/resources/pistonmotd-rgb-and-1-17-support.80567/
Applicable versions
1.12-1.17x
Applicable platforms
bungee, spigot, paper, sponge and velocity
这是一款很棒的MOTD!!!!

[IMG]
[IMG]

[IMG]
[IMG]

[IMG]
[IMG]

[IMG]

特点
  • 自定义在线玩家和最大玩家数
  • 随机MOTD
  • 可以让客户端显示版本已过期
  • 随机图标
  • 占位符(可通过api扩展)
  • 隐藏您的玩家人数(仅适用于bukkit)
  • 简单的配置
  • 模块化(您可以启用/禁用每个功能)
  • TPS占位符
  • RGB支持
  • Luckperms前缀支持
与其他MOTD插件兼容。(不能保证它将与每个MOTD插件一起使用。)
配置
Bungeecord:
YAML:
#颜色代码列表:https://minecraft.tools/zh-cn/color-code.php
#格式 &d&l will work, 而不是 &l&d.
#Placeholders: %online% (在线玩家)
#%max% (服务器最大人数)
#%aftericon% 添加一堆空格,使文字位于图标后。
#%newline% 添加新一行motd

playercounter:
  activated: true
  text:
- '&3你好,世界!'
  - '&e新的一行!'
  - '&6    空格!'
  - '&d&lCombined'
  - '&1Players: %online%'
  - '&2Max: %max%'
overrideonline:
  activated: false
  value: 0
overridemax:
  activated: false
  value: 10
protocol:
  activated: false
  text: '&1我的自定义消息!'
icons:
  activated: false
motd:
  activated: true
  text:
- 你好! %newline%世界!
  - Use &4color codes!
  - '&ka &rFormatting &rworks &rtoo! &ka'
  - '&1Players: %online%'
  - '&2Max: %max%'
Bukkit:
YAML:
# 颜色代码列表: https://minecraft.tools/en/color-code.php
# 格式 &d&l will work,而不是 &l&d.
# 现已支持MiniMessage格式: https://docs.adventure.kyori.net/minimessage.html#template
# 现已支持HEX/RGB 颜色 . (仅限 motd)
# Hex格式: &#FFFFFF
# 注意: 你可以使用 MiniMessage来制作彩虹色和渐变色
# Placeholders: %online% (在线玩家列表)
# %max% (服务器最大人数)
# %newline%添加新一行motd
# %tps% 展示tps (仅限Paper端)
motd:
  activated: true
  text:
   - "你好! %newline%世界!"
    - "使用 &4颜色 代码!"
    - "&ka &rFormatting &rworks &rtoo! &ka"
    - "&1Players: %online%"
    - "&2Max: %max%"

overridemax:
  activated: false
  value: 10

icons: false

#扩展配置仅适用于paper端https://papermc.io /
#PS:不是paper端的可以不用往下看了(译者注)
# On paper you also get the %tps% placeholder
extended:
# A protocol message is shown if the version of the client doesn't match the version of the server.
  # %aftericon% adds a bunch of spaces so the text is after the icon. (Only for protocol)
  protocol:
    activated: false
    text: "&1我的自定义消息!"
  overrideonline:
    activated: false
    value: 0
  #  (当玩家将鼠标移到服务器信号上时)客户端不显示玩家列表,而是显示“ ???”
  hideplayers: false
  #  当您将鼠标悬停在(就是服务器信号)玩家列表上时,会显示此内容
  playercounter:
    activated: true
    text:
     - "&3你好世界!"
      - "&e新的一行!"
      - "&6    spaces!"
      - "&d&lCombined"
      - "&1Players: %online%"
      - "&2Max: %max%"

hooks:
  extended:
    luckpermsplayercounter: false
指令
指令权限用途
/pistonmotd helppistonmotd.help查看帮助
/pistonmotd reloadpistonmotd.reload重载插件
指令权限用途
/pistonmotdbukkit helppistonmotd.help查看帮助
/pistonmotdbukkit reloadpistonmotd.reload重载插件
API
如果要用一个其他插件来创建和执行你自己的解析器。您需要一个类似于 PlaceholderParser的东西,并使用 #registerParser().在PlaceholderUtil 注册它。
It IS possible to create and execute your own parsers with an external plugin. To register you need a class implementing the PlaceholderParser and to register it at the PlaceholderUtil with #registerParser().
本段“API”翻译仅个人理解,可能有错误
这是几个例子:
ServerPlaceholder
Registering

这东西可能会有些帮助:
JavaDoc

未来的计划

  • 没有
如果你有什么想法或建议,请在discord中让我知道)

下载
  • 10好
  • 25酷
  • 50真棒
  • 75很棒
  • 100令人难以置信!
    o_O
    o_O
  • 125难道我们现在这么受欢迎吗?
    ;)
  • 150 OMG
    :eek:
  • 175在去往百万下载量的路上
  • 200OMG200 ???
    :爱:
  • 250下载量的增长会终结吗?
    :不确定:
  • 300哇!
    :D
    我们怎么这么快到达这里的?
  • 600我们如何快速将计数加倍?
    :不确定:
  • 1000!(☞゚ヮ゚)☞

Stats

[IMG]
旧版
[IMG]


Discord
[IMG]
如果您喜欢我的插件,请留下评分。 并在 discord上支持我!
(y)

玩的开心!
授权
1606227560083.png
  • Like
Reactions: YanBing Online
Author
冰之睿
Downloads
156
Views
1,637
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from 冰之睿

Share this resource

Latest updates

  1. 修复一些bug

    Changes: Fixup bukkit config Add protocol number overwriting option Improve website...
  2. Release 4.2.0

    Changes: Created a maven generated site: https://pistonmaster.net/PistonMOTD/ Changed the the...