Перейти к содержимому
Mineforgian

SeeMore

A simple plugin to set a player's server-side view distance according to their client-side render distance.

Загрузки
53K
Подписчики
136
Обновлён
14 октября 2023 г.
Лицензия
MIT

Опубликован 3 июня 2023 г.

SeeMore

SeeMore is a simple plugin that sets each player's server-side view distance according to their client-side render distance. This results in more efficient use of server resources, by not unnecessarily loading chunks for players who use a low render distance.

Installation

To install the plugin, simply place the downloaded jar into your plugin directory. Be sure to configure the plugin by looking through its config.yml.

Configuration

config.yml
# Configuration for SeeMore.

# Please don't change this!
version: 2

# The delay (in ticks) before a player's view distance is lowered after their client settings change.
#  * This stops players overloading the server by constantly changing their view distance.
update-delay: 600

# Whether the plugin should log to the console when it changes a player's view distance.
log-changes: true

# These settings can be specified per world.
#  * Note: If a world is not listed here or if a setting is missing, it will use the settings listed under the default
#    section.
world-settings:
  default:
    # The maximum view distance a player in this world can have.
    # Set to -1 to use the server's configured view distance for this world.
    maximum-view-distance: -1

Commands

To run the command /seemore <subcommand> the user will require seemore.command.<subcommand>.

  • /seemore reload - Reload the plugin's configuration.
  • /seemore average - Get the effective average view distance of each world.
  • /seemore players - Show the server-side view distance of all online players.

Metrics

This plugin uses bStats to collect some (non-identifying) data about the servers running this plugin. You can opt-out by editing the config.yml in the bStats folder located within your server's plugin directory.

Ченджлог

1.0.2Релиз1.21.6, 1.21.7, 1.21.8 · 14 октября 2023 г.

Changes in 1.0.2:

  • Added option to log view distance changes to console.
  • Added a /seemore players command which shows the server-side view distance of all online players.
1.0.1Релиз1.20, 1.20.1, 1.20.2 · 9 июня 2023 г.

Changes in 1.0.1:

  • Fix occasional error on player join.
1.0.0Релиз1.19.2, 1.19.3, 1.19.4 · 3 июня 2023 г.

Initial release

Комментарии

Загружаем…