Player Locator Plus
在经验条上像指南针一样追踪其他玩家的位置!

注意:这是 Notenlish 对 26.1.2 和 26.2 的非官方移植版本。原始项目来自 @sit 的 PlayerLocatorPlus。
标记颜色
默认情况下,每个玩家的颜色由其 UUID 随机决定。配置文件中还有其他选项(见下文)。
距离渐隐
当玩家非常远时,他们的标记会逐渐变淡:

消失
有三种方法可以躲避玩家定位器:
- 潜行
- 佩戴雕刻过的南瓜
- 拥有隐身效果

配置
配置文件位于 config/player-locator-plus.toml。
你也可以通过 Mod Menu 访问配置界面。
服务器参数:
enabled: 模组是否在服务器端启用。请注意,如果 visible 为 true,进度条仍然可见。默认值:true
sendServerConfig: 服务器是否尝试强制将其配置应用到客户端。仅当客户端设置了 acceptServerConfig 为 true 时才会生效。默认值:true
sendDistance: 是否在发送方向信息的同时发送距离信息。
将此项设置为 false 基本没有意义,因为即使不知道距离,玩家仍然可以轻松三角定位其他人的确切位置。
然而,开启此选项后难度会增加,特别是考虑到其他玩家也在移动的情况下。
默认值:true
maxDistance: 在指南针上可见其他玩家的最大距离。
默认值:0(无限制)
directionPrecision: 方向向量被分割成的段数。降低此值会显著降低追踪精度,但有助于防止三角定位。默认值:300
ticksBetweenUpdates: 指南针更新之间的刻数间隔。
数值越小,远处玩家的移动越平滑。
近距离玩家(在实体渲染距离内)对此参数的依赖较小。
默认值:5(每秒四次)
sneakingHides: 潜行是否会隐藏玩家。默认值:true
pumpkinHides: 佩戴南瓜(或任何 gaze_disguise_equipment)是否会隐藏玩家。
默认值:true
mobHeadsHide: 佩戴生物/玩家头颅是否会隐藏玩家。可以通过更改 data/player-locator-plus/tags/item/hiding_equipment.json 使用数据包编辑具体列表(参见默认值 here)。默认值:true
invisibilityHides: 隐身是否会隐藏玩家。默认值:true
colorMode: 如何确定标记的颜色。原版航标始终优先覆盖此设置。可用模式:
UUID(默认):根据玩家的 UUID 分配随机颜色。
TEAM_COLOR: 使用玩家队伍的颜色(或白色)
CUSTOM: 允许每个玩家使用 /plp color 命令分配颜色
CONSTANT: 所有人使用来自 constantColor 选项的相同颜色
constantColor: 当 colorMode 为 CONSTANT 时使用的颜色。默认值:0xFFFFFF(白色)
allowVanillaLocatorBar: 允许向没有安装模组的原版玩家发送航标。默认值:true
客户端参数:
visible: 显示玩家定位器。默认值:true
visibleEmpty: 即使没有在线玩家且视野中没有标记,也显示玩家定位器。默认值:false
acceptServerConfig: 是否用服务器端配置覆盖客户端配置。服务器配置也将能够设置客户端参数。默认值:true
fadeMarkers: 淡化远处玩家的标记。默认值:true
fadeStart: 标记开始淡化的距离。默认值:100
fadeEnd: 标记停止淡化并稳定在 fadeEndOpacity 的距离。默认值:1000
fadeEndOpacity: 达到/超过 fadeEnd 时的最终不透明度。默认值:0.3
showHeight: 如果高度差显著,在标记上方/下方显示小箭头。
默认值:true
alwaysShowHeads: 无论是否按下 Tab 键,始终显示玩家头像。默认值:false
showHeadsOnTab: 按下 Tab 键时显示玩家头像。默认值:true
showNamesOnTab: 按下 Tab 键时显示玩家名称。默认值:true
showVanillaWaypoints: 显示通过添加 waypoint_transmit_range 属性创建的原版自定义航标。默认值:true
致谢
最初在 Minecraft: Bedrock Edition Preview 中引入 此处,由 Phoenix SC 报道。
已知问题
- 主要版本(1.x.x 和 2.x.x)不兼容! 服务器和客户端之间至少主要版本号必须匹配。
许可证
Player Locator Plus 根据 GNU 通用公共许可证第 3 版或更高版本授权。
Player Locator Plus
Track other players' locations on your experience bar like a compass!

NOTE: This is an unofficial port to 26.1.2 and 26.2 by Notenlish. Original project is PlayerLocatorPlus by @sit.
Marker colors
By default, each player's color is determined randomly by their UUID. There are other options in the config (see below).
Distance fade
When a player is very far away, their marker starts to fade:

Disappearing
There are three ways to hide from the player locator:
- Crouching
- Wearing a carved pumpkin
- Having the invisibility effect

Configuration
The config is available at config/player-locator-plus.toml.
You can also access the configuration screen with Mod Menu.
Server parameters:
enabled: Is the mod enabled server-side at all. Note that the bar will still be visible if visible is true. Default: true
sendServerConfig: Whether the server will try to force its config on the client. This will only have effect if the clients have acceptServerConfig set to true. Default: true
sendDistance: Whether to send distance information along with the direction information.
There's basically no point in settings this to false, as players can still easily
triangulate the exact location of others even without knowing the distance.
However, it is harder with this option on, especially if you consider that other players
move.
Default: true
maxDistance: The maximum distance at which other players are visible on the compass.
Default: 0 (unlimited)
directionPrecision: The amount of segments the direction vector is split into. Decreasing this value significantly will make tracking way more inaccurate but be helpful in preventing triangulation. Default: 300
ticksBetweenUpdates: How many ticks apart are the compass updates.
The less, the smoother the movements of faraway players are.
Close players (inside the entity render distance) do not depend on this parameter as much.
Default: 5 (four times per second)
sneakingHides: Whether sneaking hides players from the locator. Default: true
pumpkinHides: Whether wearing a pumpkin (or any other gaze_disguise_equipment) hides
players from the locator.
Default: true
mobHeadsHide: Whether wearing a mob/player head hides players from the locator. The exact list can be edited with a datapack by changing data/player-locator-plus/tags/item/hiding_equipment.json (see default here). Default: true
invisibilityHides: Whether being invisible hides players from the locator. Default: true
colorMode: How to determine the color of the markers. Vanilla waypoints always override this setting. Available modes:
UUID (default): Assign a random color based on the UUID of the player.
TEAM_COLOR: Use the color of the player's team (or white)
CUSTOM: Allow every player to assign a color with the /plp color command
CONSTANT: Everyone has the same color from the constantColor option
constantColor: Color used when colorMode is CONSTANT. Default: 0xFFFFFF (white)
allowVanillaLocatorBar: Allow sending waypoint to vanilla players without the mod. Default: true
Client parameters:
visible: Show the player locator. Default: true
visibleEmpty: Show the player locator even there are no players online and no markers in sight. Default: false
acceptServerConfig: Whether to override the client-side config with the server-side one. The server config will also be able set client parameters. Default: true
fadeMarkers: Fade markers of faraway players. Default: true
fadeStart: At what distance the markers start to fade. Default: 100
fadeEnd: At what distance the markers stop fading and settle at fadeEndOpacity. Default: 1000
fadeEndOpacity: The final opacity when/after fadeEnd is reached. Default: 0.3
showHeight: Show little arrows above/below a marker if the height difference is significant.
Default: true
alwaysShowHeads: Always show player heads, regardless of whether Tab is pressed. Default: false
showHeadsOnTab: Show player heads when Tab is pressed. Default: true
showNamesOnTab: Show player names when Tab is pressed. Default: true
showVanillaWaypoints: Show custom waypoints created by adding the waypoint_transmit_range attribute. Default: true
Acknowledgements
Originally introduced in Minecraft: Bedrock Edition Preview here, covered by Phoenix SC.
Known issues
- Major versions (1.x.x and 2.x.x) are NOT compatible! At least the major version must match between the server and the client.
License
Player Locator Plus is licensed under the GNU General Public License Version 3 or later.
评论 0
登录后参与评分
还没有评论,来抢沙发吧