OnePlayer
Function
This simple plugin protects your server from multiple accounts. It stores IP adresses and the associated playernames in a config file. If a player joins to the server, it checks the players IP adress and if the IP adress and the playername doesn't match, the plugin kicks the player. It send a permission based alert message, if someone want to join, but he is playing on the server with another account. Also, you can add exceptions, so the plugin won't check the username's IP adress if it's on the exception list.
Changelog
1.1:
- Added exceptions
- Added permission alert messages
- Added /oneplayer reload and /oneplayer exception command
1.0:
- First version of plugin
Functions
Protects your server from multiple accounts.
Commands
- /oneplayer exception - Adds a username to exception list, so the plugin won't check the player's IP adress when he joins.
- /oneplayer reload - reloads the Config file.
Permission Nodes
- oneplayer.* - Adds all permission for the plugin.
- oneplayer.reload - Adds permission for /oneplayer reload command
- oneplayer.exception - Adds permission for /oneplayer exception command
- oneplayer.alert - Adds permission to players/groups to show them the alert messages.
Todo
- Change kick message in config.
- Change alert message in config.
Bugs
None. (If you find some, please make a comment)
-
View User Profile
-
Send Message
Posted May 3, 2012An update would be very nice ;-)
-
View User Profile
-
Send Message
Posted Mar 1, 2012I begg of you please update :D
-
View User Profile
-
Send Message
Posted Feb 25, 2012It would be very helpful if the plugin could have a command like /check [ip] , so we could see all the usernames that tried to connect from one ip.
-
View User Profile
-
Send Message
Posted Feb 9, 2012Permissions to check only specific groups ? or add specific groups to exception list ?
-
View User Profile
-
Send Message
Posted Feb 4, 2012Quick request. Is it possible to make the message they get when they join configurable?
I'd like to add where they can go for an exception request, in the case there are roommates, university people, ect.
Also - On my server leave messages are disabled for people that quit. It looks like the server counts them as joined. As a result, if someone continues to try to get into the server, it spams leave messages in the chat. Not sure why it does that, maybe because it doesn't kick until after they are in game? Any way to remedy this?
-
View User Profile
-
Send Message
Posted Feb 2, 2012@omgitsmit Try to add all the usernames as exception that the two user use from the same IP. For example the first username is user1 and the second is user2. Use the /oneplayer exception user1 and the /oneplayer exception user2 commands, than if they joins to the game, the plugin won't check they ip adress, so if they have the same but you added them as exception the plugin does nothing and it allows them to log in.
-
View User Profile
-
Send Message
Posted Feb 2, 2012@deleted_8039704 If your IP changes from 1.2.3.4 to 1.2.3.5, you will able to log in from 1.2.3.5. But you won't able to login, if you already logged in with 1.2.3.5 and after that you change your username. For example, first you go up with user1, so it saves 1.2.3.5 ip adress than it associates your username to that IP, so you won't abel to log in from 1.2.3.5 with user2 username or anything else.
-
View User Profile
-
Send Message
Posted Feb 2, 2012Another feature request:
The ability to clear the players line in config.yml instead of having to drop into terminal, manually edit the config.yml and then /oneplayer reload
I had a hand full users that accidentally signed in using an alternate account and i had to clear it from the file manually and reload the plugin to get them back online.
It's not a big deal since the plugin really does it's job, and well. Just would be nice to be a lazy admin :D
Keep up the good work!
-
View User Profile
-
Send Message
Posted Jan 31, 2012@tomi35:
You missed my point. Entirely. I want to be able to connect to a certain account with 1.2.3.4 AND 1.2.3.5. NOT 1.2.3.4, if change to 1.2.3.5 then now only with 1.2.3.5
Something like the LimitIP mod would be great..maybe you could continue updating it since the current dev doesn't really care to update it?
-
View User Profile
-
Send Message
Posted Jan 31, 2012Can you make it so it only limit's certain people Not everyone?
-
View User Profile
-
Send Message
Posted Jan 31, 2012@tomi35: Looks great! I'll let you know if i find any bugs or problems.
One last request though, a donate link? I think you deserve some support :)
-
View User Profile
-
Send Message
Posted Jan 31, 2012@deleted_8039704 It's "support" dynamic IP adresses, so if your ip change from 0.0.0.0 (just an example) to 0.0.0.1 it will allow you to join. But it won't allow you if you use another username with this IP.
-
View User Profile
-
Send Message
Posted Jan 30, 2012OK, a few things you'd have to add before I would be able to use this at all:
1. Multiple IP support (a single ip per account would even lock me out of my own server..I don't always have same ip ;) )
2: Wildcards (eg 192.168.*.*) This would cover a majority of my players who are on dynamic IPs, with above example if you reset the modem and get a similar IP to what you had, you could still login to server no problem. (also DONT just have 1 wildcard at a time, allow wildcard(s) to be anywhere in whitelisted ip)
-
View User Profile
-
Send Message
Posted Jan 30, 2012@bigscary If he got a new IP, for example he log in first from 0.0.0.0 and he restart his router/modem, he got a new IP for example 0.0.0.1. So the plugin checks 0.0.0.1 and it see that no players have this IP so he adds it to the joined player. He can log in from his friend's computer. He only gets kicked when the IP and the username doesn't match, so he first coma up with 0.0.0.0 ip and user1 username, it saves to config like 0.0.0.0:user1. If he tries to join with tha same ip, but diferrent username, for example user2, he gets kicked becouse he didn't join with the username that associated with the 0.0.0.0 IP. BUT some minutes, and 1.1 is out, so you can add exceptions, so if 2 player uses the same computer and they're brothers and they play on your server, you add the second player's name to exception and the plugin win't check his ip when he join.
-
View User Profile
-
Send Message
Posted Jan 30, 2012Suggestion! :)
I installed this thing, then my players started complaining they couldn't log in. So I read the details - by IP? Really? So if a player's internet or power goes out, or he resets his modem for any other reason, he gets a new IP from his ISP and now he can't log into my server. He also can't use WiFi anywhere because that changes his IP, and he can't use a friend's computer or a computer lab at school.
Would prefer to make the user enter a password (like AuthMe), but ONLY when his IP doesn't match the last time he logged in with that account (unlike AuthMe, which asks every time and is annoying for that reason).
Thanks!
-
View User Profile
-
Send Message
Posted Jan 29, 2012@omgitsmit I'm working on it, but I got some bugs, so I need to fix it.
-
View User Profile
-
Send Message
Posted Jan 27, 2012Any update? We really need a whitelist!
-
View User Profile
-
Send Message
Posted Jan 25, 2012Works as advertised :) I did get an error when using LogBlock, but thats because it cannot pass the event to SQL for some reason. Other than that this works great. We really need an exception list, or even support for multiple IP addresses on the same account.
Keep up the good work!
-
View User Profile
-
Send Message
Posted Jan 24, 2012This is exactly what i was looking for. Testing out AntiMulti right now but it doesn't seem to be working. I'll give this a shot and let you know how it goes :)
Thanks!
-
View User Profile
-
Send Message
Posted Jan 24, 2012@mafima It's a good idea but there are some problems, becouse a lot of country (for example in hungary) most people have a dynamic IP adress and it change about 4 days, so it only possibble if I find an another fix point that i can authenticate.