Skip to content

Welcome Screen

Nightwolf edited this page Jun 17, 2020 · 6 revisions

You can customize your welcome screen for your server.
/!\ Before doing anything you need to have the YRPF-Client installed on your server : https://github.com/OALM-Team/YRPF-Client
You need to able to compile the client too (read the Readme.md of the YRPF-Client)
Video: https://www.youtube.com/watch?v=7xCsBiGSS6s (In French)

Software

You can use Visual Studio Code for edit the file

How to customize

Go to the file yrpf/ui/web/scripts/modules/welcomescreen/index.jsx and open it.
You will see the code of the welcome screen in the render function.
Here you can modify the descriptions, informations and the name of your server.

For editing the style of the page, you can check in the styles folder in the file welcomescreen.scss
Also if you want to customize the colors of the YRPF Client you can at the top of the file index.scss

Change the music

The only thing you need to doo is the change the file music_1.mp3 in the sounds folder

Compile

You need to re-compile the YRPF-Client so follow the readme on the YRPF-Client repository

Clone this wiki locally