Trello API | Ban system ( Tutorial )

:wave: | Hello there CookieTech!

Today, I’m going to teach you how to make a Trello ban system.

Keynote you can’t make an in-game unban command because of how the API works you will just have to move the card to another list or archive it

You may be thinking
“Can’t they just change their username and bypass it?”

Nope, it runs off their username and Userid. ( If your Trello banning you don’t have to have the hassle of getting their id,
“Ugh, that’s terrible you have to go to Trello just to ban somebody!”
Nope, I’ve made a command for Basic Admin so you can do it in-game.

Now onto the actual tutorial!

Please get the model from Here

Then move the “Ban System” script to Server Script Service
And the “Ban” Module script to your Basic Admin plugin folder ( If you use another admin they will probably be a way to do this.

Inside the ‘Ban System’ script, there is a ‘Config’ script open that.
Your ‘Board name’ can be found here: Imgur: The magic of the Internet
Your ‘List name’ Can be found here: Imgur: The magic of the Internet

:rotating_light: | The following information you should never give out to anybody.
Your ‘API-Key’ can be found here: https://trello.com/app-key Imgur: The magic of the Internet
Your ‘Token’ can be found here: https://trello.com/1/authorize?key=API-KEY&name=Roblox+Api&expiration=never&response_type=token&scope=read,write
In the Token URL make sure you set the API-Key to the API key you just generated
Scroll down and press Accept then you can find your token there. Imgur: The magic of the Internet
:rotating_light:| Secret information ended.

Your ‘Reason’ is if you haven’t set a ban reason on the Trello card description. ( This can be what you want )

Now head into your Basic Admin Plugin script

Feel free to customize the name and admin level ect.

You now need to get your Card-ID this can be done by doing the following:
Make a temporary card in the list you choose then click on it and go to the website’s URL.
Replace the last few letters with .json.
Example: Before: https://imgur.com/0nEWPvt After: Imgur: The magic of the Internet
Then press Ctrl + F and search for ‘idList’ and copy that.
Put that ID in the Basic admin plugin where it says ‘Card-ID here’

This system will work in all your games that have the ‘Ban System’ script in.

:tada: | Woo-Hoo!
You’re done! Thanks for following my tutorial if you have any issues feel free to dm me on discord ( Aspect#7265 )

Have a great day!
-Aspect.

3 Likes