Staff Pick: DAutoSave
By
NoiknezCreated: 2016/09/09 17:21:48 UTC-07:00 (8 years and 105 days ago)
Edited: 2016/09/09 17:22:58 UTC-07:00 (8 years and 105 days ago)
Likes: 1
Staff pick as of: 2016/09/11 02:38:44 UTC-07:00 (8 years and 103 days ago)
Denizen Version: Version 0.9.8
Script Version: Script Version 1
Description:
A script that save all the world, denizen and citizen every hours.
To make it save every 30 minutes instead simply uncomment the lines
Download script |
View raw scriptAutosave:
type: world
debug: false
events:
on system time hourly:
- announce "<&8>Saving worlds ..."
- execute as_server 'denizen save'
- execute as_server 'citizens save'
- foreach <server.list_worlds>:
- adjust <def[value]> save
- announce "<&8>Worlds saved !"
#- wait 30m
#- announce "<&8>Saving worlds ..."
#- execute as_server 'denizen save'
#- execute as_server 'citizens save'
#- foreach <server.list_worlds>:
# - adjust <def[value]> save
#- announce "<&8>Worlds saved !"
View History