Inactive [ADMIN] PreKick v2.2.1 - Now on Bukkit dev [1.3.1-R2.0]

Discussion in 'Inactive/Unsupported Plugins' started by WildN00b, May 1, 2011.

  1. == PreKick V2.2.1 ==
    === Important news ===
    In PreKick V2.2.0:
    * Added translating ability.
    * Added to the config and the player check isn't case sensitive.
    * Added Blacklist.Player for custom kick messages for individual players.
    * Added /whitelist (for short /wh) and /blacklist (for short /bl)

    In PreKick V2.2.1:
    * Fixed some strings that were wrong.
    === Download ===
    Go to my bukkit dev page: here
    === Description ===
    This is a whitelist plugin with custom kick messages, so instead of it saying "Your not on the whitelist" it can say "Please Register at randomserver.com".

    Features:
    * Whitelist, Blacklist and a IP whitelist.
    * Custom kick messages for the whitelist, the blacklist groups and the IP whitelist.
    * You can have different messages for the blacklist groups.
    * You can enable IP checking for some player.
    * You can edit the config without reloading the server.
    * The whitelist, blacklist and the IP whitelist work independent, so you can just have for example the IP whitelist or the blacklist just enabled.
    === How to install ===
    Place PreKick.jar inside the plugins folder and start or reload the server and configure.
    === How to configure ===
    **PreKick uses Vault, if it can find it else it will SuperPerms for permissions.**
    Once the server server has loaded PreKick, PreKick will create a config file named config.yml inside the PreKick folder inside the plugins folder.
    There you can change all the PreKicks settings.
    Here I will explain all the settings.

    Code:
    PreKick:
      Enabled: true #If PreKick will be enabled
      Easter-egg: true #Broadcast a message when I (WildN00b) connects to the server
      ReloadWhenRead: false #Always reloads the config when it's going to read
      Language: en-US #Which language file to use
    Whitelist:
      Enabled: true #If the whitelist will be enabled
      KickMessage: 'Connection refuse: connect' #The kickmessage, if you're not on the whitelist
      Players: #The players that are on the whitelist
      - WildN00b #Me :)
      - ThePf #The developer of Duties and my friend
    IP:
      Enabled: false #If the IP whitelist will be enabled
      KickMessage: '&eIP doesn''t match' #The Kickmessage, if you're not on the IP whitelist
      Players: #The players on the IP whitelist
        WildN00b: #Me again
        - 127.0.0.1 #My IP:s that I connect to my server from
        - 10.10.10.10 #Second IP, can be multiple.
        ThePf:
        - 1.1.1.1 #ThePf:s IP
    Blacklist:
      Enabled: true #If the Blacklist will be enabled
      Players: #For individual players
        Cheater1: '&a&lYou''re not allowed on this server!' #First player
        Cheater2: '&a&nSorry, but you''re not allowed to play on this server!' #Second player
      Groups: #The groups
        group1: #The group 'group1'
          KickMessage: '&2&lYou are banned for being in the group!' #The Kickmessage for being in the group 'group1'
          Players: #The players in the group 'group1'
          - ImAGroup
        Hax: #The group 'Hax'. you can add your own groups
          KickMessage: '&c&nYou are banned for hacking!' #The Kickmessage for being in the group 'Hax'
          Players: #The players in the group 'Hax'
          - Hacker1337
          - Hax
    
    To add a color or a style type the '&' character and then the color code or the style code and your text like this
    Code:
    &aText
    &lThis is a bold text
    &c&IThis is a red bold text
    &c&lRed Bold text. &rStandard white text. &2&l&nGreen Underlined text.
    
    Always write the color code before the style code if you want to change the color.
    Here is a link to a site where you can find all the color and style codes.
    http://wiki.vg/Chat#Colors
    === Permissions ===
    Code:
    prekick.show: Allows to show the menu
    prekick.status: Allows to show the status page
    prekick.seekick: Allows to see when someone was kicked
    prekick.switch: Allows you to turn on and off prekick
    prekick.whitelist.switch: Allows you to turn on and off the whitelist
    prekick.ip.switch: Allows you to turn on and off the ip whitelist
    prekick.blacklist.switch: Allows you to turn on and off the blacklist
    prekick.whitelist.add: Allows you to add users to the whitelist
    prekick.whitelist.remove: Allows you to remove users from the whitelist
    prekick.ip.add: Allows you to add users to the IP whitelist
    prekick.ip.remove: Allows you to remove users from the IP whitelist
    prekick.blacklist.add: Allows you to add users to the blacklist
    prekick.blacklist.remove: Allows you to remove users from the blacklist
    
    === Commands ===
    You can type /prekick or /pk, I will use /pk in this example.
    Code:
    /pk help <Number> - Shows <Number> page of help.
    /pk status - Show some status about PreKick.
     
    /pk on - Turns PreKick on.
    /pk off - Turns PreKick off.
     
    /pk whitelist on - Turns whitelist on.
    /pk whitelist off - Turns whitelist off.
    /pk whitelist add <Player> - Adds player to the whitelist.
    /pk whitelist remove <Player> - Removes player from the whitelist.
     
    /pk ip on - Turns IP whitelist on.
    /pk ip off - Turns IP whitelist off.
    /pk ip add <Player> <IP> - Adds player to the ip whitelist with the ip or adds ip the player.
    /pk ip remove <Player> - Removes player from the ip whitelist.
    /pk ip remove <Player> <IP> - Removes IP from the player from the ip whitelist.
     
    /pk blacklist on - Turns blacklist on.
    /pk blacklist off - Turns blacklist off.
    /pk blacklist add <Group> <Player> - Adds player to the group in the blacklist.
    /pk blacklist remove <Group> <Player> - Removes player from the group in the blacklist.
    
    You can type /whitelist or /wl for the whitelist command.
    Code:
    /wl help <Number> - Shows <Number> page of help.
     
    /wl on - Turns whitelist on.
    /wl off - Turns whitelist off.
     
    /wl add <Player> - Adds player to the whitelist.
    /wl remove <Player> - Removes player from the whitelist.
     
    /wl ip on - Turns IP whitelist on.
    /wl ip off - Turns IP whitelist on.
    /wl ip add <Player> <IP> - Adds player to the ip whitelist with the ip or adds ip the player.
    /wl ip remove <Player> - Removes player from the ip whitelist.
    /wl ip remove <Player> <IP> - Removes IP from the player from the ip whitelist.
    
    You can type /blacklist or /bl for the blacklist command.
    Code:
    /bl help <Number> - Shows <Number> page of help.
     
    /bl on - Turns blacklist on.
    /bl off - Turns blacklist on.
    /bl add <Group> <Player> - Adds player to the group in the blacklist.
    /bl remove <Group> <Player> - Removes player from the group in the blacklist.
    
    === Changelog and Github ===
    The changelog is the github commit historic for now.
    https://github.com/WildN00b/PreKick
    === Bugs ===
    * None
     
    Noppoly likes this.
  2. Offline

    maddigger00009

    08:02:17 [SEVERE] Could not load 'plugins\PreKick.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: me/wildn00b/prekick/PreKick : Unsupported major.minor version 51.0
    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:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:170)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    i get this with pr2
     
  3. :eek:eeeeeeeee i need to research this
     
  4. Offline

    Stefenatefun

    Mind if I helped you on this?
     
  5. be my guest, i have kind of abandon this plugin, but i you find a solution i will update it.
     
  6. Offline

    Stefenatefun

    Great. I'll start working on it tomorrow, the computer I'm currently using has only one gigabyte of RAM.
     
  7. I only have 1 GB of ram :/ need to close eclipse to start mc :(
     
  8. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    You compiled on java 7, most likely, which is making it so people running java 6 can't use it.
     
  9. Offline

    Stefenatefun

    I think I found one of the main reasons to your problems. Besides the possible compilation on Java 7, PlayerEvent does not exist. It is initialized as soon as the plugin is, and since it doesn't exist, it throws an error back.

    Nevermind, I derped.
     
  10. AHAAAAAAaaaaaaaaaaaaaaaaa (facepalm)
     
  11. Offline

    Stefenatefun

    Is it recompiled now? :p By the way, not ALL of the source code is in the .jar file. Though, JD-GUI did the trick when I was looking for any miscellaneous errors.
     
  12. haven't done it yet. soon
     
  13. Offline

    Justino

    Will you be fixing this? Can't find any other Plugin and need it really hard!

    Thanks!
     
  14. Offline

    khamseen_air

    WildN00b

    Any chance of this being updated for the new RB (#1988)?
     
  15. Started to update it now.
     
    khamseen_air likes this.
  16. Offline

    xDeeKay

    Thank god your updating, I love this plugin! :D
     
  17. Offline

    khamseen_air

    Thank you so much! That's great news. This plugin has been a very nice addition to our setup. :)
     
  18. Offline

    Sandia

    Good This is 1 of my importent pluggins for the server :) Becouse i tried to use the http://forums.bukkit.org/threads/admn-gen-whitelist-v2-7-1337.587/ and that works but it work to good i need to connect to my server and have the whitelist.txt open all the time to get in on the server :( and it's only prekick that give me that u wanna have. Great plugin get a donat buttom so i can donat for you

    I am so bad coder that i can't not do a plugin after a guide :p Tried once
     
  19. will rewrite the whole plugin (again) because most of the code is broken. will start after I have finished my national tests
     
  20. Offline

    Pixiio

    Still viewing this.. i would LOVE to use this again
     
  21. Offline

    davejavu

  22. Offline

    Pixiio

    Still no official update? =(
     
  23. Offline

    khamseen_air

    Sadly no, though the unofficial one in the post above yours works fine.
     
  24. khamseen_air likes this.
  25. Offline

    khamseen_air

  26. Offline

    georgea

    One thing that i could ask for, is there a way to change so its not checking case sensitive... because this is going to be a problem due the normal white-list makes everything lower case.
     
  27. I can try do that, but it will take a lot of code.
     
  28. Offline

    md_5

    Its just gonna be moved to inactive if it stays as a 1 line redirect.
     
  29. Fixed. :)
     
  30. Offline

    Pixiio

    Thanks dude! Love you :D
     

Share This Page