4➤ World Conditions List Page - ssomar1607/ExecutableItems GitHub Wiki

WORLD CONDITIONS

  • Conditions allows ei users to settle criterias, conditions or requirements.

====={Condition ifWeather:}=====

  • Description: Checks if the world has the said weather.
  • Example:
conditions:
  worldConditions:
    ifWeather:
      - CLEAR
    ifWeatherMsg: '' #<- Here is where you will add the custom message.
  • Example Situations:
    • If the world starts to rain and the ifWeather condition is set to RAIN, the activator will activate.
  • Options: RAIN, CLEAR or STORM
  • Required: NO (Default: false)
  • More Info: You can edit the error message by adding this in the file: ifWeatherMsg: "&4&lError you need...."

====={Condition ifWorldTime:}=====

  • Description: Checks if the world is in the said time.
  • Example:
conditions:
  worldConditions:
    ifWorldTime: '>3000'
    ifWorldTimeMsg: '' #<- Here is where you will add the custom message.
  • Example Situations:
    • If the value is <667, the activator will only activate if the world's time is below 667
    • If the value is <1988, the activator will only activate if the world's time is 1988 and below.
    • If the value is ==465, the activator will only activate if the world's time is 465.
    • If the value is >3001, the activator will only activate if the world's time is above 3001.
    • If the value is >=18000, the activator will only activate if the world's time is 1800 and above.
  • Required: NO
  • More Info: You can edit the error message by adding this in the file: ifWorldTimeMsg: "&4&lError you need...."