FokrokBans
Why we did this
I can almost hear you think: "why the hell would these guys make such a dumb plugin"? This plugin was actually made when we were bored. I (datdenkikniet) was playing on a server, and then DjFaRock told me he knew something fun. He said: "Lets make a stupid plugin!". I agreed on doing it, and see: here it is!
Commands and permissions
command/capabillity | permission | what it does | aliases |
---|---|---|---|
/fokrok | no permission needed | this will get you banned (note: you do get fancy fireworks!) | /fr |
not be banned by using /fokrok | fokrok.bypass | see capabillity | none |
/fokrok reload | fokrok.reload | reload the ban configuration | /fr reload |
/fokrok <playername> | fokrok.fokrok | ban a player (works for offline and online players) | /fr <playername |
/fokrok unfokrok <playername> | fokrok.unfokrok | unban a player | /fr ufr <playername>, /fokrok ufr <playername>, /fr unfokrok <playername> |
saying sorry in chat, to prevent yourself from getting banned | fokrok.escape | see capabillity | none |
/fokrok list | fokrok.list | Use this command to view all banned players | /fr list |
/fokrok switch | fokrok.switch | Use this command to switch the saving methods and transfer all data over | /fr switch |
Configuration
Name | What is it | What do you use it for |
---|---|---|
player-not-to-mess-with | The player you shouldn't mess with... | Sets the name of the player not to mess with in the message recieved when using /fokrok |
mysql-enabled | Wether the MySQL is enabled or not | |
mysql-username | Your MySQL database username | the username the plugin will use to connect to your MySQL database |
mysql-password | Your MySQL password | The password the plugin will use to connect to your MySQL database (NOTE: I won't steal your password!) |
mysql-hostname | Your MySQL database host URL | The database host the plugin will connect to |
mysql-database | Your MySQL database name | The Database the plugin will connect to |
mysql-port | Your MySQL database port (default is 3306) | The port the plugin will use |
devmode-enabled | Wether Development mode is enabled | Setting this to true will log all MySQL errors to the console |
What it does
It's a simple (troll) bansystem (it does really work though) that bans a player without the bypass permission (OP). If you have the bypass permission (OP) you can type /fokrok and nothing will happen, if a player without the bypass types /fokrok they will get spammed with explosions and firework. Also they will see a countdown from 20 to 0. If the player has the correct permission and types a message in the chat containing the word "sorry", the banisment will be canceled.
To do
Things to do | Done? |
---|---|
Fix explosion bug | Done |
Add a banlist | Done |
Make the banlist look better | In Progress |
Add a config where you can change the 'messed with <playername>' warning | Done! |
Add MySQL support when 20 downloads are reached | Done! |
Create a cruel tutorial | Done |
Add "poof" particles when 200 downloads are reached | Done! |
Create a New "useless" plugin @ 1000 downloads! | Pending... |
Source
I haven't put the source on github yet. If you want me to, please tell me in the comments!
Welp since u seem bored, maybe u wanna help dev my server, coolkidpvp.cu.cc we need a dev since our last dev is busy now, we use mainly custom plugins i have the source code i just need help fixing some glitches with them and maybe adding some new cool stuff
I'm bored, but I still work for another server :). Usually I'm busying doing stuff for that server, but this was a day I was bored. This means I won't really be able to help you. Sorry!
hahahahahah thats fine thanx anyways