reach players which refuse communcation attems via public chat with a formspec
This repository has been archived on 2024-02-14. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
tour 1d406d7476 readme.md aktualisiert 2024-02-12 22:01:15 +00:00
.gitignore added some specs 2024-01-03 13:50:20 +01:00
.luacheckrc add luacheck 2024-01-04 00:21:21 +01:00
chatcommands.lua more renaming 2024-02-12 19:37:23 +01:00
helpers.lua WHOPS 2024-02-12 20:13:59 +01:00
init.lua more renaming 2024-02-12 19:37:23 +01:00
license.txt add license 2024-01-06 23:44:18 +01:00
mod.conf added some specs 2024-01-03 13:50:20 +01:00
predefined_formspecs.lua Implement easy syntax 2024-02-12 18:44:20 +01:00
readme.md readme.md aktualisiert 2024-02-12 22:01:15 +00:00
settingtypes.txt more renaming 2024-02-12 19:37:23 +01:00
show-receive.lua WHOPS 2024-02-12 20:13:59 +01:00
specs.lua WHOPS 2024-02-12 20:13:59 +01:00
todo.txt remove ability to create new formspecs by providing formspec strings 2024-02-12 17:51:25 +01:00

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 formspecs playername (optional): will prefill the field of the player to whom the formspec shall be shown predefined (optional): if valid, it will skip the selection formspec and directly jump to the editor for the preset formspec
  • chat_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 shown formspec (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.