Code Monkey home page Code Monkey logo

lmgtfy's Introduction

LMGTFY

Bukkit plugin that adds the command /lmgtfy. The plugin will create a lmgtfy link with any given search query and then send it back to the user. With a simple click the user can send said link to everyone via in-game chat or just open it himself.

It is also possible to skip lmgtfy.com and go to the search results directly. A list of the commands to create these links with several different search engines can be found in the section 'Direct searches'.

The permission lmgtfy.use allows the usage of all commands and is given by default.

LMGTFY modes

The service lmgtfy.com supports several SEs. This plugin supports google, bing, yahoo and duckduckgo. The SE to create lmgtfy-links for can be changed in the configuration file.

Direct searches

To skip lmgtfy.com and go to the search results directly there is a command for each supported SE.

  • /google
  • /bing
  • /yahoo
  • /duckduckgo
    • /ddg
  • /yandex
  • /baidu

lmgtfy's People

Contributors

andyyu168 avatar montlikadani avatar niklasei avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

andyyu168

lmgtfy's Issues

Regex error

"split(File.separator)[0]" on line 39 in FileUtil class is causing errors on startup every time;

PatternSyntaxException: Unexpected internal error near index 1:

at java.util.regex.Pattern.error(Unknown Source) ~[?:1.8.0_91]
at java.util.regex.Pattern.compile(Unknown Source) ~[?:1.8.0_91]
at java.util.regex.Pattern.(Unknown Source) ~[?:1.8.0_91]
at java.util.regex.Pattern.compile(Unknown Source) ~[?:1.8.0_91]
at java.lang.String.split(Unknown Source) ~[?:1.8.0_91]
at java.lang.String.split(Unknown Source) ~[?:1.8.0_91]
at me.nikl.lmgtfy.util.FileUtil.copyDefaultLanguageFiles(FileUtil.java:38) ~[?:?]
at me.nikl.lmgtfy.Main.reload(Main.java:40) ~[?:?]
at me.nikl.lmgtfy.Main.onEnable(Main.java:24) ~[?:?]

I've tried to fix this with no success :/

IsgdShortener.shorten not ran asynchronously

Not really an issue but more of a reminder; when you implement link shortening, remember to shorten it asynchronously, or it will freeze the main thread

Too lazy to do it myself so I'll just open an issue about it ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.