IPCompare[CodeEx]
IPCompare is CodeEx's second plugin publicly released on dev.bukkit.org. This plugin is meant to allow server owners and staff to check/compare player's ips, list every ip a user has logged in from and check if accounts have logged on from the same ip. It also limits the number of connections allowed from one ip and warns allowed players of connections from same ips. This is just a way to help stop griefers with multiple accounts.
Features:
- Check the ip of a player on line with a simple command
- Compare and see how many accounts use the same ip
- List all ip addresses associated with a player's account
- List all ip addresses that have connected to the server since the addition of the plugin
- Get warned of duplicate accounts on login
- Limit the number of accounts that can connect from an ip
- Excludes ops and players with granted permission from limitations of ip or account number
- Very lightweight
Commands and permissions:
- /compare [player ip] - Shows you all the players in the list with the specified ip.
- /iplist [page index] - Lists all the players in the IPCompare player list.
- /ip [player] - Shows you the ip of the player specified if he is online.
- /listips [player] - Lists the ips that the specified player has logged in from.
- /warntoggle [player] - Adds or removes the player to the list of player that are warned when people login with same ip as others.
- /purgeip [player] - Removes all entries of a player from the list.
Permission:
- ipcompare.admin - Gives permission to all commands from this plugin.
- ipcompare.warn - Warns the player of an account logging in from an ip that is already listed.
- ipcompare. nolimit - Exclude the player from any limitation of ips or account number.
- ipcompare.* - Gives the player all the above permissions.
Configuration
- limit-type: - The type of account limit to use. Parameters:
- none - (default value) Does not limit accounts per ip
- online - Limits the number of accounts that can be online at the same time per ip
- general - Limits the number of accounts that can join the server from one ip. Once you log in from one account, other accounts can't.
- max-number-connection-from-ip: - The limit of accounts per ip. (disconsidered if limit-type is none) Takes in a number
- Database: Still not implemented wont make any difference if you edit it.
- message-language: choose the language for the kick message. options: EN - english / DE - dutch / FR - french / GE - german / IT - italian
How to install:
Download the IPCompare.zip and extract it to you plugins folder if you do not already have the plugin. If you do have the plugin add the files that are missing from the IPCompare folder and overwrite the config.yml and IPCompare.jar with the ones in the zip file.
Changelog:
- Version 0.1- released by uruhax
- Initial release of plugin
- Version 0.2- released by uruhax
- Added pages to the /iplist command. New usage is /iplist <page_index>
- Version 0.3- released by uruhax
- Added a function that limits the number of account per ip based on configuration.
- Added a function that warns ops or players with permission node of accounts logged in on the same ip.
- Added Config file.
- Added new permission node "ipcompare.warn". Warns the player of accounts logged in on the same ip.
- Version 0.4- released by uruhax
- Added permission node ipcompare.nolimit - Let's the player login to the server without any limitations for ip or accounts.
- Added permission node ipcompare.* - Give the player ipcompare.admin ipcompare.warn and ipcompare.nolimit
- Version 0.5- released by uruhax
- Added /warntoggle command to remove/add a player to the list of players that are warned when two account from the same ip log in. Usage: /warntoggle [player name]
- Version 0.6- released by uruhax
- Fixed some bugs.
- Version 0.7- released by uruhax
- Added a /purgeip command that removes all entries of a player in the list usage: /purgeip <player_name>
- Fixed /warntoggle command errors
- Added an option in the config for language and database usage. (database usage is not functional yet)
- Language files must be added to the IPCompare folder in the plugins folder manually and the config must be switched with the one in the rar then changed as you want it.
To-do list:
- Give suggestions :D
Known bugs:
Everything that has been reported was fixed. If you find anything else be sure to tell :D
-
View User Profile
-
Send Message
Posted Jan 20, 2012Added limit to connections from the same ip Added warnings of connections from the same ip
New file is already uploaded, just waiting for it to be approved. Please download version 0.3 when it is approved :D
-
View User Profile
-
Send Message
Posted Jan 20, 2012@Crayder
Hello Crayder, it is not possible to have a /compare <player_name> command because one player can have more than one ip and it wouldn't be possible to choose one of them to compare to the other players, so the only option found was comparing ip to players instead of player ip to player. As for the limiting of number on account per ip i think it is possible and will look into it. If i find a way to do it i will contact you.
Oh and would you want to limit a number of accounts from logging in with the same ip at the same time or in general?
Thank you for the comment and if you have any further questions please reply. :D
-
View User Profile
-
Send Message
Posted Jan 20, 2012@kozzy68
hello kozzy86, the plugin was made and tested on an online server. I don't think it would work on an offline server considering that players could connect to it and get the default player name "Player" that would confuse the logs and make it think that everyone with name "Player" is the same person, which would not be the case. So i think it only works for online servers. You can test it out on an offline one and report back here, but i won't be able to do anything about it if it doesn't work offline.
-
View User Profile
-
Send Message
Posted Jan 20, 2012@ludo0777
we already can get their ip and yes its only when they are online that is why it may take some more work or may not even be possible
-
View User Profile
-
Send Message
Posted Jan 20, 2012@lookatmego
Getting their ip is really easy but i think only works when they are online.
-
View User Profile
-
Send Message
Posted Jan 20, 2012@craftopia
I created a ticket for your comment. This may or may not be possible due to the way the database is checked. We may have to reconfigure it. @kozzy68
this is actually for online and offline. The server we use this on is online which this plugin originally pointed to but if you need a feature added please create a ticket for it.
@Crayder I created a ticket for your comment and we will see if it is possible or not.
-
View User Profile
-
Send Message
Posted Jan 20, 2012You should be able to use "/compare [player name]" and have it automatically pull their IP. Would also be awesome if you could have this allow a maximum number of alts per IP, setting it to 3 would only let players log onto your server on 3 accounts from the same IP.
-
View User Profile
-
Send Message
Posted Jan 20, 2012hi, I assume this is made mainly for offline serv. Can this read authme and xauth login and register ?
-
View User Profile
-
Send Message
Posted Jan 19, 2012Can you have it check its own list of IP's and warn if that IP was used by another account at any other time?
Doesnt have to check my banlist, but I would like to know if an IP is a duplicate of a previous login.
-
View User Profile
-
Send Message
Posted Jan 19, 2012@craftopia
Hello craftopia, i'm uruhax the developer of the plugin, it is possible to do what you ask, but not how you want it to happen. I can make it so ops get warned if a person logs into 2 accounts on the server at the same time, but i can't get the ips of the players in your banned list. This plugin only keeps the ips of people who logged in after it was added to the server. If you want me to make it so ops get warned of duplicate accounts when the both of them are online just say the word.
Thank you and if you have any further questions please ask :D
-
View User Profile
-
Send Message
Posted Jan 19, 2012Any possibility to have this plugin warn ops (or anyone with the permission node) that a duplicate account using the same IP has logged in?
I do bans regularly, and have guests login regularly. I would love to know if some of the guests are actually banned users, on a seperate account.
-
View User Profile
-
Send Message
Posted Jan 19, 2012@sgxmythic
Yes it can be pretty useful:) lookatmego uses it on his server and it works great so far! If you need any features added let us know:)
-
View User Profile
-
Send Message
Posted Jan 19, 2012This seems usefull for my admins and mods im gonna use it :D