- 版权类型
- 原创
- 插件中文名称
- CommandPlus
- 插件英文名称
- CommandPlus
- 原帖地址
- #
- 支持的核心(代理-服务端)
- Bungee
- WaterFall
- Spigot
- PaperSpigot
- 语言支持
- 多语言
- 适配版本(Java)
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
- 1.11
- 1.10
- 1.9
- 1.8
CommandPlus 允许你在群组服务器的各子服间跨服执行命令,广播同步执行命令以及在子服上执行代理服务器的命令。
用法:
将下载的 CommandPlus-full.zip 中的 CommandPlus-Spigot.jar 放在所有的子服务器的 plugins 文件夹中,将 CommandPlus-Bungee.jar 放在对应代理服务器的 plugins 文件夹中,随后启动服务器。第一次启动服务器后,各服务器的 plugins 目录中会生成 CommandPlus 文件夹,打开文件夹中的 config.yml 并自定义你的配置。重启服务器即可。
配置文件:
YAML:
#
# 配置文件版本
#
# 此配置项用于检测你的配置文件是否已经过时
#
# 如果你不知道这是干什么的,请不要动
#
config-version: 1
#
# 语言配置
#
# 管理插件的每一条消息的翻译
#
message:
no-permission: "&c你没有执行此命令的权限!"
command-usage: "&e命令用法: /commandplusbungee reload"
config-reload: "已重载所有配置文件!"
YAML:
#
# Config Version
#
# This option is used for us to detect whether
# your configuration file is outdated
#
# DO NOT TOUCH IF YOU DON'T KNOW WHAT THIS MEANS
#
config-version: 1
#
# Message Section
#
# Manage translation for each message of plugin
#
message:
no-permission: "&cYou don't have permission to execute this command!"
command-usage: "&eCommand usage: /commandplusbungee reload"
config-reload: "All configurations are reloaded!"
YAML:
#
# 配置文件版本
#
# 此配置项用于检测你的配置文件是否已经过时
#
# 如果你不知道这是干什么的,请不要动
#
config-version: 1
#
# 服务器标识
#
# 此选项用于在对于指定子服务器执行命令时识别服务器
#
server-identifier: lobby01
#
# 语言配置
#
# 管理插件的每一条消息的翻译
#
message:
no-permission: "&c你没有执行此命令的权限!"
command-usage: |-
&e命令用法: /commandplus <execute|broadcast|proxy|reload> [...]
&e - 对于 "server": ...server <target_server> <command...>
&e - 对于 "broadcast": ...broadcast <command...>
&e - 对于 "proxy": ...proxy <command...>
&e - 对于 "reload": ...reload
command-broadcast: "&a成功将命令广播到所有服务器!"
command-execution: "&a成功为服务器{0}执行命令!"
command-proxy: "&a成功为代理服务器执行命令!"
no-players-online: "&c当前服务器没有玩家在线!至少需要1名玩家在线以使用此功能。."
config-reload: "已重载所有配置文件!"
YAML:
#
# Config Version
#
# This option is used for us to detect whether
# your configuration file is outdated
#
# DO NOT TOUCH IF YOU DON'T KNOW WHAT THIS MEANS
#
config-version: 1
#
# Server Identifier
#
# This option is used to identify the target server
# while executing commands for the specified server
#
server-identifier: lobby01
#
# Message Section
#
# Manage translation for each message of plugin
#
message:
no-permission: "&cYou don't have permission to execute this command!"
command-usage: |-
&eCommand usage: /commandplus <execute|broadcast|proxy|reload> [...]
&e - for "server": ...server <target_server> <command...>
&e - for "broadcast": ...broadcast <command...>
&e - for "proxy": ...proxy <command...>
&e - for "reload": ...reload
command-broadcast: "&aSuccessfully broadcast command to all servers!"
command-execution: "&aSuccessfully executed command for server {0}!"
command-proxy: "&aSuccessfully executed command for proxy server!"
no-players-online: "&cThere are no players online on the current server! There must be at least one player online to use this function."
config-reload: "All configurations are reloaded!"
服务端部分:
在子服间跨服执行命令:
/commandplus server <标识> <命令...>
其中 <标识> 部分在子服配置文件中配置,标识名部分不可包含空格。
向所有子服广播执行命令:
/commandplus broadcast <命令...>
在子服中执行代理服务器命令:
/commandplus proxy <命令...>
重载配置文件:
/commandplusbungee reload
代理端部分:
重载配置文件:
/commandplusbungee reload
所有命令的权限节点都为 commandplus.command
加入官方QQ群: 980412224 获得快速且高效的问题解决方法!