tour 1d406d7476 | ||
---|---|---|
.gitignore | ||
.luacheckrc | ||
chatcommands.lua | ||
helpers.lua | ||
init.lua | ||
license.txt | ||
mod.conf | ||
predefined_formspecs.lua | ||
readme.md | ||
settingtypes.txt | ||
show-receive.lua | ||
specs.lua | ||
todo.txt |
readme.md
most likely to be abonned I made a (hopefully) better version at https://gitea.your-land.de/tour/chat_formspec-redo
chat_formspec
this mod provides a way to reach players which refuse communication attempts via public chat by sending them a formspec
usage
This mod adds two chat-commands which don't expect parameters:
chat_formspec [<playername>[,<predefined>]]
which will provide a way to show a player a set of predefined formspecsplayername
(optional): will prefill the field of the player to whom the formspec shall be shownpredefined
(optional): if valid, it will skip the selection formspec and directly jump to the editor for the preset formspecchat_formspec_custom [<playername>[,<formspec>]]
will allow to send newly created formspec. (e.g. a formspec given by a string)playername
(optional): will prefill the field of the player to whom the formspec shall be shownformspec
(optional): will skip the gui and send the given formspec to the specified player
privs to allow access to these chat-commands can be changed in the settings.
this mod aims to be self-explanatory, if anything is unclear, feel free to open a ticket :-)
predefined formspecs
so far all formspecs are hardcoded. If there is a need to add more of them / allow to add them during runtime, please open a ticket
license
Copyright: tour 2024 This mod is distributed under the GNU Lesser General Public License. See license.txt for details.