# Ranks

If giving ranks to players by command doesn't work or it doesn't update inside tab, you can try using the Ranks addon to give the fake players ranks by force (at the moment supports the plugin LuckPerms). You can find it inside `plugins/Asteroid/addons/ranks.yml`.

```yaml
# Flag to enable or disable the addon
# Only suggested to use when executing commands to give ranks doesn't work
enabled: false

# If the player gets a rank once he should stay with it forever
persistent: true

# Weighted probabilities
ranks:
  default: 60
```

* `enabled`: By default it's false, but if you enable it make sure to restart the server.
* `persistent`: To know if the player already had a rank before or not, and if it did to keep it forever without changing it every join.
* `ranks`: The rank groups that will be given by force to fake players through weighted probabilities.


---

# 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://docs.spoof.dev/asteroid/setup/addons/ranks.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.
