Skip to content

Proxy Plugin Compatibility

TheCommandCraft edited this page Nov 22, 2026 · 4 revisions

Proxy Plugin Compatibility

Vanish++ ships a native Velocity proxy plugin (vanishpp-velocity) that syncs vanish state across your network directly via plugin messaging — no database polling required. It also mirrors the LuckPerms context (vanishpp:vanished) from the Paper side, so permission conditions on that context work the same whether they're checked at the proxy or a backend server.

Velocity setup

  1. Put vanishpp-velocity in the proxy's plugins folder and Vanish++ on every Paper backend. Always use the same Vanish++ version on the proxy and the backends: the proxy protocol changed in 1.2.0, and older versions don't work with newer ones.
  2. (1.2.0+) On every backend, set proxy.enabled: true and restart that server:

    📁 plugins/Vanishpp/config.yml → proxy.enabled: true
    A restart is needed, /vreload is not enough.

  3. Use Velocity modern forwarding, and make sure players can only reach the backends through the proxy (no public backend ports).

Standalone servers leave proxy.enabled: false. With it off, Vanish++ ignores proxy messages completely, so a player can't fake one to change vanish state or settings. Optionally set proxy.server-name to the backend's name in Velocity; otherwise its IP and port are used.

The proxy pushes its own config.yml values to every backend, so most settings can be managed in one place.

Without the Velocity plugin

If you're not running the native Velocity plugin (e.g. BungeeCord, or custom tooling), Vanish++ also stores vanish state in a persistent database (MySQL or PostgreSQL) that proxy plugins and custom code can read directly - enabling cross-network vanish awareness without plugin-to-plugin messaging.

Use Case

If you have a BungeeCord or Velocity proxy and want:

  • The proxy to know which players are vanished
  • Cross-server vanish state awareness
  • Custom integrations (e.g. a network-wide admin panel)

Database Tables

Vanish++ uses the following tables (MySQL/PostgreSQL only):

Table Contents
vpp_players UUID, vanish state, vanish level
vpp_rules Per-player rule overrides
vpp_acknowledgements Persistent per-player notification dismissals
vpp_schema_version Internal migration tracking

Reading Vanish State

SELECT uuid, is_vanished, vanish_level
FROM vpp_players
WHERE uuid = 'player-uuid-here';

is_vanished is a boolean (tinyint 1/0 in MySQL, boolean in PostgreSQL).

Security Best Practices

  • Use a read-only database user for proxy-side queries
  • Never write to Vanish++ tables from external code - use a separate table for proxy metadata
  • If using Redis, subscribe to the vanish sync channel for real-time events instead of polling the database

Real-Time Sync

For real-time cross-server sync (not just database polling), see Redis Cross-Server Sync.

Clone this wiki locally