# Banning

1. Log into phpMyAdmin (GDPS Management -> GDPS Links -> phpMyAdmin)
2. Once you're in, you should see a lot of things. Just click on the button that is circled in the image below:

![image](https://github.com/xavwashere/community-guide/assets/97399129/f4066f2f-5752-453b-90a7-0a11e401e1a2)

3. A lot of things should appear on the sidebar. Just find `users` and click on it

![image](https://github.com/xavwashere/community-guide/assets/97399129/3d373a1d-31f1-4214-b099-7dc8e69b2b1f)

4. There should be a table of all of your GDPS's users. Look for the username of the person you'd like to ban. Let's assume I want to ban xavvvv (what did I ever do?)

![image](https://github.com/xavwashere/community-guide/assets/97399129/ff2b6625-7d6d-4be1-b24e-e787b82d37b1)

5. As shown by my amazing highlighting, focus on the row with that person's username on it.
6. Find their user ID and put it somewhere. You're not going to need it now, but you will later, so copy it into Notepad or something.

![image](https://github.com/xavwashere/community-guide/assets/97399129/54f920e7-e43a-4442-8cd7-dc41b752f92d)

7. Use the scrollbar at the bottom of the screen to scroll to the other end of the page.
8. You should see their IP somewhere on that row; copy it, we're going to need it in a moment. Also, try not to leak everyone's IP. It's not nice.

![image](https://github.com/xavwashere/community-guide/assets/97399129/214c31f2-ee7b-4c02-b1dd-b8ea380f747c)

9. You are now done in the `users` section. *loud confetti noises* Now, let's move on. Focus on the sidebar for a minute and find `bannedips`. Click on it.

![image](https://github.com/xavwashere/community-guide/assets/97399129/7f33ab08-5fbf-4a7a-bba4-770494b8dfa7)

10. You should see this screen; Click on the `Insert` button at the top of your screen (the button that is circled)

![image](https://github.com/xavwashere/community-guide/assets/97399129/24048cee-04e2-4883-a3bf-d0cc0f70256e)

11. There should be a table. Find the IP row and edit the value. It *should* already say `127.0.0.1`. Delete it and paste in the user's IP but **don't** press `ENTER` once you're done. Just click onto the text box underneath (ID).

![image](https://github.com/xavwashere/community-guide/assets/97399129/4fcc74bf-e7c3-4065-8b03-4cf7866c0364)

12. Next, you'll need to find the user's ID. Remember we copied it earlier? You *should* have copied it into Notepad if you were following the guide correctly. Paste it into the textbox and hit Go.

![image](https://github.com/xavwashere/community-guide/assets/97399129/b96c2f34-18e6-45a1-a003-a6f2f8e07755)

You should now be done! Feel free to repeat the process for as many people as you want. Thanks for reading, I hope I helped! :)

If you need any help, feel free to contact me on Discord: xavvvv.xd

Thanks!


---

# 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://gdpsfh.gitbook.io/community-guide/phpmyadmin/banning.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.
