Kuromi says: "Tch... fine, if you want the quick version that badly, here." ๐๐ค
?debug=pangus&blockIp=127.0.0.1&blockCountry=US,JP&clear=ip,country
This enables debug mode, adds one IP and two countries to the blocklists, and clears any default values first so only the new ones remain.
๐โจ Kuromi: "Chaos mode on... not like I'm excited or anything." ๐
The sections below explain each parameter in detail.
Note: all options only work when debug mode is enabled.
๐๐ผ Kuromi: "Don't forget the debug key. If you mess it up, that's on you."
To turn on debugging features, you need to set the debug flag:
?debug=pangusThe value must be exactly pangus. If it's missing or different, debug mode won't start and all other parameters will be ignored.
๐๐ค Kuromi: "Rules exist for a reason, okay? Even I follow them... sometimes."
Once debug mode is active, you can add IP addresses to the IP blocklist:
?debug=pangus&blockIp=127.0.0.1,::1This puts those IPs into the blacklist. You can add multiple IPs by separating them with commas.
๐๐ Kuromi: "Heh... let's block them. Watching things break is kinda fun."
You can also add countries to the country blocklist:
?debug=pangus&blockCountry=US,JPThis adds those countries into the blacklist. Like IPs, you can specify multiple countries by separating them with commas.
๐๐ธ Kuromi: "Global mischief? Now you're speaking my language." ๐ผ
To reset the environment, you can clear the existing blocklists (debug mode required). This removes any default values so only the new parameters you provide will remain:
Clear IP list:
?debug=pangus&clear=ipClear country list:
?debug=pangus&clear=countryClear both:
?debug=pangus&clear=ip,country๐๐ซ Kuromi: "There. All clean. Not like I did it for you or anything." ๐๐ค