Multiverse-CommandDestination
作者:rebot | 分类:模组
Minecraft 版本: 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2
平台: bukkit paper purpur spigot
Multiverse-CommandDestination
If you are using the newer Multiverse v5, use latest v2 of this plugin, else use v1.2.2.
This is a small addon for people who are using Multiverse and want to run their own commands on teleporting or entering a Multiverse Portal! Supports PlaceholderAPI replacements in command.
Some things you can do is to run your RandomTP or custom commands on entering a Multiverse Portal that were not possible previously.
How to use:
Open the config.yml file in your Multiverse-CommandDestination folder.
Add the custom commands you want as explained below.
# +-------------------------------+
# | 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
Contact Me:
Have a question or want to have a chat with me? the best place to ask is in my Discord server. Either myself or somebody else will be available.
请登录后举报
暂无评论,抢个沙发吧~