Skip to content
Thérence F edited this page Aug 17, 2017 · 11 revisions

Sonar Hearing allows you to focus on all sounds, vibrations or other space changes of Minecraft.

Basically, this plugin recreate the "Focus Hearing" ability of Last Of Us. When a player sneak, it will see all entities around himself, with a glowing effect*

*Please note that this plugin use packets, so the glowing effect is visible only for the player who has sneak.

This plugin was based on SQRTdude's concept: https://youtu.be/eM9y0r885uE

Dependencies

Sonar Hearing Plugin depends on GlowAPI and PacketListenerAPI

Setup

To setup the plugin, that's as usual:

  • Download the plugin (and its dependencies)
  • Put it in your server plugins folder
  • Restart/reload your server
  • Have fun !

Configuration

Now, with the different files generated by the plugin in the folder "plugins/SonarHearing/" it will be a bit more complicated

So, in the data folder of the plugin, you can see 3 files: "blocklist.yml", "config.yml" and "entities.yml". That you have to know is that the player (by default) can't activ his hearing ability anywhere. Indeed, he has to be next to "solid" blocks to hide himself and focus on sounds around him.

The blocklist.yml allows you to define which block/material is not considered like "solid". If you don't like this feature, no problem ! If you want to allow your players to use their ability anywhere, you can empty the list of materials in the blocklist.yml file.

Let's move to the next file. "config.yml" allows you to enable/disable effects when the player enable his ability to see all entities around him.

Finally, "entities.yml" is the MORE IMPORTANT file. It allows you to specify for each entity their: radius: means that the player needs to be at a distance below this variable to see the entity. color: glowing color of the entity. (By default, the color is set according to the behavior of the mob) Nb: "disablePlayers.yml" is a file managed by the plugin, so you haven't to use it.

Commands

  • /sh — show a presentation of the plugin.
  • /sh [on/off] — enable/disable your hearing ability. (sonar.hearing.toggle permission needed)
  • /sh [on/off] <player> — enable/disable the hearing ability of a player. (sonar.hearing.toggle.other permission needed)

Don't forget that you need the sonar.hearing.use permission to use your ability when sneaking.

Javadocs

https://roytreo28.github.io/SonarHearing/

  • If you find any bugs or issues, don't leave a bad rating, just private message me on the spigot forum and it'll be fixed as soon as possible.
  • Have any suggestions? Leave them in the discussion page of the plugin, send me a private message using twitter or contact me at [email protected].
Clone this wiki locally