You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send a settable Message of the day to all players when they join.
How can the mod do this?
A string variable should be consumed from the server.lua script and sent to players; this can be done adding a line to the onplayerjoined event in server/server.lua:
player:sendChatMessage("MOTD", 2, "XeroPoint, place your text inside this line, or add multiple lines by copying this line and modifying this same string"%_t);
How does , or should, the mod conform to the gameplay requirements outlined in
Not applicable to this mod.
The text was updated successfully, but these errors were encountered:
This has been temporarily adressed through the use of a modification in server.lua causing it to always send a hardcoded MOTD. This however, requires a reboot.
Can easily be done by setting one or more server variables from a command and then printing these out consecutively so long as the values are not nil.
What should the mod do?
send a settable Message of the day to all players when they join.
How can the mod do this?
A string variable should be consumed from the server.lua script and sent to players; this can be done adding a line to the onplayerjoined event in server/server.lua:
How does , or should, the mod conform to the gameplay requirements outlined in
Not applicable to this mod.
The text was updated successfully, but these errors were encountered: