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

可绕过权限控制 #3

Closed
lightumcc opened this issue Jul 29, 2023 · 2 comments
Closed

可绕过权限控制 #3

lightumcc opened this issue Jul 29, 2023 · 2 comments

Comments

@lightumcc
Copy link

当"user_allows_commands": ["tps"],时,玩家使用run [id] ban xxxx tps,也可以执行命令

@zijiren233
Copy link
Owner

这个是正则表达式,你可以设置为"user_allows_commands": ["^tps$"]

@lightumcc
Copy link
Author

明白了,感谢指点

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