Sueta

LMGTFY | send clickable lmgtfy and search engine links in ch

1.4.0

Adds a /lmgtfy and a /google command (+5 other search engines) for all these annoying questions...

·Plugin

☛ Support chat on Discord

Let Me Google That For You

If you don't know what the name means click here, i'll show you ;)

Main command
Usage:
➳ /lmgtfy <query>
Default alias:
➳ /lmg <query>
Example:
➳ /lmg whatever you want to google comes here

Using this command will create a lmgtfy-link (optionally shortened). After successful creation the issuing player will be send a message containing two clickable parts:

(1) Click to send the link in chat
(2) Click to open the link yourself

When the player clicks on (1), he will send a configurable message in chat, containing a click event for everyone else to open the link with. This action can be configured to have a cooldown.

1.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg

More commands
To skip lmgtfy.com and search in google directly:
➳ /google <query>
Example:
➳ /google this search will be done directly in google.com

There also are:
➳ /baidu
➳ /yahoo
➳ /bing
➳ /duckduckgo
or /ddg
➳ /yandex

Main command settings
In the configuration file you can customize the lmgtfy links to search in yahoo, bing or duckduckgo instead of google.

Shortening of the links
The used link-shortening service can be customized in the configuration file. There are some examples listed, but you can use any service you find. Shortening makes the links look nicer and they do not show directly, that they link to lmgtfy.com. If the shortening fails, the full link will be used by the plugin.
➳ By default the free shortening service is.gd by will be used. This service has rate limits!
➳ You can opt out shortening in the configuration file.

Permissions
To use any of the commands you need to have the permission lmgtfy.use. It is given to all players by default.

Metrics
LMGTFY is on bStats.

Language
All messages can be customized in the language file.

Similar projects

Plugin →