• 注册
  • 服务器&插件 服务器&插件 关注:30 内容:11825

    MyServerMotd (MyServerMotd)

  • 查看作者
  • 打赏作者
  • 当前位置: SodaMC > 服务器&插件 > 正文
  • 潮涌核心
    支持者

    MyServerMotd (MyServerMotd)

    What is MyServerMotd?

    MyServerMotd是一个可以创建4条随机motd消息的插件,如果玩家刷新服务器列表,则会显示这些消息。您可以使用命令或motd文件更改您的motd消息。此外,您还可以更改您的“假人数”数量。

    新功能:

    • 您可以创建一个玩家计数悬停消息。
    • 您可以使用三个占位符。

    重要信息:

    • 已在spigot 1.8.5上测试
    • 我使用了Java 8,但我已经编译了Java 7版本,所以应该可以工作。

    所需插件:

    ProtocolLib | 链接: 链接

    命令:

    /myservermotd setmotd   | 使用该命令可以选择并更改motd消息之一 | 权限:myservermotd.admin
    /myservermotd toggleuse | 使用该命令可以启用或禁用motd/hover消息 | 权限:myservermotd.admin
    /myservermotd setfakeslots | 使用该命令可以更改在玩家服务器列表中显示的槽位限制 | 权限:myservermotd.admin
    /myservermotd togglefakeslots | 此命令允许您启用和禁用虚假槽位 | 权限:myservermotd.admin
    /myservermotd sethovermessage  | 使用该命令可以选择行并编辑悬停消息 | 权限:myservermotd.admin
    /myservermotd sethovermessagelines  | 使用该命令可以更改悬停消息行数 | 权限:myservermotd.admin
    /myservermotd show motd  | 显示您的motd | 权限:myservermotd.admin
    /myservermotd show hovermessage | 显示您的悬停消息 | 权限:myservermotd.admin

    占位符:

    您可以在motd或悬停消息中使用两个占位符。

    1. %online% ---> 显示当前在线玩家数量
    2. %maxplayers% ---> 显示服务器上的最大玩家数
    3. %onlineplayers% --> 显示您的在线玩家

    示例:

    如何创建自定义motd:

    1. (命令)
      /myservermotd setmotd   (第一个数字是所选的motd)(第二个数字是所选的motd消息的行)

      如果要创建空格,请不要使用空格键!在两个字符之间使用“_”!它将被更改为空格!示例:

    2. (Motd文件)首先您必须打开motd.yml文件。然后您可以更改每个消息。

    代码(文本):

    UseMyServerMotd: true
    UseFakeSlots: true
    Fakeslots: 100
    Server:
      Motd:
        '1':
          '1': '&6>&e> &b&lMy Minecraft Server &r&e &7在线玩家:&e%online%&a\/&e%maxplayers% &6&e> &b&lMy Minigame Server &r&e&e> &b&lMy Network &r&e&e> &b&lYour Server &r&e (选定行数来自悬停消息)'
    

    如果您想要使用比10行更多或更少的行,请进入hovermessage文件并将“Lines”点设置为所需的数字(最多20行)。如果要创建空格,请不要使用空格键!在两个字符之间使用“_”!示例:

    1. (Playerhovermessage文件)首先您必须打开playerhovermessage.yml文件。然后您可以更改每个消息。

    代码(文本):

    HoverMessage:
      Lines: 10
      Line:
        '1': '&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-'
        '2': '&5欢迎来到&7Example.com &5服务器!'
        '3': ''
        '4': '&6新功能:&9Cloudsystem &7+ &4大厅!'
        '5': '&e--> &7当前在线玩家:&a%online%&b\/&a%maxplayers% &e<--'
        '6': ''
        '7': ''
        '8': '&b我们有游戏如:'
        '9': '&c天空之战&7,&a夺旗战&7...'
        '10': '&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-&e-&6-'
        '11': ''
        '12': ''
        '13': ''
        '14': ''
        '15': ''
        '16': ''
        '17': ''
        '18': ''
        '19': ''
        '20': ''
    

    希望您喜欢!

    MyServerMotd (MyServerMotd)

    MyServerMotd (MyServerMotd)

    可用版本为:|1.8|1.9|1.10|1.11|1.12

    源站下载
    登录后前往SPIGOT

    .containeri,.first,.second{position:absolute;}.containeri{margin:auto;top:91px;bottom:0;right:0;left:677px;width:170px;height:50px;transition:all 0.3s ease;transform:scale(0.8);}.wrapi{width:100%;height:50px;border:2px solid #FFF;transition:all 0.3s ease;border-radius:5px;}.first,.second{width:100%;height:50px;font-family:"Open Sans",sans-serif;transition:all 0.2s ease-in-out;font-size:17px;text-transform:uppercase;color:#FFF;letter-spacing:2px;text-align:center;vertical-align:middle;line-height:50px;}.second{opacity:0;}.first,.second{cursor:default;}.containeri:hover{width:250px;}.containeri:hover .wrapi{padding-bottom:17px;}.containeri:hover .first{transform:translateY(-8px);padding-top:5px;}.containeri:hover .second{transform:translateY(20px);opacity:1;}

  • 收录

  • 请登录之后再进行评论

    登录
  • Soda任务 图片
  • 偏好设置
  • 主题
  • 帖子间隔 侧栏位置: