Gommeh
Veteran Member
dammit ryan and rylie
Posts: 2,744
| Likes: 778
|
Post by Gommeh on Jun 11, 2020 11:48:12 GMT
I've discovered that certain DiscordSRV commands need to be blocked on GommehFreedom to prevent abuse by OP's, but senior admins need to be able to use them. Do I block them in the TFM config.yml like a TFM command, or is there another way I have to do it?
|
|
fionn
Club 4000 Member
Admin Officer
elmon sucks
Posts: 6,157
| Likes: 4,775
|
Post by fionn on Jun 11, 2020 11:50:19 GMT
TFMs' Command Blocker works on any command.
|
|
_Windows
Club 4000 Member
Posts: 7,881
| Likes: 9,611
|
Post by _Windows on Jun 11, 2020 13:34:10 GMT
TFMs' Command Blocker works on any command. Almost any command, and with some caveats. It sometimes has trouble with subcommands as well as with certain plugins for some reason. I would highly recommend testing any command block entries before putting it on a live server. I suspect that event handling order may have something to do with the weirdness.
|
|
Fleek
Veteran Member
Posts: 3,548
|
Post by Fleek on Jun 11, 2020 13:44:01 GMT
TFMs' Command Blocker works on any command. Almost any command, and with some caveats. It sometimes has trouble with subcommands as well as with certain plugins for some reason. I would highly recommend testing any command block entries before putting it on a live server. I suspect that event handling order may have something to do with the weirdness. It's the way the command blocker register the block. It can't register the same command because of the following line seen at github.com/TFPatches/TotalFreedomMod/blob/TFM-1.15/src/main/java/me/totalfreedom/totalfreedommod/blocking/command/CommandBlocker.java#L103Prozza used the map array to get the blocked command but all blocked commands are registered under their name.
|
|
|
Post by Telesphoreo on Jun 11, 2020 18:41:07 GMT
There is an option to block commands so that only seniors can use them. Fleek is correct though
|
|