Перейти к содержимому
Mineforgian

Multiverse-CommandDestination

Run a command on entering a Multiverse Portal!

Загрузки
3K
Подписчики
8
Обновлён
8 декабря 2025 г.
Лицензия
MIT

Опубликован 3 мая 2025 г.

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.

Ченджлог

2.1.1Релиз26.1.1, 26.1.2, 26.2 · 8 декабря 2025 г.
  • Update mvp commands in config.yml to follow v5 syntax
2.1.0Релиз1.21.8, 1.21.9, 1.21.10 · 9 июня 2025 г.
  • Add /mvcd reload command
  • Fix multiverse events not hooking correctly
  • Fix op handling removing player's op if they were op before running the command
2.0.0Релиз1.21.3, 1.21.4, 1.21.5 · 9 мая 2025 г.
  • Update for new Multiverse v5

Комментарии

Загружаем…