• 8/25/20 9:26 am
- 12.2k views • 0 today
- save_alt 597 downloads
- Compatibility
- Minecraft 1.13
- to version
- Minecraft 1.17
- Changes include
- Functions
123
Google in Minecraft recap:
With this datapack is it possible to Google in Minecraft. It's a simple datapack and you can add your own websites too if you want. This datapack is fanmade so it's not made by Google. You can only search for websites that I have added in the datapack database, not everything is unfortunately to make with datapacks D:
The only command you need to know is: /trigger google
You can watch the video to see how the datapack looks, it's not a long video.
Here below can you see how to add your own websites to the datapack and wich sites are supported in the datapack. If you found bugs or websites that you want to add in the official datapack, you can always comment here in the comment section.
If you want to remove the datapack you can use this command for that: /function mg:remove
The only command you need to know is: /trigger google
You can watch the video to see how the datapack looks, it's not a long video.
Here below can you see how to add your own websites to the datapack and wich sites are supported in the datapack. If you found bugs or websites that you want to add in the official datapack, you can always comment here in the comment section.
If you want to remove the datapack you can use this command for that: /function mg:remove
Add own websites to the datapack:
This is a short tutorial and isn't a tutorial for people that don't know how to use commands.
I am not the best in English so you can see a lot of language mistakes D:
For each website that you wanna add you need to add 2 files and change one file in the datapack.
mg:database/search_words/: the map where you add your search words file for your website
mg:database/site/: the map where you add a file with the click message of the site.
mg:database/sites/list: this file is the 'search selector'
gslots: amount of characters
Step 1: Add your website to the sites list
I want to add the PlanetMinecraft website to the datapack and that if you search for planet or minecraft that you than also come on the page.
planet: 6 characters
minecraft: 9 characters
planetminecraft: 15 characters
This will you need to add in the sites list file:
#PlanetMinecraft.com
execute if score @s gslots matches 6..15 run function mg:database/search_words/planetminecraft.com
(shortest amount of characters)..(largest amount of characters)
If you have only 1 search word than is this the case:
#PlanetMinecraft.com
execute if score @s gslots matches 15 run function mg:database/search_words/planetminecraft.com
With this system minimize you the amount of sites to search for :D
Step 2: Add search file
If your website has the amount of characters that the datapack is searching for than will the system go to your website search words file.
PlanetMinecraft search words file:
##Search words PlanetMinecraft.com##
#PlanetMinecraft
execute as @s[scores={gks.1=16,gks.2=12,gks.3=1,gks.4=14,gks.5=5,gks.6=20,gks.7=13,gks.8=9,gks.9=14,gks.10=5,gks.11=3,gks.12=18,gks.13=1,gks.14=6,gks.15=20,gslots=15}] run function mg:database/site/planetminecraft.com
#Planet
execute as @s[scores={gks.1=16,gks.2=12,gks.3=1,gks.4=14,gks.5=5,gks.6=20,gslots=6}] run function mg:database/site/planetminecraft.com
#Minecraft
execute as @s[scores={gks.1=13,gks.2=9,gks.3=14,gks.4=5,gks.5=3,gks.6=18,gks.7=1,gks.8=6,gks.9=20,gslots=9}] run function mg:database/site/planetminecraft.com
gks.1 stands for Google Keyboard slot 1
If you word have 6 characters than you have 6 slots ect..
The number behind the slots stands for each letter, the longest word that you can make is 15 characters.
Copy paste:
execute as @s[scores={gks.1=,gks.2=,gks.3=,gks.4=,gks.5=,gks.6=,gks.7=,gks.8=,gks.9=,gks.10=,gks.11=,gks.12=,gks.13=,gks.14=,gks.15=,gslots=}] run
If you have a word of 6 characters than you will come on this:
execute as @s[scores={gks.1=,gks.2=,gks.3=,gks.4=,gks.5=,gks.6=,gslots=6}] run
After run do you set the function to your website file
Step 3: Making site file (last step)
Now the only thing that you now only need to do is to add a site file. If one of the words matched with what you typed than you will go to the site file. In the site file you need to add only a tellraw message with a click url in it.
PlanetMinecraft example:
##Message##
tellraw @s {"text":"PlanetMinecraft.com","color":"green","clickEvent":{"action":"open_url","value":"www.planetminecraft.com/"}}
And that's it
I am not the best in English so you can see a lot of language mistakes D:
For each website that you wanna add you need to add 2 files and change one file in the datapack.
mg:database/search_words/: the map where you add your search words file for your website
mg:database/site/: the map where you add a file with the click message of the site.
mg:database/sites/list: this file is the 'search selector'
gslots: amount of characters
Step 1: Add your website to the sites list
I want to add the PlanetMinecraft website to the datapack and that if you search for planet or minecraft that you than also come on the page.
planet: 6 characters
minecraft: 9 characters
planetminecraft: 15 characters
This will you need to add in the sites list file:
#PlanetMinecraft.com
execute if score @s gslots matches 6..15 run function mg:database/search_words/planetminecraft.com
(shortest amount of characters)..(largest amount of characters)
If you have only 1 search word than is this the case:
#PlanetMinecraft.com
execute if score @s gslots matches 15 run function mg:database/search_words/planetminecraft.com
With this system minimize you the amount of sites to search for :D
Step 2: Add search file
If your website has the amount of characters that the datapack is searching for than will the system go to your website search words file.
PlanetMinecraft search words file:
##Search words PlanetMinecraft.com##
#PlanetMinecraft
execute as @s[scores={gks.1=16,gks.2=12,gks.3=1,gks.4=14,gks.5=5,gks.6=20,gks.7=13,gks.8=9,gks.9=14,gks.10=5,gks.11=3,gks.12=18,gks.13=1,gks.14=6,gks.15=20,gslots=15}] run function mg:database/site/planetminecraft.com
#Planet
execute as @s[scores={gks.1=16,gks.2=12,gks.3=1,gks.4=14,gks.5=5,gks.6=20,gslots=6}] run function mg:database/site/planetminecraft.com
#Minecraft
execute as @s[scores={gks.1=13,gks.2=9,gks.3=14,gks.4=5,gks.5=3,gks.6=18,gks.7=1,gks.8=6,gks.9=20,gslots=9}] run function mg:database/site/planetminecraft.com
gks.1 stands for Google Keyboard slot 1
If you word have 6 characters than you have 6 slots ect..
The number behind the slots stands for each letter, the longest word that you can make is 15 characters.
Copy paste:
execute as @s[scores={gks.1=,gks.2=,gks.3=,gks.4=,gks.5=,gks.6=,gks.7=,gks.8=,gks.9=,gks.10=,gks.11=,gks.12=,gks.13=,gks.14=,gks.15=,gslots=}] run
If you have a word of 6 characters than you will come on this:
execute as @s[scores={gks.1=,gks.2=,gks.3=,gks.4=,gks.5=,gks.6=,gslots=6}] run
After run do you set the function to your website file
Step 3: Making site file (last step)
Now the only thing that you now only need to do is to add a site file. If one of the words matched with what you typed than you will go to the site file. In the site file you need to add only a tellraw message with a click url in it.
PlanetMinecraft example:
##Message##
tellraw @s {"text":"PlanetMinecraft.com","color":"green","clickEvent":{"action":"open_url","value":"www.planetminecraft.com/"}}
And that's it
Supported websites: (53)
PlanetMinecraft
Spotify
Youtube Music
Youtube
Optifine
Apple
Apple music
Java
Google
Mediafire
Instagram
Facebook
Whatsapp
Whatsapp web
Netflix
McStacker
Reddit
CurseForge
Google maps
Yahoo
Wikipedia
Amazon
Microsoft
Twitch
Bing
Twitter
AliExpress
EBay
Google Play
Adobe
Linkedin
Google drive
Github
Dropbox
Paypal
Msn
Pinterest
Android.com
Nasa
Samsung
Intel
Playstation
Mega
Deezer
Disney
Wikihow
Nvidia
Gmail
Skype
Discord
Snapchat
Imgur
Outlook
Spotify
Youtube Music
Youtube
Optifine
Apple
Apple music
Java
Mediafire
Whatsapp web
Netflix
McStacker
CurseForge
Google maps
Yahoo
Wikipedia
Amazon
Microsoft
Twitch
Bing
AliExpress
EBay
Google Play
Adobe
Google drive
Github
Dropbox
Paypal
Msn
Android.com
Nasa
Samsung
Intel
Playstation
Mega
Deezer
Disney
Wikihow
Nvidia
Gmail
Skype
Discord
Snapchat
Imgur
Outlook
More like this
4735444
119



Have something to say?
please make more datapacks and have fun doing so!