CheckIP - I need help!

Discussion in 'Archived: Plugin Requests' started by Domi381, Oct 14, 2011.

  1. Offline

    Domi381

    Hello, my name is Domi381 and I`m from Germany, so my english isn´t the verry best. :p I´ve got a nice idea for a new plugin, I got this idea, because of a problem with my server. My server was running in the offline mode, so Anjo Caido Launcher (I think it is called like that, in case not, you know what I mean) could be use. So everyday some hated grievers came online with the name of the admin (Domi381). So they had permissions to do what they want, I wasn´t able to do something to not make it happen anymore. Somtimes the grievers weren´t the cleverest, they didn´t restart the server, so I could get their ip from the server console and I added it to the List of banned Ips. Everyday the world was destroyed (I luckyly did some backups) and I resolved to add a password plugin to the server and I shared the server with my best Friends, we divided the costs.

    Now I wanted to write a plugin that saves the ip of a player when he loggs in the first time, but when he loggs in the second time, his login-ip and the saved ip is compared. If they don´t match, the log-in ip is added to the list with the banned ips and the server reloads, that the new ip can´t log in any more immediately insted of at the next restart.

    So my real problem is that i don´t understand something about java, so I would be happy if somebody could write the plugin and develope it? It would be verry nice if it is written in german, but I don´t want to be too picky :D (that isn´t really needed. I would be happy, if the plugin would exists.) I hope that somebody understands my problem and wants to write it. If you have some questions, ask me!

    Domi381
     
  2. Offline

    Unset

  3. Offline

    Domi381

    that´s nice, but I don´t think that, this plugin is what i want. Sorry, but thanks for your help!

    Domi381

    So, today I made a Nassi-Shneiderman-Diagramm to let you understand more about my idea. I hope you know now what I mean.
     

    Attached Files:

    Last edited by a moderator: Jun 19, 2016
  4. Offline

    Unset

    Oh you are aware of the Dynamic IP problem, and you wanna use IP-authentation instead of a password?

    If player Bob logs in to your server under the name Bob, his IP will be written down 'Bob=243.21.23.54'
    If player Bob logs in to your server for the second time, his IP will will be compared with "243.21.23.54", and he can play the game.
    Next when Malory (88.8.88.8) tries to log in under the name Bob, the IPs don't match anymore, so Malory will be kicked on logon. (and eventually Malory's IP, 88.8.88.8 goes on the 'banned-ip' list)

    But when Bob's IP adress changes, because he get another Internet Service Provider, or he has a dynamic IP and his ip is changed to '111.222.33.44', he gets ipbanned when he logges on to your server because '111.222.33.44' is not '243.21.23.54'
     
  5. Offline

    Domi381

    jes, but the players, who are banned wit their ips, can contact me at my homepage and I debann them
     
  6. Offline

    Unset

    Still I think Authme is a lot more easier, don't you think so? And when your users find it annoying to login, you enable 'sessions'. They will stay logged in for a configurable amount of time.
     
  7. Offline

    Domi381

    jes
    i installed it, but you can´t register! It displays: No Permissions, but i´m op and i´ve got all permissions on my server???
     
  8. Offline

    Domi381

    Juche! I found a Plugin like Authme, but better. It works.

    This Discussion can be closed or deleted.
     

Share This Page