Atlas Map Documentation

A comprehensive guide on creating maps and game modes for Atlas.

Checks<checks>

Checks are conditions that must pass in order for an action to happen in a match.

On their own, they do nothing.

All Check<all>

This check will only pass if all of it's children checks pass.

<checks>
  <all id="allofthis">
    <carrying material="iron" amount="12" />
    <holding material="iron sword" />
  </all>
</checks>

All Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Allow Check<allow>

This check will only pass if the child check passes.

<checks>
  <allow id="ironsword3">
    <holding material="iron sword" />
  </allow>
</checks>

Allow Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Always Check<always>

This check will always pass.

<checks>
  <!-- NOTE: The "always" ID is added by default and cannot be used -->
  <always id="always-1" />
</checks>

Always Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Any Check<any>

This check will pass if any of the child checks pass.

<checks>
  <any id="why">
    <carrying material="iron" amount="12" />
    <holding material="iron sword" />
  </any>
</checks>

Any Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Attacker Check<attacker>

This check is a parent check that can be used to query any information about the attacker of a damage event.

<checks>
  ...
  <attacker id="donthurtme">
    <any>
      <team>red</team>
      <team>blue</team>
    </any>
  </attacker>
</checks>

Attacker Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Carrying Check<carrying>

This check can be used to query information about what an entity has in their inventory.

<checks>
  ...
  <carrying material="diamond" amount="3" id="diamond" />
</checks>

Carrying Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Damage Check<damage>

This check can be used to query information about the cause of a damage event.

<checks>
  ...
  <damage id="falldam">fall</damage>
</checks>

Element Text

DescriptionType

Damage cause to look for.

DamageCause
Possible Values
Damage Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Deny Check<deny>

This check will only pass if the child check fails.

<checks>
  <deny id="ironsword2">
    <holding material="iron sword" />
  </deny>
</checks>

Deny Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Elimination Check<elimination>

This check is used to check if elimination is currently enabled.

SpecificationChanges
1.0.4ADDED
<checks>
  <elimination id="eliminated" />
</checks>

Elimination Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Entity Check<entity>

This check can be used to query information about the type of entity involved in an event.

<checks>
  ...
  <entity id="piggy">pig</entity>
</checks>

Element Text

DescriptionType

The type of entity to check for.

EntityType
Possible Values
Entity Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Explosion Check<explosion>

This check is used to check if an entity is a explosive.

SpecificationChanges
1.0.4ADDED
<checks>
  ...
  <explosion id="boom" />
</checks>

Explosion Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Flying Check<flying>

This check is used to check if a player is flying.

<checks>
  ...
  <flying id="fly" />
</checks>

Flying Check Attributes
AttributeDescriptionType
stateTrue/False
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Holding Check<holding>

This check is used to query information about what an entity is holding in hand.

<checks>
  ...
  <holding id="stone" material="stone sword" />
</checks>

Holding Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Inside Check<inside>

This check is used to check if a location is inside of a region.

<checks>
  <inside id="insidethis">
    <region>
      <sphere origin="41, 15, 0" radius="5" />
    </region>
  </inside>
</checks>

Inside Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Item Check<item>

This check is used to query information about the type of an item.

<checks>
  ...
  <item id="woodcheck" material="wood" damage="1" />
</checks>

Element Text

DescriptionType

The material to check against.

A material is defined in the syntax of matname:damage when matname is the name of the material and damage is the damage value of the material.

A damage value is not required.

Singular Material Matcher
Item Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Kill Streak Check<kill-streak>

This check is used to query information about the amount of kills a player has gotten in a row.

<checks>
  <kill-streak id="hey" scope="life">1-4</kill-streak>
</checks>

Kill Streak Check Attributes
AttributeDescriptionType
scope

Scope to use when checking streak.

Scope

life,match
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Kit Check<kit>

REQUIREMENT:This feature requires the Kits Module.

This check is used to check which kit a player is using.

SpecificationChanges
1.0.1ADDED
<checks>
  ...
  <kit id="kitcheck">some-kit</kit>
</checks>

Element Text

DescriptionType

The id of the kit for reference.

Kit ID
Kit Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Material Check<material>

This check is used to query information about what type of material an item or block is.

<checks>
  ...
  <material id="logfolder">log:1</material>
</checks>

Material Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Never Check<never>

This check will never pass.

<checks>
  <!-- NOTE: The "never" ID is added by default and cannot be used -->
  <never id="never-1" />
</checks>

Never Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Not Check<not>

This check will invert the result of the child check.

<checks>
  <not id="ironsword">
    <holding material="iron sword" />
  </not>
</checks>

Not Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Objective Check<objective>

REQUIREMENT:This feature requires the Objectives Module.

This check is used to query information about the current state of an objective.

<checks>
  <objective id="touch" state="touched">some-flag</objective>
  <!-- STATES: Completed, Captured, Touched. -->
</checks>

Objective Check Attributes
AttributeDescriptionType
team

The id of the team for reference.

Team ID
state

The score to check for.

Check Type

completed,captured,touched
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

On Ground Check<on-ground>

This check is used to check if a player is on ground.

<checks>
  ...
  <on-ground id="walking" />
</checks>

On Ground Check Attributes
AttributeDescriptionType
stateTrue/False
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Participating Check<participating>

This check is used to check if a player is currently participating in the match.

SpecificationChanges
1.0.4ADDED
<checks>
  <participating id="youplaying" />
</checks>

Participating Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Random Check<random>

This check will randomly return true based on chance.

<checks>
  ...
  <!-- 10% chance of passing -->
  <random id="chance">0.1</random>
</checks>

Random Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Score Check<score>

REQUIREMENT:This feature requires the Objectives Module.

This check is used to check the current score of a team.

If no team is specified, the team will be determined contextually.

<checks>
  ...
  <score compare="greater" team="blue">4</score>
</checks>

Element Text

DescriptionType

The score to compare against.

Text
Score Check Attributes
AttributeDescriptionTypeDefault
team

The id of the team for reference.

Team ID
compare

The comparator which is used to compare the supplied value and the score.

Number Comparator

equals - Check if numbers are exact match.,
less than - Check if the supplied value is less than the score.,
less than equal - Check if the supplied value is less than, or equal, to the score.,
greater than - Check if the supplied value is greater than the score.,
greater than equal - Check if the supplied value is greater than, or equal, to the score.
equals
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Sneaking Check<sneaking>

This check is used to check if a player is sneaking.

<checks>
  ...
  <sneaking id="sneak" />
</checks>

Sneaking Check Attributes
AttributeDescriptionType
stateTrue/False
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Sometimes Check<sometimes>

This is a random check with a 50% value.

<checks>
  ...
  <!-- NOTE: The "sometimes" ID is added by default and cannot be used -->
  <sometimes id="sometimes-1" />
</checks>

Sometimes Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Spawn Reason Check<spawn><spawn-reason>

This check is used to check the spawn reason of a spawn event.

<checks>
  ...
  <spawn id="spawneggs">spawner egg</spawn>
</checks>

Element Text

DescriptionType

Reason to check for.

SpawnReason
Possible Values
Spawn Reason Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Spectating Check<spectating>

This check is used to check if a player is currently spectating the match.

SpecificationChanges
1.0.4ADDED
<checks>
  ...
  <spectating id="spectator" />
</checks>

Spectating Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Sprinting Check<sprinting>

This check is used to check if a player is sprinting.

<checks>
  ...
  <sprinting id="sprint" />
</checks>

Sprinting Check Attributes
AttributeDescriptionType
stateTrue/False
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

State Check<state>

This check is used to check the current state of the match.

Default states are starting, playing, and cycling

<checks>
  ...
  <state id="matchstate">playing</state>
</checks>

Element Text

DescriptionType

The id of the state for reference.

State ID
State Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Team Check<team>

This check is used to check what team a player is on.

<checks>
  ...
  <team id="blueteam">blue</team>
</checks>

Element Text

DescriptionType

The id of the team for reference.

Team ID
Team Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Time Check<time>

This check is used to check time that the match has been playing.

<checks>
  ...
  <!-- Time equals 5 minutes, 0 seconds -->
  <time id="5minute">5m</time>
</checks>

Element Text

DescriptionType

The time to check against.

Number (Without Decimal)
Time Check Attributes
AttributeDescriptionTypeDefault
compare

The comparator which is used to compare the supplied value and the playing time.

Number Comparator

equals - Check if numbers are exact match.,
less than - Check if the supplied value is less than the playing time.,
less than equal - Check if the supplied value is less than, or equal, to the playing time.,
greater than - Check if the supplied value is greater than the playing time.,
greater than equal - Check if the supplied value is greater than, or equal, to the playing time.
equals
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Victim Check<victim>

This check is a parent check that can be used to query any information about the victim of a damage event.

<checks>
  ...
  <victim id="victims">
    <any>
      <team>green</team>
      <team>yellow</team>
    </any>
  </victim>
</checks>

Victim Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Void Check<void>

This check is used to check if a location is above the void.

SpecificationChanges
1.0.4ADDED
<checks>
  ...
  <void min="0,0,0" max="1,1,1" id="VOID" />
</checks>

Void Check Attributes
AttributeDescriptionTypeDefault
min

The minimum y coordinate to check.

Number0
max

The maximum y coordinate to check.

Number5
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Wearing Check<wearing>

This check can be used to query information about what an entity is wearing.

<checks>
  ...
  <wearing id="chestplate" material="iron chestplate" />
</checks>

Wearing Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID

Weather Check<weather>

This check can be used to query information about what an entity has in their inventory.

<checks>
  ...
  <weather id="norain">clear</weather>
</checks>

Element Text

DescriptionType

The type of weather to check for.

Weather Type

downfall,clear
Weather Check Attributes
AttributeDescriptionType
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID