init
This commit is contained in:
commit
a956daf8e2
2351 changed files with 163047 additions and 0 deletions
11
kubejs/server_scripts/_moni_motd.js
Normal file
11
kubejs/server_scripts/_moni_motd.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Welcome message sent to players on join
|
||||
*/
|
||||
PlayerEvents.loggedIn(event => {
|
||||
event.player.tell(["Welcome to ", Text.blue("Monifactory Beta"), ` on ${capitalize(`${global.packmode}`)} mode.`]); // force recast to string
|
||||
event.player.tell(["Report pack issues to ", Text
|
||||
.blue("the Github").underlined()
|
||||
.clickOpenUrl("https://github.com/ThePansmith/Monifactory")
|
||||
.hover("Click to open"), "."
|
||||
]);
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue