Skip to content

macOS xbar plugin for showing Tribes 2 server status

License

Notifications You must be signed in to change notification settings

exogen/t2-server-xbar

Repository files navigation

Tribes 2 Server Status

macOS xbar plugin for showing Tribes 2 server status.

Screenshot

Install

First, install xbar or SwiftBar.

Then run:

$ npx t2-server-xbar install

If using SwiftBar, you also need to supply the path to your SwiftBar plugins directory, since there is no default. Like so:

$ npx t2-server-xbar install /path/to/plugins/dir

Development

If you’d like to develop this plugin and run it directly from a git checkout, clone this repo, then run:

$ yarn
$ yarn run dev
$ yarn run start:dev

The plugin script will point to your working copy rather than the published package, and the image server (for generating the image display mode) will run locally.

Updating

Since the plugin uses npx to run the t2-server-xbar script from npm, it should stay up to date automatically.

However, if new options are added, you may need to re-run the install command (above) for them to show up.

Options

To set options, select xbarOpen plugin… from the menu.

Server name

A regular expression (case sensitive) to select the server to query.

Display mode

Server info can be shown in three ways: image, table, or submenu mode. As of v2.0.0, image mode is the default (seen above).

Table mode looks like:

Table mode screenshot

Submenu mode looks like:

Submenu mode screenshot