Files & The CDN

How to upload and manage direct file uploads in OpenAudioMc

Managing files within OpenAudioMc

OA version 6.8 introduced the option to store and manage files from within your account, allowing you to easily stream your own content to your players. This feature replaces the old Patreon CDN, though Patreon supporters will still be able to use that (more info below).

How do I use it?

Uploading files:

  1. Go to your files page
  2. Select a file you're allowed to use
  3. Choose a name for this file. You'll use this name later on to play it from in-game. (names cannot contain special characters)
  4. Click "Upload file"
  5. Wait for the file to upload
  6. Go in-game, and play your file using the files: prefix and finishing with your file extension. Like this: /oa play @a files:coolsong.mp3

Deleting files:

  1. Go to your files page
  2. Press the "Delete" button next to the file you wish to delete

Legacy CDN

Patreon supporters will still be able to use the old CDN, which is still available for them. It has to be enabled in the config file, and will be disabled by default. To manually enable it, look for the cdn section in your config file, and set enabled to true. This has to be done on your proxy server (if you're using one), or on your backend server (if you're not using a proxy). A restart is required for the changes to take effect.

Javadoc