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.
chat_formspec/readme.md
2024-02-12 22:01:15 +00:00

1.4 KiB

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.