SimpleCommandScheduler
SimpleCommandScheduler v1.0
About
SimpleCommandScheduler is a simple yet effective plugin that lets you schedule commands to be ran at set intervals.
Config
This is what the default config looks like
# Variables: # <ONLINE> - Number of players online # <RANDOM_PLAYER> - The name of a random online player # Feel free to suggest additional variables at http://dev.bukkit.org/bukkit-plugins/simplecommandscheduler schedule: 10: - 'say This command will run every 10 seconds' - 'say This command will also run every 10 seconds' 60: - 'say This command will run every minute. There are <ONLINE> player(s) online, one of them is <RANDOM_PLAYER>.'
Variables
At the moment there are two variables available for use in commands.
<ONLINE> will be replaced with the number of online players on the server.
<RANDOM_PLAYER> will be replaced with the name of a random player on the server.
If you need more, feel free to post a suggestion in the comments.
Please, Please update this plugin. It is exactly what i need. Or, could you just put source code?
Can you add a reload command
please add something where you can have it wait a certain amount of time after the last command and then have it run another command
You should add the Variable <ALL_PLAYERS>, A few people have wanted a plugin like this with that variable. If you could add that, that would be amazing :)!
Why don't you make it able to run multiple commands in one time and be able to wait a certain amount before running the next command in that group? Such as:
Sample Command:
Interval: 270
- 'say Lag will be cleared in 30 seconds!'
- wait 30 seconds comes here
- 'lagg clear'
- 'say Lag has been cleared!'
Is there a variable for all players?
I recommend two seperate variables, online players and max players.
Hi.
Thanks for this plugin.
It's not possible to have more argument ? For use a command like "butcher 100 -a" for example ?
Thanks in advance..
@yurikoma
That would work just fine!
20700: - 'say Server restarting in 15 minutes'
@maxlehot1234
you should already be able to do this.
calculate the command to activate when there is only 15 minuites (or whatever time you want it to activate.
and use - 'say The Server Will Restart In 15 Minuites.'
well that's how the author shows this plugin works
Can you add possibility to add server shutdown message? example:
on my minecraft hosting server, they offer the possibility to restart the server at 5h am so can i add message to say: server restart at 5h am? or: server restart in 15 minutes for wxample?
Awesome plugin! Now I can remove auto broadcast plugin and auto save cus I can just have the command bc or save-all run! Thanks willeb!
@psirusa
I don't, feel free to decompile it. If you release it I would appreciate a link back to this page.
do you have a github repository for this? I want to make a mod to this that allows for randomizing a command set input from a file.
@psirusa
Glad the plugin could help you out =)
@willeb96
I'm not sure if he is just trolling or not... I hope so. Thanks for this plugin, it was exactly what I was looking for to solve a BungeeCord issue!
@killerbyte12
I'm sorry, but why is a variable needed for a specific player? Can't you just use the specific players name instead of a variable?
variable suggestions
<PLAYER> - Specific player, not random.