Hosted Client
OpenAudioMc gives you the option to host your own client, however, there are some caveats
- You will become responsible for frequent updates, meaning that you have to update your webclient regularly.
- You will have to follow the rules as described here.
- We do not recommend that you host the client yourself and will not help you setting it up aside from this document.
Setup
- Clone the OpenAudioMc repository (or download it as a zip file)
- Upload the pre-compiled client (in
docs/production-client/target/
) to your webserver. - Login to your Account, go to your servers settings page and change the client url to where you uploaded yours, then save.
- Execute
/oa reload
- Generate a new URL by re-joining the server.
Compiling your own JS bundle
Requirements:
- Linux or MacOS
- NodeJS & NPM
- Some prior experience maintaining web applications
To compile
- Clone the OpenAudioMc repository (or download it as a zip file)
- Navigate to
client/
- Install dependencies running
npm install
- Run the build-script running
npm run-script build
- Your new custom build will appear in the
target
directory, follow the setup instructions to set it up.