JaycobYT

Выполнение команды только в указанном регионе / ConditionalEvents

Aug 17th, 2023
1,837
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.66 KB | Gaming | 0 0
  1. #===========================================================
  2. #
  3. #
  4. #  Для работы плейсхолдера %worldguard...% у вас должен
  5. #  быть установлен плагин WorldGuard, а также расширение:
  6. #
  7. #  /papi ecloud download WorldGuard
  8. #  /papi reload
  9. #
  10. #
  11. #===========================================================
  12. auction_command:
  13.   type: player_command
  14.   conditions:
  15.  - '%command% == /ah or %command% == /ca'
  16.   - '%worldguard_region_name% != auc_region'
  17.   actions:
  18.     default:
  19.     - 'cancel_event: true'
  20.     - 'message: &fВы должны находиться рядом с NPC (/warp Аукцион)'
Advertisement
Add Comment
Please, Sign In to add comment