Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: Custom story page #87

Merged
merged 1 commit into from Mar 13, 2022
Merged

New: Custom story page #87

merged 1 commit into from Mar 13, 2022

Conversation

F1rrel
Copy link
Owner

@F1rrel F1rrel commented Mar 13, 2022

New custom story page. Useful for example for server rules and other custom information. Change texts in the lang/english.txt to enable the custom story page. Add custom texts between STR_SB_CUSTOM_TITLE and STR_SB_CUSTOM_END, which will be added to the new page. If there is no text between them, the custom page is not created. STR_SB_CUSTOM_WELCOME is shown in the welcome page and points to the new custom page. STR_SB_CUSTOM_TITLE changes title of the custom page.

Example of a custom story page:

##### CUSTOM STORY BOOK #####
STR_SB_CUSTOM_WELCOME       :Please find the server rules in the {ORANGE}{STRING} story book page{BLACK}.
STR_SB_CUSTOM_TITLE         :Server rules
STR_SB_CUSTOM_1             :Rule 1
STR_SB_CUSTOM_2             :Rule 2
STR_SB_CUSTOM_END           
Welcome story page Custom story page
image image

@F1rrel F1rrel added this to the 8.0 milestone Mar 13, 2022
@F1rrel F1rrel self-assigned this Mar 13, 2022
@F1rrel F1rrel merged commit 78b25a6 into master Mar 13, 2022
@F1rrel F1rrel deleted the custom_story_page branch March 13, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant