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.
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.
#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!'
#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!'
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!
You may leave bug reports or suggestions in the discussion tab, or pop over to this spreadsheet
here.
- Specific command checking
- CombatTagPlus support
https://gitlab.com/xu_yukun/DelayCommand
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
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.