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

    TuRmoiLxx

    I'll test it and see what it can do :3.
     
  3. Offline

    Lookatmego

    is there a way you can add it so there is permission nodes to add people to the whitelist ingame?
     
  4. Offline

    captainawesome7

    Can you make the source code available?
    Also, I agree with Lookatmego, you need a command with a permission node to add/remove people from the whitelist in game. For example, if they have prekick.add, they can type /prekickadd playername to add somebody. If you need help implementing any of the previous, don't hesitate to pm me.
     
  5. Offline

    Misiek

    Not working on my server.
     
  6. I will implement them when i come home from school.
    and i will upload the souce when v0.2 is done. :D
    @Misiek Do you get an error? Do have you added people to the "white-list.txt"?
     
  7. Offline

    Misiek

    No, in console i don't have any error's.
    File PreKick.txt isn't creating.
     
  8. Do you have permission to create files? or Try to create it your self.
    but the plugin work at all? can you post a server log?
     
  9. Offline

    Chipmunk9998

    Great, I've been looking for a plugin that did exactly this.
     
  10. Offline

    Misiek

     
  11. @Misiek what happens when someone that's not in the white-list connects?
     
  12. Offline

    Pyraah

    It doesn't work for me. Where PreKick.txt should be stored ?
     
  13. in where the craftbukkit.jar is stored

    New update, please update!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  14. Offline

    allisgood888

    Does this update include whitelisting in game?
     
  15. v0.1 did have whitelisting. in v0.2 you can control in game with /prekick

    The new update fixes a bug! Please update!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  16. Offline

    Pyraah

    Hi,

    Can you to publish a video tutorial for to install and use this plugin ?
    Actually, it doesn't work for me, but i unknown why...
     
  17. okey i will try if my computer don't lagg to much.

    The Video is up.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  18. Offline

    Pyraah

    Hi,

    It doesn't works for me. I've disabled the default white-liste, i'm not an op and i use the latest official bukkit release (740).
    I've a short capture, can you to help me ?
     
  19. Offline

    Joey1430

    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

    we have 300+ whitelists but due to all them been converted to lowercase. we really need a way so it isn't case sensitive... this would be awesome if you could do this for us!
     
  20. Okey i will add it soon

    hmm i don't know what the error is.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  21. Offline

    Misiek

    I still don't work on my server.
     
  22. Is it the same as @Pyraah "error"

    @Misiek @Pyraah What CB build do you use?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  23. Offline

    Pyraah

    740
     
  24. Offline

    Micheal Kenny

    why does this not work with offline servers? I'm using it to redirect people to a different server
     
  25. thank you! you helped me figerout the "error" :D
    I think it don't work because it uses the prelogin event and it's trigger after it's checks if the username is valid, and if you turn off online-mode it doesn't check the username.

    @Misiek @Pyraah are you using offline servers / cracked?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  26. Offline

    Juze

    What's the difference with this and Whitelist?
     
  27. You can have different messages for different players.
    This uses a flatfile not SQL.
    Lite weight.
    And it uses the prelogin instead of login event.

    One down side is that it doesn't work on servers where the online-mode is off becuse bukkit don't trigger the prelogin event then. i will add an temp fix for that now
     
  28. Offline

    Juze

    @WildN00b : Whitelist is actually flatfile, but it also supports SQL.
     
  29. Offline

    Pyraah

    Yeah.
    Will you correct it ?

    (sorry for my english))
     
  30. yes, in about 1-2h it will be done.
     

Share This Page