Inactive [ADMN/INFO] MineBans v0.8 - A Fair Global Banning System [1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by Jacek, Mar 10, 2012.

  1. Offline

    Jacek

    Well, if you are using php you can print a list of banned players like this

    Code:
    $data = file_get_contents('http://minebans.com/feed/server_bans.json?api_key=' . $api_key);
     
    foreach (json_decode($data, true) as $ban){
        echo '<p>', $ban['player_name'], '</p>';
    }
    If you wait a few days I will be release a helper class script that will make it a it easier.
     
  2. Offline

    stickeric

    Ok i will wait :)
     
  3. Offline

    bobbysmithyy

    Yesssss I have been waiting!!! Awesome!!!
    Just a few suggestions, maybe some compatibility to other block logging plugins besides logblock and hawkeye because I did switch over to LogBlock because of this but I originally used SWatchDog so please add some compatibility for that.
     
  4. Offline

    Jacek

    :D Thanks :D

    I will look into adding support for that pluign, but it looks like there is no API so it might not be possible.

    Version 0.7.1
    • Added a workaround for a Bukkit issue, you should not get the "you cannot ban a player that has never connected to the server" for players that have connected any more. As far as I can tell this is a Bukkit issue anyway, I filed a bug report if there is another cause I'd love to know :D
    • Fixed an NPE in the /minebans listtemp command, any expired bans will now be removed before the command is processed.
    Very minor update but both of these were pretty irritating bugs :)

    Version 0.7.2
    • Re-fixed that infinite recursion bug (technically not recursion)
    Either update now, or don't use /mbans lt :)

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

    citricsquid

    Mayney and TheLimaBeanman like this.
  6. Offline

    Jacek

    As long as it doesn't scape usenames that are banned that is completely fine :D I will be providing a nice API to do this at some point properly at some point anyway.
     
  7. Offline

    citricsquid

    Wonderful, please let me know once you have an API up!

    ----

    To clarify how it works; when a user inputs "citricsquid" it sends a request to http://minebans.com/view_player.html?player_name=citricsquid and then parses the response.
     
  8. Offline

    Jacek

    Will do

    Well you will be able to use something like player_info.json in the same way you can atm for a server so it should make life a bit simpler.
     
  9. Offline

    Jacek

    Curious about how many servers of the 15 registered servers are active and how their number of API requests varies. I can answer that with an SQL query ! Hooray ! (hope I didn't break some kind of data protection law by posting this)

    Lost Islands 11114
    SomethingCraft 5461
    Embarker Guilds 4170
    SDpyros World 910
    Playcraft 895
    WTG Survival 181
     
  10. Offline

    fondelaar

    have you added swatchdog to the logblock alternatives? plz do
     
  11. Offline

    Jacek

    They don't have any kinda of API that I can use. It will take a bit of time. On my todo list with about 8 other things :(
     
  12. Offline

    fondelaar

    good luck then. does that api thing has somthing to do with this error:
    Code:
    06:28 PM [SEVERE] [MineBans v0.7.2]: Unable to contact the API. Response: E02 - Invalid API key.
    06:28 PM [INFO] [MineBans] Failed to fetch info for 'kaydenhunter'.
    06:28 PM [INFO] [MineBans] Server Response: E02 - Invalid API key.
    06:28 PM [SEVERE] Could not pass event PlayerPreLoginEvent to MineBans
     
  13. Offline

    Jacek

    Nope, that means your API key is wrong in the config file.

    fondelaar Looks like it will be pretty impossible to add support for SWatchdog. Sorry :( It provides no way for other plugins to get hold of the data.

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

    fondelaar

    ok... could you make logblock optional? i cant get sql to work so....
     
  15. Offline

    Jacek

    It's already optional. But highly recommended :)
     
  16. Offline

    fondelaar

    ok lol
    im working on sql right now, and im starting to use the plugin now. i banned 2 people with it, but i cant find them on minebans.com under bans. how do get them on the site/database?
     
  17. Offline

    Mayney

    Only global bans are uploaded to the website.
     
  18. Offline

    Jacek

    Exactly, if you locally banned or temp banned them the data is only stored on your server. To global ban you have to specify a reason in the ban command.
     
  19. Offline

    Mayney

    However it would be cool if all the bans were uploaded to the website :)
     
  20. Offline

    Jacek

    Maybe, the idea is that pretty much every ban should be global. For the sake of being nice in terms of privacy, the ones that do not fall under the ban reasons are none of my business ;)
     
  21. Offline

    Mayney

    Or at least have local ban reasons :'(
     
  22. Offline

    Jacek

    Okay, i'll have a go at that for the next update.
     
  23. Offline

    Mayney

    :D
     
  24. Offline

    TheLimaBeanman

    I like how people use those emoticons.
     
  25. Offline

    fondelaar

    :p
     
  26. Offline

    Jacek

    Version 0.8
    • Plugins using the API can now tell why a player was prevented from connecting
    • Made the workaround for the player.dat files not being saved case-insensitive
    • Improved the spam evidence collector
    • Removed some debugging stuff
    • Fixed players not being unbanned after appealing a ban
    • Moved some files to more sensible places
    • The join checks are now event based.
    • Added a default kick message in case plugins don't specify one
    • Only call the login event if the API has replied.
    • Plugin developers can now tell if a player passed all checks or the API didn't reply in time
    • Locally banned players are no longer allowed to connect if the API is down
    • Increased the timeout for the join check since we now only make one API request
    • The correct permission is now required for the listtemp command
    • Fixed a ConcurrentModificationException in the listtemp command.
    Local ban reasons will come with 0.9 (which will probably be 1.0 :D)

    Most interesting change for developers is that you can now add your own join checks that use the data from the API details can be found at the very bottom of the API docs page on the github wiki.

    In other news, the 40,000th API request was processed today :D
     
  27. Offline

    Jacek

    Version 0.8.1
    • v0.8.1 Fixed players not being unbanned correctly after appealing.
    Not an urgent fix, they will still be allowed to connect after appealing. Update when you get chance :)
     
  28. Offline

    Tauryuu

    Hey, I forgot my password. Is there a way I could reset it? ._.
     
  29. Offline

    Jacek

    Not at the moment. I overlooked basic account features in favour of getting the plugin ready. If you email support@ from the email address you registered with I will generate you a random one ? Or wait until tomorrow afternoon and I will do the basic account settings and login stuff by them. The download page does not require login and there is not much else on the main site so I guess you can wait a bit ? It will have to be at least tomorrow morning since I'm going to bed now :D
     
  30. Offline

    Tauryuu

    I've sent an email with the account I thought I signed up with. I need to sign in now because my server IP is changed and I get a huge error whenever someone signs in. ._.

    EDIT: I remember my password, but I need you to take off my previous IP whitelist (because of the VPS issue). Thanks :)
     

Share This Page