DelayCommand - Extremely Configurable! (1.7.10 - 1.15.2)
1.0.8bA plugin to delay the sending of commands.
Ever wanted to delay some commands? Well now you can! This plugin will let you set a delay on your commands.
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.
Config.yml
#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.Messages.yml
#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!'
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.
Specific command checkingCombatTagPlus 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.)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
