[ADMIN/WEB] Fishbans - The Global Ban Aggregator

Discussion in 'Bukkit Tools' started by Fishfish0001, Jun 9, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Fishfish0001

    IRC: irc.esper.net #fishbans​
    Fishbans™ was built from the ground up to provide the most useful services to Minecraft Server owners, developers, and players alike to improve the game experience from a centralized web service.

    Fishbans is not your typical global ban system. In fact, Fishbans is not even a global ban system, we are simply a ban aggregator. What this means is that we utilize other global ban APIs to collect information on players. By collecting this information and storing it locally on our servers we are able to provide lightning fast lookups, and allow you to view the full history of a player.

    Fishbans also comes with a fully featured API that allows you to integrate our lookup system in a whole heap of different ways. Developers have used our API to create fully fledged whitelist systems, integrated lookup systems in control panels, and even simple scripts on their site for quicker lookups. Our API can return both JSON, and JSONP with a simple modification to the request URL.

    Our API is so easy a clownfish could use it, just check out the example below for getting all the known bans for the user kalfin.

    Code:
    $data = file_get_contents('http://api.fishbans.com/bans/kalfin');
    For those of you looking for a simple and easy to use service for displaying user avatars or skins, we also offer that service. The links below show how to use the service. To top things off, are cached and passed to you as quickly as possible. We also leverage browser caching, so once the image is loaded once, it will display almost instantly!

    User Avatar Engine:
    http://fishbans.com/docs_skin.php

    Minecraft Block Engine:
    http://fishbans.com/docs_block.php

    [​IMG]

    [​IMG]

    Sorry, some DNS issues here. If it only shows a whitepage remove the www.

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

    Fishfish0001

    Moved the site to a stronger box and tweaked some backend settings along with reducing the size of script requests. Website should load much, much faster and be more responsive. Thanks!
     
  3. Offline

    Jacob Marshall

    This is such an amazing tool, I know im definitely going to use it!

    Thanks so much!
     
  4. Offline

    Fishfish0001

    Awesome, thank you so much! Please do let me know if there is anything you would like to see added, anything that needs some fixing, ban services to add, or anything else!
     
  5. Offline

    Jacob Marshall

    I did notice the speed of the page loading is not really to snazzy. It could just be the fact that my internet is absolute crap, but overall... such an amazing tool.

    Would you allow me to make a plugin that adds a command like /check (playername) and checks for any previous bans of any given player?
     
  6. Offline

    Brant Wladichuk

    Awesome tool!

    ps you have a typo:
    'If you come across any bigs please report them here'
     
    afistofirony likes this.
  7. Good site, and great idea :)
     
  8. Offline

    Fishfish0001

    Yes, using the API is perfectly fine. it is there for people to use for whatever purpose (legally), that they wish. :)

    I am rolling out some updates to the API so if a member isn't in the database you can still get data. When it is rolled out you just need to add /force/ to the end of the request to force a cache update on the player and return results immediately. This will still take the data from our database if it is in there, but it will also add the user to the update queue if they aren't in it, and will return their data regardless.

    Just use the /force/ option as you see fit, don't use it on things that don't need instant player stats because the API (with this update), will still add a player to the update queue if they aren't in the database, it just won't return the data right away until the cache is updated.

    Major website updates rolled out today.
    • Viewing uncached user now forces a cache refresh on that user. Never wait again to view user data.
    • API now has a /force/ option to force the server to get information from services if there is nothing in the cache.
    • User pages now load content dynamically via jQuery to speed up webpage response times, and to account for the approximately 5 second delay getting information for first time views.
    • Flaw in API patched to prevent queue from backing up.
    • Added 'totalbans' to the stats API for combined information to speed up process.

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

    M1sT3rM4n

    Website loads pretty slow for me.
     
  10. Offline

    Fishfish0001

    I've noticed. There are some network related issues that I am trying to track down. It loads fast sometimes, then slow other times, and resources are fully available for it.
     
  11. Offline

    MikeA

    If you need a good web host feel free to contact me; I host a few popular Minecraft based websites right now. I see you use TailorMadeServers (if you don't, your getting resold).
     
  12. Offline

    Fishfish0001

    McBans has decided that they no longer wish to help out server owners, and has refused to allow us access to their public API, accusing us of wasting their bandwidth and server power. Just a heads up that we will no longer be providing ban info from their services.
     
  13. Offline

    Jacob Marshall

    Crap, are you serious? They should encourage the use of their service. You are both doing good to the ever growing minecraft community.
     
  14. Offline

    resba

    Nice one Fishfish0001

    I also noticed that nice little BcBans mention in the Ban sources popup ;)
     
  15. Offline

    MikeA

    That's because their staff doesn't have the administration skills to run a system like they have.
     
    afistofirony likes this.
  16. Offline

    Fishfish0001

    Just letting everyone know that Firestar and I have worked this out and we are happy to say that McBans data is back. :)
     
  17. Offline

    Jacob Marshall

    Fantastic, Im super duper happy about that move! Cheers!
     
  18. Offline

    Fishfish0001

    Some updates for today:
    • Fixed API bug where it was querying my computer (localhost)
    • Fixed API not checking premium status
    • Fixed user pages not updating cache after it had expired
    • Added live stats to homepage
    • Added search bar to homepage
     
  19. Offline

    Fishfish0001

    Yay, more updates for today!
    • Added "success":true and "success":false to the API to help you determine if the call was good or not.
    • Added two new stats pages: /bans/ and /cache/ which will show the latest ban data gathered, and the latest cache updates. Just some cool pages.
    • Fixed a cache updater big (show finally be fixed.)
    • Fixed some minor API issues
    • Updated premium checking to speed up page response times and API response times.
    • Updated user pages to load data faster and not wait for entire page to load first.
     
  20. Offline

    edocsyl

    Thank you very much for this API!
    I used it for the new BanAnnouncer plugin.
     
  21. Offline

    Fishfish0001

    Looks awesome!
     
  22. Offline

    zachman1221

  23. Offline

    Fishfish0001

    Local bans are not part of this service, sorry. Maybe at some future point we will show them, but for right now, no. As for glizer, I looked at their site, and was unable to find any type of API, and it was quite hard to figure out any way to do it. Their bans are also not very standard, and it doesn't make sense to include it as their service seems so much different from the other services.
     
  24. Offline

    zachman1221

    Thanks for the Response, Hopefully you can add local mcbans at some point..

    just wondering how did you mange to create this api?? just wonderin
     
  25. Offline

    Fishfish0001

    I used the publicly accessible APIs on each site and query their servers, store it, then return it all in a uniform format.
     
  26. Offline

    revo96

    Hey could you make it work with Local bans too like in MCbans instead of only Global one's because most of the people dont give global for griefing or hacking i would really like to see this (Btw awesome website :D)
     
  27. Offline

    Fishfish0001

    Regarding Local Bans:

    Fishbans will not be implementing local bans. The main reason for this is that the point of Fishbans is to inform admins of users who have been banned for committing serious offenses that are valid enough to be registered on global banning websites. The second reason is that I do not wish to have the language used in many local bans displayed across my site, on the API, and then onto other servers. Many local bans for McBans contain vulgar or abusive language in them, which I do not wish to have.

    Hope that clears some things up.
     
  28. Offline

    Fishfish0001

    Passed the 1k cached bans mark today! :)

    Also added a live graph to the homepage that shows the total bans updated and inserted, and the total cache hits for that hour.
     
    mbaxter likes this.
  29. Offline

    Fishfish0001

    Todays Updates:
    • Added check to backend API calls to ensure that the API being queried is actually online. This should prevent any timeouts should a service API go down. If it is a force check and the API is down the number of bans returned will be 0. We are working to build in a way to use the older cached results, but that requires some modifications to the API which would require a total re-write of the system.
    • Fixed the number of new ban results shown on the homepage. Now shows based on your screen width and how many icons can be fit on one line.
    • Fixed the graph on the index now showing correct numbers, and having the time shown incorrectly.
     
  30. Offline

    Fishfish0001

    Todays Fixes:
    • Fixed function to remove slashes from raw ban data from services which was breaking some ban imports.
    • Fixed calls to local computer in the API.
    • Fixed /stats/ so that a user is actually added to the queue this time. API was saying a user was added, but they never were. This update should fix that.
    • Fixed missing PHP class that was needed for one of the previous fixes and was required to allow for timeout checking on other services.
    Edit: Holyshit that bug was big. Looks like tons of server have been trying to get info to no avail until today. Everything is fixed, looks like massive spike in usage :)
     
Thread Status:
Not open for further replies.

Share This Page