Inactive [ADMN] AdminIP v0.2 - Op By IP [1060]

Discussion in 'Inactive/Unsupported Plugins' started by BR_, Jun 20, 2011.

  1. Offline

    BR_

    AdminIP - Op By IP​
    Version: 0.2​

    [​IMG]

    Everyone connecting from specified IP addresses will be opped when they join, and deopped when they leave.

    How to install:
    1. Download the latest version of the plugin.
    2. Move the file AdminIP.jar to the plugins folder.
    3. Start or reload server.
    4. All done!
    How to configure:
    1. Open the plugins folder.
    2. Open the folder inside the plugins folder called AdminIP.
    3. Open the file inside AdminIP called config.yml.
    4. Add, remove, or change lines, to taste. It is in YAML format.
    5. Save the file config.yml.
    6. All done! You don't have to reload the server, it will detect the change immediately and automatically.
    How to uninstall:
    1. Turn off the server.
    2. Delete the file AdminIP.jar from the plugins folder.
    3. Delete the folder AdminIP from the plugins folder.
    4. Turn on the server.
    5. All done!
    Features:
    • Op IP addresses, not just names
    • Deops people when they disconnect
    Download Op By IP
    Source Code

    Todo:
    • Ingame commands to op/deop IP addresses - pretty easy.
    • Remove redundant deop when player joins server, gets opped by AdminIP, gets deopped by another player, and leaves server - hard to do with the current Bukkit (functionality not yet added).
    • Option for invisible op/deop - hard to do with the current Bukkit (functionality not yet added).
    • Opped IP addresses can bypass whitelist and premium user check - hard to do with the current Bukkit due to glitch.
    • Customizable messages (enabling translation to other languages) - pretty easy.
    • Run other commands when an IP joins/leaves the server (/whitelist add, /whitelist remove, /god, etc.) instead of only /op and /deop - harder, but still pretty simple.
    • Let some IPs be "sticky" - easy.
    • Optional file cache (to avoid reading the configuration file every time a player joins the server) - easy.
    • Colors! :D - easy.
    • Reduce console spam for busy servers - easy.
    Changelog:
    • Version 0.2
      Bug fix, code cleanup
      Date: June 27, 2011
      CraftBukkit Versions: 935, 953, 1000, 1060
      Minecraft Versions: 1.6.6, 1.7.3


    • Version 0.1
      First release
      Date: June 4, 2011
      CraftBukkit Versions: 860, 935
      Minecraft Version: 1.6.6
     
    -anonym- likes this.
  2. Offline

    rcth

    I don't see why players have to deop by disconect?
     
  3. Offline

    Numenorean95

    Maybe you only want your friend to be OP at your house. Very good idea!
     
  4. Offline

    rcth

    Ah, now I understand. Nice idea :)
     
  5. Offline

    BR_

    This way, you op the IP - not everyone connecting from the IP. As numenorean95 said, this prevents people from logging in on your computer once and having ops, and also prevents people on offline-mode mode servers from taking an admins nick and rampaging. The ability to turn this off is in my todo list.
     
  6. Offline

    Jellp

    Nice work! but im not getting opped. Here is my log.

     
  7. Offline

    BR_

    What version are you running?
     
  8. Offline

    Jellp

    Im running build 860, because not all my plugins support build 935 etc. Ill try to update that through.
     
  9. Offline

    kkidd5

    You need to run build 935.... , And ask the plugin developers to update the plugins.
     
  10. Offline

    Jellp

    I have just done that, and it didnt work.

    EDIT; it gives me the message i have been opped, but i'm not.

    PLUGINS;
    AdminIP
    Autosave
    Citizens
    Dactions
    Iconomy
    Jobs
    Lockette
    Loginmessage
    Minecart Mania (Everything of that)
    Whitelist
     
  11. Offline

    BR_

    It should work on 860...
    Try version 0.2 (which should fix it).
     
  12. Offline

    Jellp

    Thanks! it's working now, you might want to edit your post at the following;
    Download the latest version of the plugin. Gives you the old one.
    And you might want to change Version: v0.1 to Version: v0.2

    Just a tip. :p

    EDIT;
    Getting Opped, but will not work with essentials. wich will deop me sorta, is there a way to fix that?
     
  13. Offline

    BR_

    Done, and I don't know why Essentials breaks it. I'll look into it.
     
  14. Offline

    Jellp

    Nvm that, i think it had the wrong build. Works again.

    EDIT; even through, Factions wont work now. =/ (Worked fine without essentials, i sould post that somewhere else, do I? :p) Found out problem, nothing to do with your plugin.

    EDITPS: Great plugin you got! :D
     
  15. Offline

    BR_

    Thanks for the report, removed from todo list.
     
  16. Offline

    swehunter2000

    Does this work with CB 953?
     
  17. Offline

    BR_

    I can't test it at the moment, but it might - try it :)
     
  18. Offline

    nggmc

    Can you try and make it compatible with Permissions.
     
  19. Offline

    BR_

    Which nodes would I use?
     
  20. Offline

    nggmc

    EX: IP.123456789 Is in GROUP
     
  21. Offline

    BR_

    What?
     
  22. Offline

    chinchila

    man i want to know how i configure thsi in log can you explain in details?

    i put ip

    AdminIPs:- xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

    but the console think this 3 IPs is one ????

    so i cant put my IP and my adm's IP in the same line cuz it think is just one IP and it get error

    and i try put IP breaking lines but it show me a other error
     
  23. Offline

    BR_

    Try this:
    Code:
    AdminIPs:
    - xxx.xxx.xxx.xxx
    - xxx.xxx.xxx.xxx
    - xxx.xxx.xxx.xxx
     
  24. Offline

    chinchila

    OOO MANNNNNNNNNNNNNNN THANX SO MUCH IT WORK SOOOO GREATTTTTTTTTT THIS IS THE MOST EPICNESS PLUGIN EVER! NOW MY SERVER IS ALMOST 100% !
     
  25. Offline

    bzellinger

    I have installed your plugin but it didn't create the config folder.

    Plugins: �aAdminIP�f, �aBackup�f, �aIBICF�f, �aMinecraftViewer�f, �aMobDisguise�f, �amobSpawner�f, �aSimpleGodMode�f, �axpMod

    This server is running Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)

    Thanks for looking.
     
  26. Offline

    BR_

    I don't know why it would not create a config folder - what happens when you make it manually?
     
  27. Offline

    bzellinger

    Nothing happens.
     
  28. Offline

    wolnavi

    can you please update this to 1.0.1? please or are you waiting for 1.1?
     
  29. Offline

    -anonym-

    update to 1.1 - R4 pls
    I really need this plugin
     
  30. Offline

    D3zhu98

    I received an error....

    15:23:38 [INFO] [AdminIP] Enabling AdminIP v0.2
    15:23:38 [SEVERE] Error occurred while enabling AdminIP v0.2 (Is it up to date?)

    java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
    at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoad
    er.java:234)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:37)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at me.br_.minecraft.bukkit.adminip.AIMain.onEnable(AIMain.java:22)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:336)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232
    )
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListe
    ner
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 26 more
    What should i do?
     

Share This Page