1 | {
|
2 | // -------------------------------------------------------------------------------------------------------------
|
3 | // Welcome Screen by ElocinDev
|
4 | // -------------------------------------------------------------------------------------------------------------
|
5 | // WARNING FOR MODPACK DEVELOPERS:
|
6 | // - Do NOT include the welcomescreen_cache.json file in the game directory when exporting your modpack,
|
7 | // as that file defines if the screens were shown already or not.
|
8 | // - You can manually open the screen using /openguiscreen welcomescreen_welcome or /openguiscreen welcomescreen_update
|
9 | // - By default the screens are EMPTY, you need FancyMenu to edit them and add the content you wish.
|
10 | // -------------------------------------------------------------------------------------------------------------
|
11 | // Whether or not to enable the welcome screen.
|
12 | // This screen will appear the first time the player joins a world after installing the modpack,
|
13 | // you can edit it and add important info, links to discord or github issues, etc.
|
14 | "welcome_screen_enabled": true,
|
15 | // Whether or not to enable the update screen.
|
16 | // This screen will appear every time the user updates the modpack, you can edit it to add a showcase of
|
17 | // new important features, important bug fixes, etc.
|
18 | //
|
19 | // Requires BCC to be installed! https://modrinth.com/mod/better-compatibility-checker
|
20 | "update_screen_enabled": true,
|
21 |
|
22 | "title": {
|
23 | "text": "Welcome to My Server!",
|
24 | "color": "gold",
|
25 | "bold": true
|
26 | },
|
27 | "sub_title": {
|
28 | "text": "Have fun exploring!",
|
29 | "color": "aqua",
|
30 | "italic": true
|
31 | },
|
32 | "screens": [
|
33 | {
|
34 | "type": "text",
|
35 | "text": [
|
36 | {
|
37 | "text": "This is your first time here. Please read the rules.",
|
38 | "color": "white"
|
39 | },
|
40 | {
|
41 | "text": "\n\nServer Rules:",
|
42 | "color": "red",
|
43 | "bold": true
|
44 | },
|
45 | {
|
46 | "text": "\n1. No griefing.",
|
47 | "color": "gray"
|
48 | },
|
49 | {
|
50 | "text": "\n2. Respect other players.",
|
51 | "color": "gray"
|
52 | }
|
53 | ]
|
54 | },
|
55 | {
|
56 | "type": "button",
|
57 | "text": {
|
58 | "text": "Discord",
|
59 | "color": "blue"
|
60 | },
|
61 | "url": "https://discord.gg/your_discord_link"
|
62 | },
|
63 | {
|
64 | "type": "image",
|
65 | "texture": "your_datapack:textures/gui/server_logo.png",
|
66 | "width": 128,
|
67 | "height": 128,
|
68 | "align": "center"
|
69 | }
|
70 | ]
|
71 |
|
72 | }
|