WorldGuard Region first time entry

Discussion in 'Spigot Plugin Help' started by YordiYVE, Jul 15, 2021.

  1. Is there any way (perhaps with a third-party extension plugin) to make it so that a command fires when a player enters a region for the first time?
     
  2. You can use WorldGuard Extra Flags for this I believe - it has a "command-on-entry" flag.
    This requires you to check if it's the player's first entry though - you can execute the command only if the player doesn't have a specific permission, and after they enter and the command executes you grant them that permission which disables it running again.