FrigginGoogle! (simple, i think)

Discussion in 'Archived: Plugin Requests' started by frash23, Dec 25, 2012.

  1. Offline

    frash23

    Plugin category:
    Admin, fun

    Suggested name:
    FrigginGoogle!

    What I want:
    Add command /google <search terms>
    would output a shortened version of the standard google link. Example:
    /google miencraft id list
    would output this link:
    https://www.google.com/search?q=minecraft+id+list
    If possible, even use is.gd to shorten links.
    The link would only be visible to the player executing the command


    Why is this useful? It would also work well with essentials /sudo command!

    Ideas for commands:
    /google, obviously.

    Ideas for permissions:
    google.use - self explanantory

    When I'd like it by: not very important, but soon would be awesome!
     
  2. Offline

    chaseoes

    I made this before only it actually searched Google and returned with the first few results..

    I'll do this.
     
  3. Offline

    frash23

    Thanks alot! Means tons to me!

    Thank you so much!

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

    chaseoes

    Done!
    Download: Click here.
    Source: https://github.com/chaseoes/FrigginGoogle (I completely fail with spelling commit messages correctly).

    It might lag a little when you use it since it has to get the shortened URL, shouldn't be *too* noticeable though if not many people are online.

    Command is /google <search terms>. It shortens URLs with goo.gl by default (I thought that was appropriate). Add the -c flag to force yourself to say the link in the chat instead of having it sent to only you. Useful when you need to "google" things for other players.

    Example: /google -c Minecraft

    One permission: friggingoogle.google
    One configuration option: output-full-url. Set this to true to skip the URL shortening and prevent any possible lag.

    frash23
     

Share This Page