Minecraft – Execute a command daily per user

minecraft-bukkitminecraft-java-editionminecraft-java-edition-server

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.