You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
1.1 KiB
14 lines
1.1 KiB
6 years ago
|
Info panels allow you to write tutorials, welcome messages, or any type of information you would like to add into the game.
|
||
|
|
||
|
If you just want it to start up on first world load. add §e'loadOnLogin:true'§r to your infopanel json file.
|
||
|
|
||
|
You can also use minecraft books to open the gui. All you have to do is create a minecraft book with nbt data. §9 '{infopanel:<json file name>}'
|
||
|
§e~~Command Example (For welcome.json example):§9 /give <player name> minecraft:book 1 0 {infopanel:welcome}§r
|
||
|
|
||
|
A quicker command to give the command sender a book for a specfic infopanel. '/mpadmin infopanel <playername> <giveBook/opengui> <json file name>', Auto complete is set up to help you out.
|
||
|
|
||
|
If you have load on login true, And you want it to retrigger with a new modpack update, just change the json file name.
|
||
|
|
||
|
§cFiles are read in UTF-8 Encoding! So if you get strange characters. Your file may be the incorrect encoding. Using a tool like Notpad++ will tell your encoding in the bottom right corner. And in a dropdown you can convert the text file. Some editing my be needed. §r
|
||
|
§l§9Click Next for more info on infopanels...
|