Multiverse-CommandDestination
如果您使用的是较新的 Multiverse v5,请使用本插件的最新 v2 版本;否则请使用 v1.2.2。
这是一个小型附加组件,专为使用 Multiverse 并希望在使用传送或进入 Multiverse Portal 时运行自定义命令的玩家而设计!支持在命令中使用 PlaceholderAPI 替换变量。
您可以实现的一些功能包括:在进入 Multiverse Portal 时运行 RandomTP 或自定义命令,而这些操作以前是无法实现的。
使用方法: 打开 Multiverse-CommandDestination 文件夹中的 config.yml 文件。 按照以下说明添加您想要运行的自定义命令。
# +-------------------------------+
# | Multiverse-CommandDestination |
# +-------------------------------+
# Spigot: https://www.spigotmc.org/resources/multiverse-commanddestination.90232/
# Discord: https://discord.gg/Be59ehc
# Github: https://github.com/benwoo1110/Multiverse-CommandDestination.git
# Paypal: https://paypal.me/benergy10
# +------------------+
# | Command settings |
# +------------------+
# Put all the commands you want to run here.
# If you face yaml error, check formatting with http://www.yamllint.com/
commands:
# The destination string is 'cmd:<name>'.
# Prefix with 'console:' to run command from Console.
# Prefix with 'op:' to run command as Operator.
# Built in placeholders are:
# - %player% for player name.
# - %world% for world name player is in.
# If you need additional placeholders, you can optionally get PlaceholderAPI plugin.
# The following is an example.
# To run this in Multiverse teleport command, you can do: '/mvtp cmd:examplename'
# To set a portal destination, run '/mvp modify [portal] destination cmd:examplename'
# Upon teleporting to the destination, the 2 say command will be executed.
examplename:
- 'say I am %player% at %world%.'
- 'console:say This is running from console.'
# A command destination pre-made if you use BetterRTP plugin
# Simply set your portal destination with '/mvp modify [portal] destination cmd:betterrtp'
betterrtp:
- 'console:rtp player %player% world' # Replace world with your actual target world.
# A command destination pre-made if you use WildernessTp plugin
# Simply set your portal destination with '/mvp modify [portal] destination cmd:wildernesstp'
wildernesstp:
- 'console:wild %player%'
# +----------------+
# | Other settings |
# +----------------+
# Enable parsing of placeholders provided by placeholderAPI plugin if you have it installed.
enable-papi-hook: true
联系我: 有问题或想与我聊天吗?最好的提问地点是我的 Discord 服务器。我自己或其他人都会有人在线为您提供帮助。
你是这个资源的作者?登录后可认领此资源。
相似资源
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
ExyliaPlugins 的库。
通过对话框或铁砧界面帮助你的 Anthme
自定义你的Minecraft头像!
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧