HomeJavaModsDelayCommand - Extremely Configurable! (1.7.10 - 1.15.2)
DelayCommand - Extremely Configurable! (1.7.10 - 1.15.2)
ModsJava

DelayCommand - Extremely Configurable! (1.7.10 - 1.15.2)

⬇ Download on Spigot
dc-logo.png
Ever wanted to delay some commands? Well now you can! This plugin will let you set a delay on your commands.
dc-howto.png
How to load
To use this plugin, simply pop it into your plugins folder, and restart your server or load it with plugman! The config file will be auto generated!

Other Info

For now, if you set a delay for a command like /tpa, all commands that contain tpa in them will be delayed. I'll add specific command checking in the next update! Commands in the config files are all not case sensitive.

Permissions
DelayCommand.Bypass: Allows a player to bypass the delay for the command. Ops automatically have this permission.

dc-config.png
Spoiler: Config.yml
Code (Text):
#Config Version 1 by Yukun
#Placeholders:
#- %player% for player's actual in game name. Usable in command arguments.
Commands:
  ###########
  # Example #
  ###########
#  #Name of command to be delayed. For more details read the plugin page. This is not case sensitive.
#  Manuadd:
#    #Time to delay.
#    Time: '80'
#    #Enable this to check specific commands.
#    #This means you have to type each specific command out.
#    Fuzzy: 'false'
#    #The rest of the command you want the plugin to check.
#    #This will check 'manuadd %player% VIP', 'manuadd %player% Owner' and 'manuadd %player% Admin'.
#    Args:
#      - '%player% VIP'
#      - '%player% Owner'
#      - '%player% Admin'

  ############
  # Commands #
  ############
  Spawn:
    Time: '100'
    Fuzzy: 'true'
    Args:
      - ''
  Tpa:
    Time: '60'
    Fuzzy: 'true'
    Args:
      - ''
  Pv:
    Time: '20'
    Fuzzy: 'false'
    Args:
      - '1'
      - '2'

Options:
  ###################
  # General Options #
  ###################
  #Choose whether you want the delay to be in seconds or ticks.
  #If you want seconds enable the second option and disable the first with a #.
  DelayFormat: 'ticks'
  #DelayFormat: 'seconds'

  ###################
  # Message Options #
  ###################
  EnableDeadMessage: 'true' #Toggle sending of the Dead message.
  EnableSendingMessage: 'true' #Toggle sending of the Sending message.
  EnableWaitingMessage: 'true' #Toggle sending of the Waiting message.
  EnableCommandSentMessage: 'true' #Toggle sending of the CommandSent message.
Spoiler: Messages.yml
Code (Text):
#Messages Version 1 by Yukun
#Placeholders:
#- %time% for remaining delay time. Only usable in Waiting message.
Messages:
  #Prefix before all the messages.
  Prefix: '&bDelay&eCommand&f >> &7'
  #Message sent when player uses the command.
  Sending: 'Do not move! Please wait while we parse your command...'
  #Message sent when command has been successfully performed.
  CommandSent: '&aYour command has been parsed!'
  #Message sent when player moves when the command is being sent.
  Moved: '&cYou have moved! Pending command cancelled!'
  #Message sent when the player tries to use the command when he is still waiting.
  Waiting: 'Please wait %time% before we send your command.'
  #Message sent when a player dies during the command delay
  Dead: 'You died while your command was being parsed. Command cancelled!'
  #Message sent when a player gets combat tagged.
  Tagged: '&cYou are combat tagged! Command cancelled!'

dc-suggest.png
I live in Singapore, so if I don't answer your queries, I may be asleep! I also have school so my support time is incredibly limited too! :( Do be patient! :D You may leave bug reports or suggestions in the discussion tab, or pop over to this spreadsheet here.

dc-todo.png
dc-source.png
https://gitlab.com/xu_yukun/DelayCommand

dc-donation.png
[​IMG]

Big Thanks To
BadBones69: https://www.spigotmc.org/members/kicjow.9719/
(This is the master who taught me basically everything I know by way of Java and Spigot coding.)

Apex Minecraft Hosting
ad2.png
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

DelayCommand - Extremely Configurable! (1.7.10 - 1.15.2) is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 2,281 times (via Spigot). Download it and open it directly in the game.

Explore more