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 23, 2012Add permissions :D?
-
View User Profile
-
Send Message
Posted Apr 19, 2012@fromgate
Yes, I put that in the description somewhere I'm sure. If you do /blip ip <username>, it'll return the IPs that player has used, and if you do /blip ip <IP address>, it'll return the list of names associated with the IP. Alternately, you can open the users.yml file and it keeps a list of usernames with all their IPs, then farther down, a list of IPs with all the names under it. The top name "root" and top IP "127.0.0.1" are example nodes that I put in so the plugin wouldn't error out (it will if the file is empty).
-
View User Profile
-
Send Message
Posted Apr 19, 2012Hello! I don't need IP-bans, but I need to know players name that use same IP as others. Did this plugin can help me?
-
View User Profile
-
Send Message
Posted Apr 17, 2012<<reply 656906>>
Good luck big boi xD and sorry for my lack of responding.
Been busy myself too but i appreciate what you do and understand your situation ;-)
(thanks for the update)
Be seeing you! =^)
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 16, 2012Just a random update, this next update may take a little longer to complete because we're nearing the end of the semester and I have a lotta crap to do in a lotta classes, so this may not be on the top of my to do list for a little while XD But I did at least put some updates to expect on the Upcoming Features page.
-
View User Profile
-
Send Message
Posted Apr 14, 2012@ThisUsernameIsMine
Yeah, the ban message you specify when you ban someone is displayed when the player is disconnected. Then, every time they rejoin, it shows the default ban message. I could 'fix' this, but it would require a new file to store the specific ban message for each person. I've been thinking about working that in anyways XD
Also, Blip kinda ignores case-sensitivity. It'll also probably consider dots and underscores the same way. (The dots break the config, so I had to replace them with underscores before they are stored, therefore, underscores and periods are the same as far as Blip is concerned, so this.name is the same as ThIs_NaMe) XD I may find a way to fix this later, but it's a bit beyond me atm. And it's case insensitive because it makes it easier for people to ban users without paying attention to the exact case of the specific name.
-
View User Profile
-
Send Message
Posted Apr 14, 2012@Luficer
Hey. Its me again ;-)
When banning people name on ip address, you can enter a reason. But whenever a player with that name or ip connects to the server it always says:
You have been banned from this server, be gone! (which is defined in the .yml) :-S I thought a the reason of the ban would be displayed for each person that connects with that name/ip, but it doesn't.
Can you fix this? Also, does Blip take case-sensitive usernames into account or does it treat 'example' the same way as 'eXaMpLe'?
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 11, 2012@ThisUsernameIsMine
I can't remember if it's enabled by default or not. You can toggle it in game with "/blip ab" Thanks XD
-
View User Profile
-
Send Message
Posted Apr 11, 2012@Luficer
Awesome buddy! (as always, can't wait xD)
About the auto-banning: Is it enabled by default?
I always ban one name/ip at a time but when i tried to ban those two names it said it had banned 29 related ip addresses, while i'm 1000% i never toggled auto-ban.
Anyway.. looking forward to the update bro ;-)
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 10, 2012@ThisUsernameIsMine
Well, I like the online players idea. I will try to work that into 1.4 XD And I'll also work in another word filter method (since "ass" also filters "glass" and "grass"). And for shits and giggles, I'll make an option to either censor filtered words or emphasize them :D Or both. Maybe just make a separate list.
As for the excluding thing, as long as auto-banning is disabled (/blip ab - toggles it), it will only prevent banned players. If you want to ban those names, just use /bb <name> and it'll only ban the name. The auto-ban only take effect when someone tries to log in using a banned name or IP, then it bans either the new IP or name that they use.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@Luficer
d'oh.. :-/ Must've overlooked it!
But there's more :P
Is there a command that only shows the currently connected player's ip addresses?
And finally: Is it possible to ban/exclude certain names and not automatically ban the related ip addresses?
I basically want to ban/exclude the names: Player and MinecraftForFree, but don't want to completely ban the people from using other names.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@ThisUsernameIsMine
Maybe I'm not entirely sure what you mean, but I think that feature has been there the whole time XD If you do /blip ip <username or IP> Putting a username will return a list of IP addresses from that user. Putting an IP address will return a list of names from that IP (could be nicknames or housemates, mind you XD) Without the argument, /blip ip just gives you your IP address(es).
-
View User Profile
-
Send Message
Posted Apr 10, 2012@Luficer
WoW! Thanks for the update! I think u've outdone yourself :D
Love the changes/features!
I have one feature request/suggestion though.
In addition to /blip aip i would love to see the following:
- Lookup which nicknames/aliases someone used under a given ip
- Lookup which ip addresses someone used under a given nickname
(i took the features from http://dev.bukkit.org/server-mods/iplog/ )
Can you do that? Sure you can! :P
But seriously.. you must know that Blip is one of my most crucial/critical plugins i use on my server ;-)
Thanks!
Best regards,
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 8, 2012@kozzy68
Sorry, I don't know how I'd do that XD I don't even really know if AuthMe has any hooks that other plugins can use, and if they did, I wouldn't know how .-. But it's a good idea. If I ever figure out how, I'll try it. lmao
-
View User Profile
-
Send Message
Posted Apr 8, 2012Hi can this work with Authme to take only peple that did register or sucesfull auth into consideration for autoban ?
-
View User Profile
-
Send Message
Posted Apr 8, 2012@ThisUsernameIsMine
Thanks XD I have fixed the problem actually. Just a problem how I restructured the users.yml and I didn't update the code to accommodate it. Although I haven't updated to that version yet. I'm working out a few more things like being able to mute people by IP and optional word-filtering that takes certain words and replaces it with the "magic" chat color. You'll hafta see if later if you don't know what I mean XD Or just try &k chat color in-game. And I'm reworking how the lists look and trying to get it to print less lines and such. I'll get a 1.3 version out soon XD
-
View User Profile
-
Send Message
Posted Apr 8, 2012@Luficer
Hey! Sorry for the late comment/reply, been quite busy on my server (testing various plugins) and irl, i kinda lost myself lol (happy easter btw).
I haven't yet tried what you suggested, i somehow always use /ban instead of /bban or /bbanip. I'm kinda hooked in using short commands :$
And perhaps i DID use it but nothing (strange) happened.. dunno for sure, been with my nose up/into plugins (currently having around 60 enabled...).
If i happen to find something that shouldn't happen/occur, i'll let you know asap! (hopefully)
Again, thanks for writing/developing the plugin!
Best regards,
The Easter Bunny xD
-
View User Profile
-
Send Message
Posted Apr 3, 2012@ThisUsernameIsMine
I noticed a potential problem that ya should try XD Earlier on a live server, I banned someone via IP, but it didn't kick anyone (and I thought I had it set up to kick everyone with the IP that was banned). I think this may have been a problem with the users.yml file since I had to reset part of it, so maybe you can try it instead if you can XD Just to see if IP banning kicks connected players with that IP. Or users that have ever used that IP probably. If it doesn't work, I guess you can still manually kick the people XD
-
View User Profile
-
Send Message
Posted Apr 3, 2012@ThisUsernameIsMine
Thank god XD I doubt it'll break anything too bad. This was a very simple plugin for the most part and doesn't seem to rely to much on stuff that I'd think would change. But I'll just keep my fingers crossed @.@
-
View User Profile
-
Send Message
Posted Apr 3, 2012Hello again, reporting back to you that i haven't seen any '[SEVERE] Could not pass event PlayerLoginEvent to Blip' :-) (knock on wood)
Now waiting for the official 1.2.5 release of Minecraft (hopefully it doesn't break anything.. lol)
Best regards,
- ThisUsernameIsMine