Skip to content

SiteLink (Velocity plugin)

Adds /site and /website on the proxy. Both send the player a clickable link to the server website, and both tab-complete on every server.

What it does

  • Registers /site, with the alias /website, on the Velocity proxy.
  • Replies with Visit our website: pixelrus.net. The link is underlined and clickable, and shows "Click to open https://pixelrus.net" on hover.
  • Because it is a proxy command, it works on every backend and shows up in every player's tab complete.
  • No permission node. Anyone the proxy CommandWhitelist allows can use it.

How players use it

/site

or

/website

Click the link in chat to open the website.

Staff guide

There are no staff commands.

The proxy CommandWhitelist must list site and website in its default group. The proxy whitelist is strict and hides every proxy command it does not list. Without these two entries, non-op players cannot see or run the command. Ops and bypass players skip the whitelist, so test as a non-op: type /si and check that site is suggested, then run /site.

To remove the feature: delete the SiteLink jar from the proxy's plugins/ folder and restart the proxy. Optionally remove site and website from the proxy CommandWhitelist.

Configuration

None. The link and message are set in the code. Changing them needs a rebuild and a Velocity restart. A Velocity restart disconnects everyone. Never use a reload for this plugin.

Data and storage

None.

Troubleshooting

Symptom Cause Fix
Non-op does not see /site in tab complete, or it does nothing site/website missing from the proxy CommandWhitelist default group Add both labels to the proxy whitelist
/site is unknown for everyone The jar is not loaded on the proxy Check the jar is in the proxy plugins/ folder, then restart the proxy

Proxy log line that means it loaded: Loaded plugin sitelink 1.0.0.

Maintainer notes

  • Velocity plugin, not Bukkit. It uses the @Plugin annotation (id sitelink) and registers the command in ProxyInitializeEvent. There is no plugin.yml.
  • This replaced an older plan to add /site as a VelocityControl chat rule. That rule could not tab-complete and was never shipped. /store is handled elsewhere and is not part of this plugin.

Building

./gradlew build

Java 21. Output: build/libs/SiteLink-<version>.jar. The Velocity API is compile-only.

Full command, permission and config tables: Reference.