Vanilla Pings

Vanilla Pings

Mod

A Minecraft mod to easily ping entities and locations.

Server AdventureGame MechanicsSocialUtility

2,326 downloads
25 followers
Createda year ago
Updateda month ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Vanilla Pings

A Minecraft mod to easily ping entities and locations like in most popular shooter games. The pings show up using armor stands and have glowing on them. This makes it possible for the mod to be server-side only. Using it on the client will add a hotkey, so it's optional (Modrinth still says it's unsupported so just ignore that).

drawing drawing

It's possible to customize the language used for messages (see: custom messages).

The mod uses the game rules sendCommandFeedback and logAdminCommands for command feedback and logging (just like vanilla commands) on all admin commands.

Usage

The mod is required on the server. But not mandatory for clients. However, using it on the client adds a customizable hotkey for pinging. Admin commands behave like vanilla operator commands and can only be run by operators.

Public commands (can be run by everyone)

  • /ping to ping the block or any entity in front of you

Admin commands (only for operators, work from the console)

Configuration

Settings file

For general settings use the vanillapings.properties file found in the config/vanillapings folder of your server or minecraft folder. Settings should be configured on the server side or on your local client if you play single player or share your world via open to lan.

#vanillapings.properties
#Mon May 13 11:39:38 CEST 2024
lang=en_us                             # Language used for ping chat messages
ping-chat-message-range=160.0          # Range a player needs to be near a ping to see chat messages (-1=no limit, 0=disabled)
ping-cooldown=5                        # Server side cooldown for pings sent by players in game ticks. Players ping speed using the hotkey is limited to 5 ticks per ping so that's also the default. (Note: "/ping" can be used to ping faster if the cooldown is set lower)
ping-direction-message-range=160.0     # Range a player needs to be near a ping to see direction messages in the action bar (-1=no limit, 0=disabled)
ping-glowing=true                      # If pings should be highlighted with glowing.
ping-glowing-flash=true                # Start flashing the ping (only if ping-glowing is enabled) when it's about to disappear.
ping-item=minecraft\:red_stained_glass # The type of item that's used for a ping. (empty=default, nonexistent item=default)
ping-item-count=true                   # Show the count of items near an item ping
ping-item-count-range=1.0              # Range for counting items near an item ping
ping-max-range=500.0                   # Max range a player can ping. (Note: horizontal range is still limited to 256 due to that also being the max render distance) (-1=max-range, 0=disabled)
ping-remove-old=true                   # If old pings should be removed automatically every 20s. Old pings are created when a ping hasn't deleted itself due to the world unloading.
ping-sound=true                        # If a sound should be played when a ping appears

You may delete the file to regenerate the default configuration upon a restart. A reload only reconstructs current values into the file (This behaviour will likely change in future updates).

Custom messages

When a player pings an entity the server sends a message with information about the ping in the chat. The language of that message (and other messages) can be configured in the vanillapings.properties file. By default, only en_us and de_de are available as I only know these languages.

Creating your own language file

  • Copy the en_us.json out of the GitHub repo found in the resource folder into your local config/vanillapings/lang folder. You might have to create it if it doesn't exist.
  • Fill out the json in your language and select the language in the config lang field. E.g. if your file is named fr_fr.json you have to specify fr_fr as the lang in the vanillapings.properties config file.
  • Restart your server or use /vanillapings reload to reload the configuration.

You may also select your custom language using the new /vanillapings language command.

In spectator mode you can see the invisible armor stand wearing the highlighted block (in case you're curious).


Project members

crossyl

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID