Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20.1]如何使用mohist.yml中的server_modlist_whitelist功能 #3420

Open
jitangman opened this issue Nov 10, 2024 · 1 comment
Open

Comments

@jitangman
Copy link

mohist-1.20.1-896-server.jar 生成的mohist.yml中的内容wiki(https://wiki.mohistmc.com/)中似乎并未完全写完整,我想使用其中的server_modlist_whitelist功能 但我不知道如何去使用(如何书写格式?),请将wiki上补全或请告诉我如何使用这个功能,谢谢
5c8c7aab-f00b-4681-bb5d-8cf14aee527c
8e90322dbbffba07cbcde9e7dcc9f28f
第一张图片为mohist.yml截图 第二张图片为wiki(https://wiki.mohistmc.com/)上此文件的的截图

@jitangman jitangman changed the title 如何使用mohist.yml中的server_modlist_whitelist功能 [1.20.1]如何使用mohist.yml中的server_modlist_whitelist功能 Nov 10, 2024
@ProjectSky
Copy link

就是个列表,按照以下格式填入MODID即可

server_modlist_whitelist:
  enable: true
  list: '[mod_id1,mod_id2]'

注意,启用后客户端使用任何不在白名单内的MOD都将无法连接

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants