[GEN] The WhiteLister v3.0 - whitelist everyone who has ever joined [R2.0]

Discussion in 'Inactive/Unsupported Plugins' started by Lolmewn, Jul 5, 2011.

  1. Offline

    Lolmewn

    GrandmaJam and kahlilnc like this.
  2. Offline

    Plague

    the title was a little bit off, changed
     
  3. Offline

    Lolmewn

    Mokay, thnx.
     
  4. Offline

    darrenstraight

    Thanks for posting this we are getting closer to solving my plugin request, I havent got round to testing yet so a couple of questions:

    1. Can I customise the message they get if they are not whitelisted?
    2. Could there be an option to enable/disable the whitelist via permissions?

    Thanks,
    Darren
     
  5. Offline

    Lolmewn

    1. doable.
    2. You mean bypass the WL if you have a permission node?

    Oh haha I just found out that when they get kicked they get this message: Kicked -- Not on WhiteList! Get added on www.centrility.nl/forum
    Oops!

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

    darrenstraight

    ^ Haha yep! :)

    And no I was more meaning:

    "/wl on" or "/wl off" - Activates/deactivates the whitelist which only admins/mods would be able to do if they had that permissions to do so, if not anyone in game would be ablt to do it! :)

    Please let me know if I can help you with anything! :)
     
  7. Offline

    Lolmewn

    Oh like that. Mokay.

    Version 1.3 released:
    - /wl on and /wl off -- Permission node = wl.admin

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

    darrenstraight

    Great thank you, I'm going to get my host to upload this and will come back to you if any problems come forth! :)
     
  9. Nice.

    whoaa.. this actually opens up a nice oppertunity. Can this plugin enable the whitelist when there is forxample 2 slots left? And disable it again, when there is like 3 slots free again?

    Maybe it can be a setting. Enable whitelist at 12 players for example.

    This would be way better than the reserved spots ive been looking at. I dont want to pick 1 loyal player over the other. Instead it just closes down for completely new people when the server is near its peak.

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

    Lolmewn

    Oh like that. Ye I think I can.

    Thanks for the donation! Ur awesome + earned a spot in my sig <3

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

    darrenstraight

    Interesting, we are whitelisting now becuase it gets too crazy sometimes and we like to make sure all our players get a proper intro. :) We tried slot groups: http://forums.bukkit.org/threads/ad...erved-slots-now-with-slot-lockdown-935.21961/ however could not get it to work, for some reason it gave us an error. We thought we could control the flow of players this way by each group having its own allocated slots and if a mod cant get on becuase that groups full they can inherit from the group below them.

    Your welcome! :) I make sure that when ask for something and someone does it for me, they are rewarded! :-D Still waiting for my host to upload the plugin, hopefuly will be soon! :)

    Right ok did some testing:
    /wl help still only displaye the 2x commands
    /wl and /wl remove dont seem to do anything they the players can still come on/off.
    /wl on or /wl off give me an internal error:
    So really nothing seems to work... error from logs when trying /wl on
    Code:
    2011-07-08 15:09:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'wl' in plugin TheWhiteLister v1.3
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at nl.lolmen.twl.Main.onCommand(Main.java:140)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    EDIT: Seems this may be since 1.7.3 Update as one of my other plugins is broken too now since the update! :(

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

    kahlilnc

    Is there a permission node for whitelisting or is it OP only. Or is it just wl.admin
     
  13. Offline

    Lolmewn

    Eehm, lemme look @ that when I get back from vacation :p
     
  14. just use wl.* for now. it works for me.
     
  15. Offline

    Lolmewn

    Ye, that always works :p
     
  16. Offline

    Moe041991

    works with 1000?
     
  17. Offline

    Lolmewn

    It will.

    let me see what I can do.. hmm..

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

    kahlilnc

    Oh yeah if I hadn't said this before this plugin saved me hours of saving each person all over again when switching to whitelist :D Best whitelist plugin out there!
     
  19. Offline

    Lolmewn

    First problem is now solved.
    Second problem isn't that difficult either, I appearently forgot to add MySQL and SQLite with that (lolwut?)
    Third problem: No clue, since line 140 isn't even @ onCommand, so the problem isn't there.

    Oh wait, something else was also wrong with the second problem. I edited the file, but didn't save it back (apparently I was having a silly day)

    Even better, I haven't released MySQL and SQLite yet, so that wasn't the problem :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  20. Hey. Can you make it whitelist everyone in the players folder when we type /wl on ?
     
  21. Offline

    Lolmewn

    I will make a separate command for whitelisting a world. Something like /wl add worldname.
     
  22. very cool. it is much needed since i advertise like crazy, get alle the new people on, ban the griefers and then whitelist while im not there:) If i could add all the new ones without restarting that would be awesome.
     
  23. Offline

    Lolmewn

    Going to work on this today, after school ;)
    After I buy some Red Bull =D
     
  24. Offline

    pk4eva2

    FUCK! I thought i had finally found a working one I was like "DUDE KICK ASS" Cause I need in game commands for my fourm admins to be able to add Players when I'm busy or w\e and then I get

    I have tried with whitelist on in properties and with it off! Please help!
     
  25. Offline

    Lolmewn

    Woops! Fixing now!
     
  26. Offline

    pk4eva2

    Can you tell me when you have? I Really want this plugin it's 2:24 am And I've been staying up until my other timezone moderators get on to protect us from grievers! And we want a growing community so if I'm the only one who can add to whitelst it suckkkks
     
  27. Offline

    Lolmewn

    It seems the old Permissions plugin can no longer be used for some reason..
    I might have a fix, but I am @ work now so I can start in +- 3 hours on it.

    Temporary fix: http://dl.dropbox.com/u/7365249/TheWhiteLister.jar
    Please turn off Permissions in the config file, otherwise that might give errors. (NullPointers)

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

    pk4eva2

    uggghhh but I reallly need permssions but for now it will do I suppose....

    Also, What does mysql do in this program? allows me to use commands or just see the list?

    Code:
    ##### The Whitelister - Whitelist everyone who has ever joined! #####
    ### Made by Lolmewn ###
    ### Please consider a small donation @ [email protected] ###
    ### If you need help you can always open a conversation with me ###
    
    #Databases - if both false, flatfile will be used#
    usePermissions: false
    useSQLite: false
    useMySQL: false
    MySQL:
        username: root
        password: root
        database: minecraft
        host: localhost
    
    #Rest of the settings#
    kickMessage: Goto www.survcraft.tk fourms and apply for whitelist!
    enabledOnStartup: true
    mainworld: world
    


    That's the .yml and anyone can get in....

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

    Lolmewn

    Hmm.. Let me do some testing then.

    @pk4eva2 I did some testing, I get kicked when trying to join when whitelist is active, using this settings:
    Code:
      [/FONT]
    [FONT=arial]##### The Whitelister - Whitelist everyone who has ever joined! #####[/FONT]
    [FONT=arial]### Made by Lolmewn ###[/FONT]
    [FONT=arial]### Please consider a small donation @ [email protected] ###[/FONT]
    [FONT=arial]### If you need help you can always open a conversation with me ###[/FONT]
    
    [FONT=arial]#Databases - if both false, flatfile will be used#[/FONT]
    [FONT=arial]usePermissions: true[/FONT]
    [FONT=arial]useSQLite: false[/FONT]
    [FONT=arial]useMySQL: false[/FONT]
    [FONT=arial]MySQL:[/FONT]
    [FONT=arial]    username: root[/FONT]
    [FONT=arial]    password: root[/FONT]
    [FONT=arial]    database: minecraft[/FONT]
    [FONT=arial]    host: localhost[/FONT]
    
    [FONT=arial]#Rest of the settings#[/FONT]
    [FONT=arial]kickMessage: You are not on the whitelist![/FONT]
    [FONT=arial]enabledOnStartup: true[/FONT]
    [FONT=arial]mainworld: world[/FONT]
    [FONT=arial]  
    [/code][/FONT]

    I mean:
    Code:
    ##### The Whitelister - Whitelist everyone who has ever joined! #####
    ### Made by Lolmewn ###
    ### Please consider a small donation @ [email protected] ###
    ### If you need help you can always open a conversation with me ###
    
    #Databases - if both false, flatfile will be used#
    usePermissions: true
    useSQLite: false
    useMySQL: false
    MySQL:
        username: root
        password: root
        database: minecraft
        host: localhost
        
    #Rest of the settings#
    kickMessage: You are not on the whitelist!
    enabledOnStartup: true
    mainworld: world
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  30. Offline

    pk4eva2

    Ok! Will try! Is permissons fixed yet? Btw if you wanna chill you can come on my server http://survcraft.tk It's cracked for my non premium friends...

    ##### The Whitelister - Whitelist everyone who has ever joined! #####
    ### Made by Lolmewn ###
    ### Please consider a small donation @ [email protected] ###
    ### If you need help you can always open a conversation with me ###

    #Databases - if both false, flatfile will be used#
    usePermissions: true
    useSQLite: false
    useMySQL: false
    MySQL:
    username: root
    password: root
    database: minecraft
    host: localhost
    #Rest of the settings#
    kickMessage: You are not on the whitelist!
    enabledOnStartup: true
    mainworld: legitworld

    Why won't it work? (i've tried restarting multiple times)

    I donated to you on paypal btw

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

Share This Page