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)
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!