# Gangs

## Gangs

Gangs let you play with other people and compete for Gang Top.

Create a gang with `/gang create [name]`.

Invite players with `/gang invite [user]`.

Accept an invite with `/gang join [name]`.

### Gang Top

Gang Top is based on the total blocks mined by your gang each week.

The top `3` gangs receive Lemons at the end of the week:

1. `25` Lemons
2. `15` Lemons
3. `10` Lemons

Weekly Gang Top progress resets for the new week.

The gang leader receives the Lemons. They decide how to distribute them.

Use `/gang top` to view:

* The top `10` gangs
* Total blocks mined by each gang
* Individual member contributions

### Gang commands

| Command                | Description                                                  |
| ---------------------- | ------------------------------------------------------------ |
| `/gang create [name]`  | Creates a new gang if you are not already in one             |
| `/gang invite [user]`  | Invites a player to your gang                                |
| `/gang join [name]`    | Accepts an invite to the specified gang                      |
| `/gang leave`          | Leaves your current gang                                     |
| `/gang info [name]`    | Shows a gang's kills, deaths, assists, leader, and members   |
| `/gang info [user]`    | Shows a player's kills, deaths, assists, gang, and gang rank |
| `/gang kick [user]`    | Removes a player from your gang                              |
| `/gang promote [user]` | Promotes a player in your gang                               |
| `/gang leader [user]`  | Transfers gang ownership to another member                   |
| `/gang demote [user]`  | Demotes a player in your gang                                |
| `/gang disband`        | Disbands the gang and wipes Gang Top progress                |
| `/gang confirm`        | Confirms actions like disbanding                             |
| `/gang friendlyfire`   | Toggles whether gang members can damage each other           |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.lemoncloud.org/gamemodes/prison/gangs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
