Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Technical Details

SlimeDog edited this page Mar 8, 2022 · 81 revisions

pHD ▪ An intelligent manager for HolographicDisplays

⚠️ pHD replaces HolographicDisplays:LineTrackerManager with a modified version, in order to manage individual hologram visibility.

Dependencies

HolographicDisplays generates the holograms that are managed by pHD.

HolographicDisplays requires ProtocolLib to modify hologram visibility.

Soft dependencies

If Citizens is enabled, pHD ensures that player NPCs do not trigger the hologram visibility logic.

If LuckPerms is enabled, pHD uses LuckPerms data to populate tab-completion for the permission option.

If Multiverse-Core or MultiWorld is enabled, pHD loads after, and processes relevant world manager events, to ensure that all holograms in all worlds are registered.

Certification platforms for pHD 1.2.2

Date Java Minecraft HD ProtocolLib Citizens LuckPerms MV-Core
2022-03-06 17.0.2 Paper 1.18.2-216 3.0.0-b204 4.8.0-b547 2.0.29-b2491 5.4.9 4.3.2-b868
2022-03-05 17.0.2 Spigot 1.18.2-3450 3.0.0-b204 4.8.0-b547 2.0.29-b2491 5.4.9 4.3.2-b868
2022-02-05 17.0.2 Paper 1.18.1-184 3.0.0-b197 4.8.0-b540 2.0.29-b2462 5.3.98 4.3.2-b868
2022-02-05 17.0.2 Spigot 1.18.1-3423 3.0.0-b197 4.8.0-b540 2.0.29-b2462 5.3.98 4.3.2-b868

Certification platforms for pHD 1.1.0

Date Java Minecraft HD ProtocolLib Citizens LuckPerms MV-Core
2021-07-21 16.0.2 Paper 1.17.1-119 2.4.9-b179 4.7.0-b530 2.0.28-b2358 5.3.53 4.3.1-b856
2021-07-21 16.0.2 Spigot 1.17.1-3198 2.4.9-b179 4.7.0-b530 2.0.28-b2358 5.3.53 4.3.1-b856
2021-06-24 16.0.1 Paper 1.17-45 2.4.8-b178 4.7.0-b521 2.0.28-b2329 5.3.48 4.3.1-b847
2021-06-24 16.0.1 Spigot 1.17-3161 2.4.8-b178 4.7.0-b521 2.0.28-b2329 5.3.48 4.3.1-b847

Certification platforms for pHD 1.0.4

Date Java Minecraft HD ProtocolLib Citizens LuckPerms MV-Core
2021-01-15 11.0.9 Paper 1.16.5-418 2.4.6-b163 4.6.0-b492 2.0.27-b2222 5.2.84 4.2.3-b821
2021-01-15 11.0.9 Spigot 1.16.5-2991 2.4.6-b163 4.6.0-b492 2.0.27-b2222 5.2.84 4.2.3-b821
2020-10-13 11.0.8 Spigot 1.15.2-2703 2.4.4-b153 4.6.0-b464 2.0.27-b2067 5.1.79 4.1.1-b777

🚩 Reminder: Only certified releases are supported.

Files in plugins/pHD/

Filename Content
config.yml Fully-commented configuration settings
database.db SQLITE database (storage-type:SQLITE ; see schema below)
database.yml YAML database (storage-type:YAML)
messages.yml Localizable in-game and console messages

SQLITE schema

CREATE TABLE phd_hologram (
        hologram_name VARCHAR(255) NOT NULL,
        hologram_type VARCHAR(16) NOT NULL,
        activation_distance REAL DEFAULT -1.0,
        display_seconds INTEGER DEFAULT -1,
        clock_time VARCHAR(8),
        max_views INTEGER,
        permission VARCHAR(255),
        flash_on REAL DEFAULT -1.0,
        flash_off REAL DEFAULT -1.0,
        PRIMARY KEY (hologram_name, hologram_type)
        );

CREATE INDEX phd_hologram_hindex ON phd_hologram ( hologram_name, hologram_type );

CREATE TABLE phd_player (
        player_UUID VARCHAR(36) NOT NULL,
        hologram_name VARCHAR(255) NOT NULL,
        hologram_type VARCHAR(16) NOT NULL,
        views INTEGER,
        PRIMARY KEY (player_UUID, hologram_name, hologram_type)
        );

CREATE INDEX phd_player_pindex ON phd_player ( player_UUID );
CREATE INDEX phd_player_hindex ON phd_player ( hologram_name, hologram_type );

🛑 End Of Life

Overview
Version Support 🚩
How It Works
Installation
Configuration
Localization
   ▫ Formatting Codes
Commands & Perms
   ▫ list
   ▫ info
   ▫ report
   ▫ manage
   ▫ set
   ▫ unset
   ▫ unmanage
   ▫ reload
   ▫ convert
Sample Use Cases
Support
FAQ
Technical Details
Futures

downloads-hangar
downloads-spigot

$Donate

Clone this wiki locally