命令

/discord-回复:加入我们的discord服务器:discord.gg/example

/website-回复:访问我们的网站:www.liurust.com

/help -回复:需要帮助吗?联系我们的支持团队:support@example.com

/vote-回复:投票给我们的服务器:vote.example.com

/rules-回复:以下是服务器规则:。。。

/store-回复:查看我们的商店:store.example.com

/pop-respoy:显示在线玩家的数量

配置:

{
  "Commands": {
    "discord": {
      "Reply": "<color=#FF0000>[ChatCommands]:</color> Join our Discord server: discord.gg/example",
      "CooldownMinutes": 60.0
    },
    "website": {
      "Reply": "<color=#FF0000>[ChatCommands]:</color> Visit our website at: www.example.com",
      "CooldownMinutes": 120.0
    },
    "help": {
      "Reply": "<color=#FF0000>[ChatCommands]:</color> Need help? Contact our support team: support@example.com",
      "CooldownMinutes": 180.0
    },
    "vote": {
      "Reply": "<color=#FF0000>[ChatCommands]:</color> Vote for our server: vote.example.com",
      "CooldownMinutes": 240.0
    },
    "rules": {
      "Reply": "<color=#FF0000>[ChatCommands]:</color> Here are the server rules: ...",
      "CooldownMinutes": 300.0
    },
    "store": {
      "Reply": "<color=#FF0000>[ChatCommands]:</color> Check out our store: store.example.com",
      "CooldownMinutes": 360.0
    },
    "pop": {
      "Reply": "",
      "CooldownMinutes": 30.0
    }
  }
}

 

新命令:

/pop - Shows the number of players online

In the config file the 
    "pop": {
      "Reply": "",
      "CooldownMinutes": 30.0
    }

To ensure the proper functioning of the "/pop" command, it is recommended to leave the "Reply" field in the config file blank. Filling in this field with a custom message may result in an error.

If you would like to have the option to include a personalized message with the "/pop" command, kindly consider leaving a review to express your interest in adding support for a custom message. Your feedback will be valuable for future updates and improvements.

如何添加新命令:

To add new command just go under the last command and copy and paste this. in the ChatCommands.json
    },
    "newcommand": {
      "Reply": "<color=#FF0000>[ChatCommands]:</color> hahahah",
      "CooldownMinutes": 60.0
    }

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。