Recent Discussions
Any way to disable certain commands when player gets damage?
Unanswered
Rex posted this in #questions
4 messages
0 views
RexOP
Hello,
is there any way to disable certain commands like /spawn, /home and similar while players are fighting? This should prevent them from fleeing from a fight that would otherwise be deadly for them. Preferably it should also force the players to stand still for 10(?) seconds before the command is run.
I also have potions of flying and charms of flying from the zenith mod (Apotheosis fabric port). If possible i would like to pause or outright remove the flying effect when they get attacked, and make them unable to use it for some time after.
I have an fabric server running with a custom modpack.
Thanks for the help.
is there any way to disable certain commands like /spawn, /home and similar while players are fighting? This should prevent them from fleeing from a fight that would otherwise be deadly for them. Preferably it should also force the players to stand still for 10(?) seconds before the command is run.
I also have potions of flying and charms of flying from the zenith mod (Apotheosis fabric port). If possible i would like to pause or outright remove the flying effect when they get attacked, and make them unable to use it for some time after.
I have an fabric server running with a custom modpack.
Thanks for the help.
You will need to find or make a mod that handles combat logging like this. There are a few for Fabric that handle logging off in combat, but finding one that lets you lock out commands is gonna be trickier.
RexOP
hmm sounds exhausting haha
There are a few that "just work" but they're usually the essentials mod AND the combat CD mod both made by the same person, and fairly barebones.
Loading...
Loading...