Blip
BLIP
Pages
Commands | Configuration | New Features (v.1.3) | Upcoming Features
Introduction
Introducing Blip. Blip is a tool for IP logging, bans, kicks, and general user management. This plugin works much like most other banning plugins in that it does things such as:
- Allows the banning of IPs and Usernames.
- Allows you to kick players from the server.
- Allows you to use custom messages when kicking or banning. (optional, otherwise specified in the config)
- If you ban a username and they sign it with another IP (same name), they are banned again automatically
- Likewise, if they change their name and use the same IP, they will still be banned.
- This plugin also keeps a comprehensive list of IPs by user, and in the same file, users by IP.
- Config file is fully explained on this page and in the readme.txt (automatically generated on every run).
BUT WAIT! There's more!
I have also added a few things to it that I haven't yet seen in other plugins I've used:
- I attempted to make very short and simple commands. I like being able to ban someone fast if they're griefing the hell out of something.
- If set in the config, usernames or IPs can be exempted from the automatic banning of known users or IPs.
- Also in the config, users and IPs can be set as "unbannable".
- If a user or IP is in the "doomban" lists, any user that attempts to ban them (aside from the console), will be banned instead.
- This plugin includes a word filter. If a word has a word in the filtered-word list in it at all, the word is converted to "magic" letters.
- You can mute players by IP rather than just by name. (But you can mute them by name as well!)
At the moment (because this is my first plugin, and I'm not entirely comfortable with Java yet), this plugin does not support any permissions. At all. Nada. That's a project for a later date if I feel I should try to destroy my only currently public plugin. The ONLY commands a non OP player can use is "/blip" and "/blip ip". And "/blip" only tells them that they can use "/blip ip". OP users can see the rest of the commands by typing "/blip", although I do suggest you read through the rest of this (or the readme.txt) for even more information on commands.
Installation
To install this plugin (like any other plugin for the most part), just take 'blip.jar' and move it to your plugins folder in your server directory. This plugin may not want to initialize with a simple reload, so you may need to restart the server for it to work. You'll know it's working when the 'Blip' directory in your plugins folder is generated with these four files in it:
- readme.txt
- users.yml
- banned.yml
- config.yml
Commands and Config
(Moved these to seperate pages so the main page wasn't so long)
Commands Page | Configuration Page
Some extra information
This is my first plugin, keep that in mind. I can only hope that this will work accordingly on the majority of MC servers. If this doesn't work, PLEASE be polite and try to be helpful. Try to include console errors (if any, please say so if there are none). Also, it may be useful if you'd tell me what version of CraftBukkit you're using and version of Java if you know. If you are a dev and you know how to do this better, please don't be rude, but I'm up for constructive criticism.
This plugin was compiled with Java 1.6, but should work if you're using JRE1.6 or 1.7 at least. When 1.7 gains more headway, I can recompile with it if necessary.
Credits
Huge thanks to Jacek from betterPHP for helping me with quite a lot of this plugin. His site is http://betterphp.co.uk - Go there for some great tutorials (way more than just Java) and very useful forums.
Bugs
- The plugin will usually replace dots with underscores so it doesn't break yml files, they will echo back with underscores when you view them. (they should still work)
- If for some reason two people have the same name (but with underscores instead of dots or vice-versa), they will likely be categorized as the same person in the users.yml, I have no way of fixing this at the moment.
Bug Fixes
- Hopefully fixed the bug where users attempting to join, but having been banned by another plugin or the server is messing up the users.yml.
- If a banned user attempts to join, they may get the message "The Ban Hammer has spoken!" rather than the value set in the config. (This may or may not have been fixed)
- Fixed dots and special characters breaking the plugin (not thoroughly tested):

To Do
- Feel free to contribute ideas. If I like it and I think I can do it, I'll try it out.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@ThisUsernameIsMine
I'd appreciate it XD I work on this alone, and it's neigh impossible to debug and test everything all at once @.@
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Luficer
Ohh right, i'm learning new things every day :D
I'm about to (ab)use 1.2.1 now. again thanks :-)
-
View User Profile
-
Send Message
Posted Apr 3, 2012@ThisUsernameIsMine
Alrighty, I had to trow in something for when a user joins and has no IP XD It seemed that was what was happening whenever someone was banned by the server or another plugin, so that's what I put XD I guess I'll alter that line to at least sound better, I don't suppose it'll hurt anything for now.
If the server prevents the player logging in for whatever reason, an IP address isn't passed in as an argument to my function that logs the IP, so it utterly breaks everything and erases all the logged users under the Address node. That's why it's doing that now XD
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Luficer
Oh i see, yeah those frequent updates are amazing xD
By the way.. Some new things appeared in my console today:
[Blip] linkje is already banned by the server or another plugin.
Disconnecting linkje [/143.176.18.xxx:1274]: Sorry, a player with that name is already logged in on this server.
Connection reset
linkje lost connection: disconnect.endOfStream
Your plugin says (thinks) the player is banned by the server or another plugin, but the latter warning shows a different cause.
I'll try to find out how this happens and perhaps reproduce the problem.
-
View User Profile
-
Send Message
Posted Apr 2, 2012@ThisUsernameIsMine
I also use the dev LogBlock actually XD From what I've tried, it's damn near the only block logger that still works. I guess MC is just updating too frequently for anyone to keep up XD
-
View User Profile
-
Send Message
Posted Apr 2, 2012@Luficer
Trololol :D thanks for the effort! ;-)
I'm sure your plugin-fans appreciate that! :)
PS (slightly off-topic): do you know of a good block-change rollback plugin for 1.2.4?
I'm currently using a dev-build of LogBlock (do you have a plugin like that on your server?)
See You Around!
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 2, 2012@ThisUsernameIsMine
No problem XD I was expecting some config file problem. I forgot to consider the fact that I changed the file-version node to just 'version' in the config.yml. And it doesn't even exist in 1.0, so gonna have similar problems if updating from that. That's the node I use to determine whether the config needs to be updated. I suppose I need to fix that too.
-EDIT- Alrighty, I think I fixed that too XD Thanks for reminding me. I think I told you about the file-version node prior, and I still forgot to fix it before I uploaded it XD So now I've uploaded v1.2.1. Should work better now unless I've gone and messed something else up in the process @.@ Good luck!
-
View User Profile
-
Send Message
Posted Apr 2, 2012@Luficer
An update, sweet! :D
Unfortunately i'm getting the following output at server (re)start (under CB 1.2.4-R1.0 and latest dev build):
20:22:37 [SEVERE] Error occurred while enabling Blip v1.2 (Is it up to date?)
java.lang.NullPointerException
at me.offluffy.blip.Blip.checkConfig(Blip.java:132)
at me.offluffy.blip.Blip.onEnable(Blip.java:81)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
oh noes.. )-:
EDIT: Nevermind, after i deleted my old Blip folder/content the error disappeared
Best regards and thanks for the lightning fast update! ;-)
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 2, 2012@ThisUsernameIsMine
Thank ya XD I've hit a rather nasty road block. My plugin has stopped logging as it should. It'll add users and their IPs to the users.yml, but it has stopped adding the address nodes and the users under them. Since I do use that file extensively throughout the plugin, I won't be able to release until I debug and fix that problem @.@
-EDIT- Well I think I got it all sorted out. Mine as well give it another shot and let me know how everything works out XD
-
View User Profile
-
Send Message
Posted Apr 1, 2012@Luficer
Got it! ;-)
I'll keep your plugin-page in my FOV :P
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 1, 2012@ThisUsernameIsMine
It's close enough XD I can still understand what you mean. The spam should be fixed after 1.2, but I can't honestly say it definitely will be just because how many ways it could go wrong XD
-
View User Profile
-
Send Message
Posted Apr 1, 2012@Luficer
The best of luck to you! :-)
Though the 'Could not pass event PlayerLoginEvent to Blip' spam is a bit annoying with people that often (re)connect, i'm glad to hear that something good awaits amongst the horizon ;-) (was this properly written english? i'm dutch xD)
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 1, 2012My next update will contain several changes to the config.yml. I might not be able to include something to rewrite old config files, so the plugin may break until you delete the old config file and let blip generate a new one. Just throwing that out there!
- EDIT -
It's looking promising that most of the old config settings will be written into the new config when it's updated. The new node on the config "file-version" is going to be called "version" in 1.2. This node also doesn't exist in 1.0, and since I'm going to be using that node to check if the file is updated, I'll try to add the appropriate error checking to account for those nuances. At any rate, I urge all of you who update to check on your config anyways to look at new settings and ensure that all your settings were transcribed. I'm also adding a lot of new commands, so it may be a bit longer before v1.2 is released.
-
View User Profile
-
Send Message
Posted Apr 1, 2012@ThisUsernameIsMine
lmao, yeah, there's a few things I'm trying to add all at once XD There may or may not be a note in the config about that. Basically, standard names can only contain alpha-numeric characters and underscores, up to 16 characters. That much is already guaranteed if you have the server in online mode though. That's thrown in for the offline servers XD And I like to put the warnings in there to attract people towards the config and pay attention to what's in there.
I appreciate the support though XD You're about the only one it seems. @.@
-
View User Profile
-
Send Message
Posted Apr 1, 2012@Luficer
Woo.. sounds great buddy! :D
Btw: I also noticed the following warnings for the first time:
[WARNING] [Blip] Blip will allow nonstandard names.
[WARNING] [Blip] Be aware that some user names may break Blip
Loving Blip, and its getting better and better! :-)
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 1, 2012@ThisUsernameIsMine
lmao, thanks XD I think I have fixed the problem this time. I'm also adding new aliased commands so they are easier and quicker to use on this update and adding a new config option for auto-bans (which will add all of a user's ips to the ban list or all the users of a certain ip to the ban list if the option is enabled).
-
View User Profile
-
Send Message
Posted Apr 1, 2012Hey! I got the very same thing and was about to write a comment about this xD
Its an awkward thing but hopefully u've managed to fix it, for good ;-)
I'll continue testing in the meantime as there are quite some ignorant people that enter my server :-p
Looking forward to the update!
Best regards,
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 1, 2012@ThisUsernameIsMine
Well, I'm coming across the same problem again, but a different cause. It seems that if you ban someone with the built in (vanilla server) commands (/ban), it'll somewhat duplicate the effect with the spamming and the messed up users.yml file. So now I gotta try and figure out how to stop that. Example: I banned "Player" with the /ban command, and when someone joins using the name Player, it goes through all those errors again.
- EDIT - I think I've fixed the problem again XD I'll upload a v.1.2 and let everyone have a hack at it. I need more feedback from people T.T
-
View User Profile
-
Send Message
Posted Mar 31, 2012@Luficer
And that's what makes you awesome! ;-)
Will keep you updated how things went.
Thanks m8! :-)
-
View User Profile
-
Send Message
Posted Mar 31, 2012@ThisUsernameIsMine
That problem should be fixed now with v1.1! At least I'm hoping. As you can see, I don't have testers and I work on this alone, but I can try and hope for the best XD