πŸ“ˆ Performance

This page covers the main performance-related settings in LiteNameTags.


/lnt perf

Use /lnt perf to view performance metrics.

This is useful for checking how LiteNameTags behaves in busy areas such as spawn, warps, events, or PvP zones.

To clear stored metrics, use:

/lnt perf reset


Main Settings

update-interval

Controls how often the main update task runs.

  • lower values = faster updates

  • higher values = lower CPU usage

health-updates

Controls the optimized health update queue.

This is useful for setups that display health in nametags.

placeholder-cache-ttl-ms

Controls how long placeholder results stay cached.

Higher values reduce CPU usage, but updates become less immediate.

max-metadata-packets-per-run

Limits how many metadata packets can be sent in one update cycle.

This helps reduce packet spikes.

max-players-per-run

Limits how many players are processed in one cycle.

A value of 0 means all players are processed.


Packet Queue

LiteNameTags includes a packet queue system for spawn, destroy, and passenger packets.

This helps smooth out packet bursts during joins, reloads, and large visibility updates.


Crowd Mode

Crowd mode is designed for high-density areas such as:

  • spawn

  • warps

  • events

  • PvP hubs

When enabled, it can reduce update cost by limiting viewers, reducing update frequency, and simplifying placeholder handling.


Last updated