初始物品、消息和命令

初始物品、消息和命令

可配置的起始物品和玩家加入世界时发送的消息,以及服务器启动时触发的启动命令

冒险

https://img.shields.io/static/v1?label=%20&message=other%20projects&color=4b5966&labelColor=658f79&logo=curseforge&logoColor=white&style=for-the-badge https://img.shields.io/discord/990178919795785749?color=4b5966&label=%20&labelColor=658f79&logo=discord&logoColor=white&style=for-the-badge https://img.shields.io/github/stars/spoorn/StarterItems?color=4b5966&labelColor=658f79&label=github%20&logo=github&logoColor=white&style=for-the-badge https://img.shields.io/github/issues-raw/spoorn/StarterItems?color=4b5966&labelColor=658f79&label=issues%20&logo=github&logoColor=white&style=for-the-badge

描述

供整合包作者使用,管理一个可配置的列表,在玩家首次加入世界时给予其初始物品;允许配置玩家首次加入世界时发送的消息、后续加入时的消息,甚至可以在每次服务器启动时运行命令(这对于设置游戏规则、/setworldspawn,或诸如由于 Watchdog 超时问题而禁用 Terralith Traveler's Map之类的事情特别有用)。

完全可配置,详见下文!

功能

  • 可切换选项,在给予玩家初始物品之前,先清空玩家首次加入世界时的物品栏物品。这甚至可以仅用于完全清空玩家物品栏中的物品
  • 可配置的初始物品,支持物品的 NBT 数据(如果你需要这方面的帮助,请告诉我!)
  • 首次加入消息
  • 欢迎消息,用于玩家在首次加入之后再次加入时
  • 每次服务器启动时运行的命令,支持游戏内所有可用命令

配置

将 starter items、firstJoinMessages、welcomeMessages 和 serverStartCommands 添加到 config/starteritems.json5。请参阅 https://github.com/spoorn/StarterItems/blob/main/config-documentation.json5 或配置文件中的示例。

示例:

https://i.imgur.com/wRbI8Nn.pnghttps://i.imgur.com/waa7GVq.pnghttps://i.imgur.com/bkrRFWB.pnghttps://i.imgur.com/3krZPvW.png

依赖项

此模组需要:

requires fabric

需要服务器?

https://bisecthosting.com/spoorn