Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicAchievements MythicAchievements
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicAchievementsMythicAchievements
  • Wiki
    • Criteria
  • conditional

Last edited by Vierdant Feb 12, 2023
Page history

conditional

Criteria: Condition

Simple criteria that check if the player meets the given conditions every so often.

Attributes

Attribute Description Default
CheckInterval How often the conditions are checked (in ticks) 20
Sync Whether the check should run synchronously false
Conditions A list of Mythic conditions to check against. Most conditions from MythicMobs, and add-ons, or other compatible plugins should work, although there may be some edge cases that don't (and these usually wouldn't make sense to use anyway)

Examples

SOME_ACHIEVEMENT:
  Criteria:
    A_CONDITIONAL_CRITERIA:
      Type: CONDITIONAL
      CheckInterval: 100
      Conditions:
      - inRegion someRegion
      - health{amount=1}
Clone repository

Achievements

  • Home
  • Changelogs
  • Commands and Permissions
  • FAQ / Common Issues

Usage

  • Installation
  • General Configuration
  • Categories (Tabs)
  • Creating Achievements
  • Criteria
  • Rewards

New Mechanics

  • Achievement Mechanics
  • Achievement Conditions