> For the complete documentation index, see [llms.txt](https://wiki.lemoncloud.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.lemoncloud.org/gamemodes/prison/gangs.md).

# Gangs

Gang basics, Gang Top, and the full gang command list.

## 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           |
