> ## Documentation Index
> Fetch the complete documentation index at: https://docs.melonly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ER:LC Conditions

> Learn how ER:LC condition blocks check player data and return true or false.

***

ER:LC Conditions check a player's in-game data and return true or false, such as whether they are a moderator, have a permission or are on a team.\
Use them so actions only run when the in-game requirements are met.

<Frame caption="ER:LC conditions in the block library">
  <img className="block" src="https://mintcdn.com/melonly/Icf-MhWcCce5bv5F/images/Dashboard/Workflows/lib-erlc-conditions.png?fit=max&auto=format&n=Icf-MhWcCce5bv5F&q=85&s=06ea258ce62660f98222a825f12c9f52" alt="The block library showing Is Player Moderator with its Is Moderator and Is Not Moderator outputs" style={{ borderRadius: '0.75rem' }} width="1918" height="989" data-path="images/Dashboard/Workflows/lib-erlc-conditions.png" />
</Frame>

***

## Blocks

<Tabs>
  <Tab title="Is Player Moderator">
    ## Is Player Moderator

    The Is Player Moderator block checks whether or not a player is a moderator.

    ### What Does It Do?

    This block evaluates the selected player and returns a boolean value based on whether they are a moderator.

    <Card title="">
      **Input**

      * **Player**: The player to check.
      * **User**: The user associated with the player.

      **Output**

      * **Boolean**: True if the player is a moderator, false if not.
    </Card>
  </Tab>

  <Tab title="Does Player Have Permission">
    ## Does Player Have Permission

    The Does Player Have Permission block checks whether or not a player has a specific in-game permission.

    ### What Does It Do?

    This block evaluates the selected player and permission, returning a boolean value based on whether the player has that permission.

    <Card title="">
      **Input**

      * **Player**: The player to check.
      * **Permission**: The permission to verify.

      **Output**

      * **Boolean**: True if the player has the permission, false if not.
    </Card>
  </Tab>

  <Tab title="Player On Team">
    ## Player On Team

    The Player On Team block checks whether or not a player is on a specific team.

    ### What Does It Do?

    This block evaluates the selected player and team, returning a boolean value based on whether the player is part of that team.

    <Card title="">
      **Input**

      * **Player**: The player to check.
      * **Team**: The team to verify.

      **Output**

      * **Boolean**: True if the player is on the team, false if not.
    </Card>
  </Tab>
</Tabs>

***

<Card title="Need help?" icon="headset" href="https://melonly.xyz/discord">
  Still have questions? Join our Discord server for support from the Melonly Team.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.