• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Portals - Movement trigger

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.

Skylar

Staff Member
Community Team
#1
Hey guys I know this is probably a simple thing to do, but I feel like I need to post this for people new to mad commands.

Here's a portal example:

• If someone wanted to get to PvP via a portal, first you build the portal.

• Then you make an area on that portal so /area create pvpportal <break the 2 spots>

• Then you make a command called (name):
/cmd create (name of portal)
/cmd add (name of portal command) ascon move %p% <world> <coordinates>
or
/cmd add (name of portal command) /warp <warp name>

Example:
/cmd create pvp
/cmd add pvp ascon move %p% plots 12 6 8
or
/cmd create games
/cmd add games /warp gameswarp

• Lastly:
/cmd trigger move to pvpportal pvp

Breakdown:
/cmd trigger move
Triggers the move event

- to
Means when a player goes IN the portal instead of OUT of the portal

- pvpportal
This is the land protection name on the portal
- pvp
This is the command that moves the player to where u want them to be, in this case, PvP.

Now whenever someone stands in the portal after about 3-5 seconds, it takes them to PvP.
 

thedeibo

Department Head
Staff Member
Department Head
Community Team
#3
#4
The move trigger is an exception: It's possible to have several move triggers, as long as they are for different area's:
move to pvparea is something else than move to spawn for example

Adding a loop can even cause lagg if you have a large playerbase or a large amount of area's