Wigot icon

Wigot -----

Search the Minecraft Wiki through chat.



Search the Minecraft Wiki from chat. (I'm sure there are other plugins/mods that implement this, but most seem to use books which is annoying.)

There is one command with two uses:

1. Use "/wiki" followed by your search term(s). (Spaces are fine--no quotes needed. e.g. "/wiki creeper farm")
[​IMG]

2. Use "/wiki" with no arguments while looking at any block/entity/fluid within 10 blocks.

[​IMG]
If you don't want the search-by-target feature, you can use v1.0. "Why wouldn't I want it?". Depending on server size/resources, it's not an insignificant performance hit. The standard "/wiki <search>" uses a single http request to fetch data from the wiki. In the case of the screenshot above, running just "/wiki" is the equivalent of running "/wiki cod", "/wiki sand", and "/wiki water"--it's one request for each. Now, are http requests particularly heavy? Not really. However, in order to determine the targeted blocks, it also runs 2 ray traces for block and fluid, and one comparatively slow operation to determine the targeted entity (there's no clean way in the spigot api to grab targeted entity from the player). That operation's execution time will also increase linearly with the number of entities in the area.

I haven't had the chance to test on a highly-populated server. It's unlikely that you'll have swaths of players running the command at exactly the same time, and the requests are non-blocking, but I'm just letting you know in advance that your mileage may vary. I noticed a small decrease in response speed between a text query and a target query on my test server, but I'm not sure how well/poorly it will scale and if it will affect the server as a whole or just result in slow results for players. Please let me know how it works for you.
Resource Information
Author:
----------
Total Downloads: 254
First Release: Jul 16, 2022
Last Update: Sep 25, 2023
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings