IP Blocker

Discussion in 'Plugin Requests' started by Craftymatt2, Apr 24, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Craftymatt2

    IP Blocker

    Category - Server Management / Admin

    I thought that it would be useful if you could block players IP from joining the server. A bit like banning them but you can only add the IP's In a config file along with the ability to add a kick message.

    It should kick a player, with a message, if they try to join with a certain IP. It should only be a small plugin and nothing else is needed.

    Ideas:
    Name - IP Blocker
    Game Version - 1.10.2
    Commands - IMPORTANT - No Commands Should Be Allowed.
    Done By - Using Variables in a config file.
    ##############################
    For Example
    - Config.yml
    Kick-Message = "Your IP Is Blocked"
    Blocked-IP-1 = 111.111.111.111
    Blocked-IP-2 = 222.222.222.222
    .....
    ##############################

    This would be a simple alternative for people who would like to block players (mainly hackers) IP and no player can unblock it without the console and permission to access the file.
    The IP should be blocked so the user cannot use Alternate accounts to get around the ban.

    The plugin should have no commands and nothing which shows in game at all.

    I don't know if this will be possible but it should work a bit like an IP-banning plugin but no where near as complex.

    I don't need it as a matter of urgency. It would just be really usefull
     
  2. Offline

    yPedx

    @Craftymatt2
    Should there be a maximum for every player?
    Code:
    Blocked-IP-1 = 111.111.111.111
    Blocked-IP-2 = 222.222.222.222
    etc..
    EDIT: I understood a bit wrong :p I know now.
    What kind of variables?
     
  3. Offline

    Craftymatt2

    I don't really know, just something which you can set as an IP address with the dots and numbers, there shouldn't be a maximum because the IP could be anything.
     
  4. Offline

    Craftymatt2

  5. Offline

    martian3333

  6. Offline

    yPedx

    @martian3333
     
  7. Offline

    RcExtract

    There are many plugins that have more features then what you mentioned. I recommend https://dev.bukkit.org/projects/advancedban
    If you really want a fresh coded plugin, I can help you.
    I disagree. The plugin should have commands that allow granted players to use them and edit the banned ip list.

    EDIT: Can you explain briefly why you are refusing commands? Thanks.
    I suggest to add banned ips as a list like the following:
    Code:
    bannedips:
    - 000.000.000.000
    - 111.111.111.111
    - 222.222.222.222
     
    Last edited: Apr 29, 2017
  8. Offline

    Craftymatt2


    Hackers keep using different IP Addresses to get staff then unban their accounts or getting friends to be staff then unban them.
    So I need it so they can't unban themselves with commands, only through taking their IP address from the server config.

    So instead of making a new plugin is it easier to change https://dev.bukkit.org/projects/ip-ban
    Or A Different Open Source Plugin (I don't know the rules about copying parts from other plugins).
    And make it read IP's from the config rather than take them from a command input?

    Or a different plugin which doesn't interfere with the ban plugin that I have now. I just want to use it for hackers which try to evade their ban

    Good Idea With The List:

    New Example

    Code:
    # Config.yml
    Kick-Message = "Your IP Is Blocked"
    Blocked IPs:
    - 111.111.111
    - 222.222.222
    - 333.333.333
     
    Last edited: May 1, 2017
  9. Offline

    Glamourized

    I don't believe you can have a space in a config file where the server is going to be reading the information. Basically, what I'm saying is that the "Blocked IPs:" has to be "blockedips:"
     
    RcExtract likes this.
  10. Offline

    RcExtract

    Project waiting for moderator approve.
    I don't understand. How can hackers use fake ip to get op? Is the server offline, meaning existence of uuid is not checked? (Doesn't mean offline by server down)
     
  11. Offline

    Craftymatt2

    When I IP ban them they are using different IP Addresses to use Alt Accounts to get a staff rank on the server. With the staff rank they can then unban their main accounts (and IP Addresses) and log back in using it.
     
  12. Offline

    Glamourized

    It sounds like there might be an issue with your permission management. I'm assuming you're using a permission plugin like PermissionsEx, right? If not I would highly recommend that you do. Regarding your staff issue, there shouldn't be a way that they are being promoted without a higher staff member or Console access. Perhaps check your server logs for abusive staff.
     
  13. Offline

    martian3333

    @Craftymatt2
    Well you've spent enough time explaining why you need it. All done. You can customize the message sent to the blocked player in the config. I added one permission node for the one command. The command is /foi and the node (OPs can use the command regardless) is foi.reload. All it does is let you reload the config file immediately instead of waiting for the next server restart.

    https://www.dropbox.com/s/z9ivwkyoxu4vprz/FOIPBlock.jar?dl=0
     
  14. Offline

    Craftymatt2

    Thanks So Much, Exactly What I Was Looking For!
     
  15. Offline

    martian3333

    @Craftymatt2
    If the plugin works properly. Please mark this thread as "Filled" and you're very welcome.
     
Thread Status:
Not open for further replies.

Share This Page