Jump to content

coolenderguy

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by coolenderguy

  1. I haven't actually tested this, but the problem might be with the command's syntax. If you're always going to use tempmute to mute someone, the 1st argument should not be optional, if that makes any sense.

    command /tempmute <offlineplayer>:
    	aliases: /tm
    	permission: punish.use
    	permission message: &cYou do not have the correct permission to execute this command!
    	trigger:
    		arg 1 is online
      # You can remove the above line if you want to be able to mute offline players, not sure how that works with /mute however.
    		open virtual chest with size 5 named "&c&lMute" to player
    		format gui slot 19 of player with book and quill named "&cMisbehavior" with lore "&7Duration: 12 hours" to run:
    			make player execute command "/mute %arg-1% 12h Misbehavior"

    If you're trying to make a custom punishments plugin, you could make your own muting system.

×
×
  • Create New...