Customizing, hosting and compiling the web 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 to set it up aside from this document.
Clone the OpenAudioMc
repository
(or download it as a zip file)
Upload the pre-compiled client (in
docs/production-client/target/
) to your web server.
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.
Requirements:
To compile:
1. Clone the OpenAudioMc
repository
(or download it as a zip file)
2. Navigate to
client/
3. Install dependencies running
npm install
4. Run the build-script running
npm run-script build
5. Your new custom build will appear in the
target
directory, follow the setup instructions to set it up.