PikiBanana Posted July 25, 2021 Share Posted July 25, 2021 i got a skript that makes the chat look better but i cant find any mute commands that work with it this is my skript: on chat: cancel event broadcast "%player's display name% &8» &7%message%" i whould like some help in how to make a mute command for it or a globalmute Link to comment Share on other sites More sharing options...
skPnguin Posted July 25, 2021 Share Posted July 25, 2021 2 minutes ago, PikiBanana said: i got a skript that makes the chat look better but i cant find any mute commands that work with it this is my skript: on chat: cancel event broadcast "%player's display name% &8» &7%message%" i whould like some help in how to make a mute command for it or a globalmute You could use on chat: set the chat format to "%player's display name% &7» &f%message%" I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
PikiBanana Posted July 25, 2021 Author Share Posted July 25, 2021 i want a custom mute command for it not to set the format last time i tried to set the format it did not work so well for me Link to comment Share on other sites More sharing options...
StarBunnie Posted July 25, 2021 Share Posted July 25, 2021 1 hour ago, pizzaschut said: You could use on chat: set the chat format to "%player's display name% &7» &f%message%" The big advantage of using send/broadcast instead of chat format is that you can use json code way easier so for example making the usernames hoverable to show their level etc. 1 hour ago, PikiBanana said: i want a custom mute command for it not to set the format last time i tried to set the format it did not work so well for me To make a mute command just set a variable of a player to true so for example like this command /mute [<offlineplayer>]: trigger: player has permission "mute.use": if arg 1 is set: if {mute::%arg 1's uuid%} is set: delete {mute::%arg 1's uuid%} send "You unmuted %arg 1%" send "You have been unmuted by %player%" to arg 1 else: set {mute::%arg 1's uuid%} to true send "You muted %arg 1%" send "You have been muted by %player%" to arg 1 else: send "Please choose a player" else: send "&cno perms" on chat: cancel event if {mute::%player's uuid%} is not set: send "%player% > %message%" to all players else: send "You're muted" Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now