Edds' Banning System (1.20.50)
This script allows you to ban people from your servers and worlds. It has a friendly user interface which allows you to easily ban and unban people from your world.
To start using the banning system, type '-ban' in the Minecraft Chat while being an operator of the world.
This UI should pop up.

To add someone to the ban list
1. click 'add to ban list'
2. type in the name that you want to ban (case sensitive)
3. press 'Submit'

If you want to unban a player,
1. press 'remove from ban list'
2. choose a banned player from the list
3. press 'Submit'
4. (if you're playing in a local world and you banned someone in the same session) leave and rejoin the world.

That's it, you now have a ban system for your world!
Don't worry, if you're hosting a local world, you can't be banned from your own world.
'Can I use this for my BDS server?' Yes, you can. But be careful, you can be banned from your own server.
'Can anyone open this menu?' Only people that have the operator status can open this menu.
'What if a banned user changes their username?' This system remembers the players ID the first time get kicked from the ban system, so if they change their username, they'll still be banned.
'Will this addon break with future updates?' For now, yes. But I will continue to update this for those versions until i can use stable scripts for this addon.
You are NOT allowed to make your own download links for this script.
If you share this addon, please use this link.
I had to upload this as a draft first, so yeah.
Installation
Click on the download link, click 'go to destination', scroll down and click access link, wait 10 seconds, click it again, if 'Access Locked' appears, click skip until 'go to destination' turns green and then click that. After you download the file, just open it with Minecraft.
creator: https://www.youtube.com/@alienedds