# Local ban system

<figure><img src="https://i.gifer.com/7Ork.gif" alt=""><figcaption></figcaption></figure>

• **What is local ban system?**

> **Answer :** Let's say you are in a network with multiple guilds and don't like a particular user or messages from particular guild. You can ban that particular user or guild using local ban system so that the messages from that guild are not sent into your server's cross chat channel.

## User Ban Commands

1. `/username to userid <username>` : This command allows you to convert a username to userid, this command should be used only for banning purpose.
2. `/local ban user <userid>` : Ban a user with particular userid locally
3. `/local unban user <userid>` : Unban a user with particular userid locally (this won't unban if globally banned)

## Guild Ban Commands

1. `/network list` : This command allows you to list all guilds in your network with their guildid which can be used to ban the guild
2. `/local ban guild <guildid>` : Ban a guild with particular guildid locally
3. `/local unban guild <guildid>` : Unban a guild with particular guildid locally (this won't unban if globally banned)


---

# 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://crosschat.itzleo.com/systems/local-ban-system.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.
