Execute a command daily per user

Execute a command daily per user - Man Holding a Megaphone

I want to give a fixed amount of money to users each day they are connected (calendar real life days) to the server. The money is managed by Essentials. I've seen the plugin OnTime.

Is this the only way or it can be done with Essentials config or command?



Best Answer

By the looks of it, your only solution is to use the plugin you've found: OnTime, allows automated rewards based on a player's playtime on the server.
In my experience, I haven't heard of any other plugin that does that... Until now.

Essentials can still be used, but it will not be automated and the user will always have to use the /kit command every time he logs in.

Remember to install Vault as it is required. And yes, Vault can use Essentials' built-in economy system. Also note that the plugin you've found isn't exactly executing commands (ie. /give [player] 1 50) but instead adding items to players' inventories/money balances.




Pictures about "Execute a command daily per user"

Execute a command daily per user - Man With Megaphone Pointing
Execute a command daily per user - Set of skin care products in contemporary bathroom
Execute a command daily per user - Crop unrecognizable young ethnic female in terry robe applying moisturizing cream on cheek while reflecting in mirror



How do I schedule a Command Prompt?

Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to change the time to run the task 9:00am and press Enter:Syntax SCHTASKS /CHANGE /TN "FOLDERPATH\\TASKNAME" /ST HH:MM Example SCHTASKS /CHANGE /TN "MyTasks\\Notepad task" /ST 09:00.

How do I set cron to Run every day?

By using a specific syntax, you can configure a cron job to schedule scripts or other commands to run automatically....Cron Job Examples.Cron JobCommandRun Cron Job at 2 am Every Day0 2 * * * /root/backup.shRun Cron Job Every 1st of the Month0 0 1 * * /root/backup.sh7 more rows•Jan 9, 2020

How do I schedule a script to Run daily in Windows?

Configure Task in Windows Task Scheduler
  • Click on Start Windows, search for Task Scheduler, and open it.
  • Click Create Basic Task at the right window.
  • Choose your trigger time.
  • Pick the exact time for our previous selection.
  • Start a program.
  • Insert your program script where you saved your bat file earlier.
  • Click Finish.


  • How do I Run a scheduled task from the command line?

    Start the Task Scheduler in Windows by using the PowerShell or Command Prompt. Open command prompt or PowerShell apps, enter the command taskschd. msc and then hit Enter the Task Scheduler will open immediately.



    Minecraft Execute Command [1.19] Tutorial




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Pressmaster, Pressmaster, Karolina Grabowska, Sora Shimazaki