Skip to content

MaintenanceAddon

Nassim Jahnke edited this page Sep 16, 2024 · 12 revisions

Using PlaceholderAPI placeholders

As a few people asked me to create some PAPI placeholders, I wrote this addon. If you are running Maintenance on Velocity or BungeeCord, you can use the addon to be able to use maintenance placeholders on your Paper servers.

The addon sends all necessary information from the proxy to the backend servers that need them.

Installation

Step 0.1: Make sure the main Maintenance plugin is on your proxy (Velocity/Bungee), NOT on your backend servers.
Step 0.2: Stop your proxy and backend servers you want placeholders on.
Step 1: Put the addon jar into the plugin folder of both your proxy and the backend servers.
Step 2: Start the proxy and backend servers again.
Step 3: Join and see if it worked with /papi parse null %maintenance_status%.

After the first start with the addon on the Bungee, an addon.yml file will be created in the MaintenanceBungee directory. In there, you can change the messages the placeholders should display.

Placeholders

Currently available are:

  • %maintenance_status% to display the maintenance status of your proxy
  • %maintenance_server_<server>% to display the maintenance status of a specific proxied server, where <server> should be replaced with the name of the server to check

Download and updates

To download the latest version of the addon, click here. The addon does not have an autoupdater, which means you will only be notified in the following ways: