ConsoleScheduler
ConsoleScheduler Easy timed console commands.
Version: v1.4.10
This plugin allows one to configure commands to be executed after a certain time period. It supports repeated command, it also supports the commands to be executed at a specific time (12:00PM for instance). One can configure the console to use any command one would normally type in the console.
For example, one might want to have the "save-all" command to be sent every hour. Another example, a very simple broadcast "say Remember to visit our forums!". A must-have!
Example config.yml
How to install
Dependencies:
Features:
- Allows for repeating commands.
- Command for reload the config file.
- Allow for specific-time commands.
- Easy to configure.
- Lightweight.
- Optional: Delay before it starts the schedule so that all other plugins can load.
- Update Checker to automatic update your plugin.
Update Checking:
- This plugin utilizes Gravity's update checker to notify when a new version of the plugin is out, it will automatically download the new version. It also notifies the admins that a new plugin version is available. This can be enabled or disabled in the config.yml. To disable update-checking, set CheckForUpdates to false.
Commands:
- /csc help - Show a list of commands
- /csc reload - reload the config file
Permissions:
- ConsoleScheduler.use - User with this permission has full access to the plugin commands
If you like my work, feel free to donate :)

-
View User Profile
-
Send Message
Posted Aug 31, 2022Does it also support commands from other plugins?
-
View User Profile
-
Send Message
Posted Oct 13, 2021when I change the config of the plugin the plugin just breaks here is what console says
[12:26:25 WARN]: Plugin ConsoleScheduler v1.4.9 does not specify an api-version.
[12:26:25 ERROR]: Fatal error trying to convert ConsoleScheduler v1.4.9:com/RkCraft/ConsoleScheduler/ConsoleScheduler.class
java.lang.IllegalArgumentException: Unsupported class file major version 60
at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.<init>(ClassReader.java:195) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.<init>(ClassReader.java:176) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.<init>(ClassReader.java:162) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.craftbukkit.v1_14_R1.util.Commodore.convert(Commodore.java:170) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.craftbukkit.v1_14_R1.util.CraftMagicNumbers.processClass(CraftMagicNumbers.java:283) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:112) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:85) ~[patched_1.14.4.jar:git-Paper-243]
at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:398) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:63) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:134) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:337) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:257) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:355) ~[patched_1.14.4.jar:git-Paper-243]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:226) ~[patched_1.14.4.jar:git-Paper-243]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:876) ~[patched_1.14.4.jar:git-Paper-243]
at java.lang.Thread.run(Thread.java:829) [?:?]
[12:26:25 ERROR]: Could not load 'plugins/ConsoleScheduler.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/RkCraft/ConsoleScheduler/ConsoleScheduler has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:337) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:257) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:355) ~[patched_1.14.4.jar:git-Paper-243]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:226) ~[patched_1.14.4.jar:git-Paper-243]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:876) ~[patched_1.14.4.jar:git-Paper-243]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.UnsupportedClassVersionError: com/RkCraft/ConsoleScheduler/ConsoleScheduler has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:135) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:85) ~[patched_1.14.4.jar:git-Paper-243]
at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:398) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:63) ~[patched_1.14.4.jar:git-Paper-243]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:134) ~[patched_1.14.4.jar:git-Paper-243]
... 6 more
-
View User Profile
-
Send Message
Posted Nov 24, 2021In reply to amirking14:
If you are using any version of Paper prior to 1.17, you need to use the 1.4.8 version of consolescheduler. The latest version bring some changes that may break the plugin on any version prior 1.17
You need to downgrade you plugin version and turn off the auto updater until you decide to upgrade your server to 1.17
-
View User Profile
-
Send Message
Posted Aug 12, 2021It was a bit rough to get started using this plugin but after taking a bit of time to figure things out, it works like a charm. Overall, it's a very good plugin once you get past the small learning curve.
It's also one of very few plugins I could find that does something like this (scheduled commands) in 1.17. Kudos to the devs and hoping for more updates.
Useful Notes to anyone using this:
-Use the config file linked to this website page('example config.yml') as a default config(this is because the one on the website also shows how to use the specific time function)
-Times are local to computer. So if you set it to go off at 3am, it will do so according to your computer's timezone. Also, it will not go off exactly at the time specified but more like +-15 seconds
-The syntax is VERY STRICT. Which is why I recommend editing the config file given on the website.
-If you messed up any of the syntax, the config resets to default and whatever you have written will be overriden. So if anything of yours get overriden, you've done something wrong in formatting
-Sentences like 'Hello my name is: Bob' cannot be written because the ':' will interfere with the syntax. A workaround is using the tellraw command because the ':' will be encased in brackets
-You can schedule more than 3 commands by creating a 'command4' in the exact same way as the others (again, syntax is VERY strict. it must be EXACTLY like the others)
-You cannot have a 'command1' and then immediately a 'command3'. You will have to rename 'command3' to 'command2'
-When the plugin has loaded, it sends a useful message in console along the lines of '[ConsoleScheduler] has attempted to put 1 commands on schedule.' You can use this to check if all your desired commands have loaded
-
View User Profile
-
Send Message
Posted Jun 28, 2020So what is the time zone of the time thingy?
-
View User Profile
-
Send Message
Posted Aug 12, 2021It's local to the computer time
-
View User Profile
-
Send Message
Posted Jul 13, 2019Ah, works again, thanks for this plugin!
-
View User Profile
-
Send Message
Posted Jun 18, 2019I can't use the plugin.
Here is my config file:
# Configuration explanation below ~ # # ALL TIMES ARE IN SECONDS! # Initial delay is the time before the plugin starts starting # the commands in the schedule. This is in place so that other # plugins have the time to start. You could set this to 0, # but errors may occur. # Make sure the Command1, Command2, Command3 etc. are numbered # in succession. This will ensure they all load. # # Also make sure you enter a command, heh. # # 1 minute = 60 seconds. 1 hour = 3600 seconds # HOUR in 24-hour format! # SpecificTime commands ALWAYS repeat! CheckUpdates: true InitialDelay: 30 CommandSchedule: Command1: After: 0 Repeat: true Interval: 900 Command: minecraft:tellraw @a ["",{"text":"----------------------------------","color":"aqua","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"\n","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"Rejoignez nous sur ","underlined":true,"color":"gold","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"discord","bold":true,"underlined":true,"color":"yellow","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"! Cliquez ","underlined":true,"color":"gold","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"ici","bold":true,"underlined":true,"color":"gold","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"!","underlined":true,"color":"gold","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"\n","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}},{"text":"----------------------------------","color":"aqua","clickEvent":{"action":"open_url","value":"https://discord.gg/Y7GFswX"},"hoverEvent":{"action":"show_text","value":"C'est gratuit!"}}] Command2: After: 450 Repeat: true Interval: 1800 Command: eco give * 0.09 Command3: After: 449 Repeat: true Interval: 1800 Command: minecraft:tellraw @a ["",{"text":"---------------------------------","strikethrough":true,"color":"gold","hoverEvent":{"action":"show_text","value":"C'est cadeau! Parce que vous êtes là et c'est cool ^^ Note: Vous avez 1\u20ac par demi-heures, mais n'essayez pas de rester AFK toute une journée, vous serez expulsé."}},{"text":"\n","hoverEvent":{"action":"show_text","value":"C'est cadeau! Parce que vous êtes là et c'est cool ^^ Note: Vous avez 1\u20ac par demi-heures, mais n'essayez pas de rester AFK toute une journée, vous serez expulsé."}},{"text":"Distribution de ","bold":true,"color":"green","hoverEvent":{"action":"show_text","value":"C'est cadeau! Parce que vous êtes là et c'est cool ^^ Note: Vous avez 1\u20ac par demi-heures, mais n'essayez pas de rester AFK toute une journée, vous serez expulsé."}},{"text":"1\u20ac","bold":true,"color":"aqua","hoverEvent":{"action":"show_text","value":"C'est cadeau! Parce que vous êtes là et c'est cool ^^ Note: Vous avez 1\u20ac par demi-heures, mais n'essayez pas de rester AFK toute une journée, vous serez expulsé."}},{"text":" pour tout le monde!","bold":true,"color":"green","hoverEvent":{"action":"show_text","value":"C'est cadeau! Parce que vous êtes là et c'est cool ^^ Note: Vous avez 1\u20ac par demi-heures, mais n'essayez pas de rester AFK toute une journée, vous serez expulsé."}},{"text":"\n","hoverEvent":{"action":"show_text","value":"C'est cadeau! Parce que vous êtes là et c'est cool ^^ Note: Vous avez 1\u20ac par demi-heures, mais n'essayez pas de rester AFK toute une journée, vous serez expulsé."}},{"text":"---------------------------------","strikethrough":true,"color":"gold","hoverEvent":{"action":"show_text","value":"C'est cadeau! Parce que vous êtes là et c'est cool ^^ Note: Vous avez 1\u20ac par demi-heures, mais n'essayez pas de rester AFK toute une journée, vous serez expulsé."}}]And here is the result:
HEEELP!!!
I'm going crazy!
-
View User Profile
-
Send Message
Posted May 10, 2019Whens the next updated version being released?
-
View User Profile
-
Send Message
Posted Dec 28, 2017The initial delay is driving me nuts. I can't turn it off and setting it to a really long delay doesn't work, either. I only want to use this plugin at specific time intervals so I don't really need a delay between re-running commands. I had to uninstall. I even tried just removing the Initial Delay line but it'll still automatically broadcasting the command every few seconds when I have it set to go off at 5 PM Central time which is about 22 hours from now!
-
View User Profile
-
Send Message
Posted Aug 2, 2017I keep getting this error in my console, WARN Task #123338 for ConsoleScheduler v1.4.6.0 generated an exception
-
View User Profile
-
Send Message
Posted Jan 13, 2017boomclaw will now take over this project
-
View User Profile
-
Send Message
Posted Dec 31, 2016Someone please tell me what timezone I am supposed to use for this plugin, I have tried like 8 and so far no scheduled timed tasks are working, only repeating tasks.
EDIT: I checked ALL time zones, none of them are working. There must be a problem with the scheduled tasks, as only repeating are working.
-
View User Profile
-
Send Message
Posted Dec 30, 2016Was told to send this here: https://www.spigotmc.org/threads/plugins-triggering-commands-async.31815/ I need to use this plugin on my server but will error.
-
View User Profile
-
Send Message
Posted Dec 24, 2016/csc reload can't reload schedulers, only restart the server can make my change in config.yml take effect.
And the SpecificTime is not accurate, commands usually execute 10 seconds later than set time.
And please!! add SpecificDay(etc. Jan 1st) and SpecificWeekdays(etc. Mon) in ver 2.0
-
View User Profile
-
Send Message
Posted Dec 25, 2016the reload command only works if you modify existent schedules, is a know bug and will be fixed soon.
-
View User Profile
-
Send Message
Posted Oct 18, 2016the plugin needs to learn how to count changed the interval to be 1800 so it run every 30 minutes but still runs the command every 30 seconds have reloaded the config and restarted the server.
Teach it to count properly please
-
View User Profile
-
Send Message
Posted Dec 6, 2016-
View User Profile
-
Send Message
Posted Sep 21, 2016is it possible to add "specific date"? for example, specific date: Wednesday I was thinking on adding events only on Wednesdays but I can't be always on and I want the event to take place even if I'm not around.
-
View User Profile
-
Send Message
Posted Jul 19, 2016Hi I'm trying to use the plugin to run the commands - mv reload - hd reload
I have it set to run every hour and the commands work fine in the console when I type them in but they do not work when this plugin trys to run them through the console. I know the plugin is working fine because I have other commands like broadcast and worldreset working on it.
Here is the error I receive in the console: http://pastebin.com/fZRXaddT
Here is my config too: http://pastebin.com/5ygNa3E5
Thank You for the help!