#Is there a way to make a schedualed command
9 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Utils.server.scheduleRepeating('1h', scheduled => {
Utils.server.runCommandSilent('difficulty peaceful')
})
At least this works for 1.20.1
Also, you don't need commands to set the difficulty:
Utils.server.scheduleRepeating('1h', scheduled => {
Utils.server.setDifficulty(
/* difficulty: */ 'peaceful',
/* isForced: */ false
)
})
oh thank you
Ticket re-opened!