Server Forms
Server Forms is a Minecraft mod for creating and managing interactive player forms with custom commands, validation, and response tracking.
介绍
Server Forms is a Minecraft mod designed to enhance server interactions by allowing administrators to create and manage interactive forms for players. This mod provides a streamlined way to collect player input, feedback, or responses through customizable forms, making it ideal for surveys, event registrations, or any scenario requiring structured player interaction.
What Does This Mod Do?
- Interactive Forms: Enables server administrators to create forms with multiple questions that players can answer directly in-game.
- Custom Commands: Each form can be assigned a unique command, allowing players to start forms easily by typing the corresponding command.
- Response Management: Player responses are stored in JSON files, making it easy to review and manage collected data.
- Validation and Feedback: Ensures that responses are validated, prevents duplicate submissions (if configured), and provides real-time feedback to players.
Why Download This Mod?
- Enhanced Server Interaction: Improve communication and engagement with your players by collecting structured feedback or input.
- Customizable and Flexible: Create forms tailored to your server’s needs, whether for events, surveys, or other purposes.
- Ease of Use: With auto-complete for commands and built-in validation, both administrators and players will find the mod intuitive and user-friendly.
- Data Transparency: Responses are logged and stored in a structured format, ensuring easy access and review.
Critical Information
- Base Configuration: A default configuration file is included with the mod, containing example forms to help you get started. You can customize or add new forms by editing the configuration file.
- File Storage: Player responses are saved in the
mods/FormAnswersdirectory as JSON files. Ensure this directory is accessible and properly secured. - Concurrency: The mod does not currently handle concurrent file access. Avoid simultaneous modifications to the same form files to prevent data corruption.
Commands
The following commands are available in Server Forms:
- Start a Form
- Command:
/[form_command] - Description: Starts the specified form for the player. Each form has a unique command defined in the configuration file.
- Example:
/feedback(if the form’s command is set to “feedback”).
- Answer a Question
- Command:
/answer [response] - Description: Submits an answer to the current question in the active form session.
- Example:
/answer Yes.
- View Form Responses
- Command:
/viewform [playername] [formname] - Description: Allows administrators to view a player’s responses to a specific form. If no form name is provided, the latest form is displayed.
- Example:
/viewform Steve feedback.
- Create a Form
- Command:
/createform [formname] [allowMultipleResponses] - Description: Creates a new form with the specified name and whether it allows multiple responses.
- Example:
/createform survey true.
- Add a Question
- Command:
/addquestion [formname] [questionId] [questionText] - Description: Adds a new question to the specified form.
- Example:
/addquestion survey 1 "What is your favorite color?".
- Remove a Question
- Command:
/removequestion [formname] [questionId] - Description: Removes a question from the specified form by its ID.
- Example:
/removequestion survey 1.
Getting Started
- Install the mod on your Minecraft server using the Fabric API.
- A base configuration file will be generated on the first run, located in the
configdirectory. This file contains example forms that you can modify or expand. - Use the commands listed above to interact with the forms in-game.
- Player responses will be saved in the
mods/FormAnswersdirectory for review.
Server Forms is designed to be lightweight, easy to use, and highly customizable, making it a valuable addition to any Minecraft server.
常见问题
Server Forms 支持哪些 Minecraft 版本?
Server Forms 支持 Minecraft Java 版 1.21.5,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Server Forms 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分