Date: 2020/07/22 00:16:36 UTC-07:00
Type: Denizen Script
stellium_regen:
type: world
debug: true
events:
on time 5 in world:
- define currentstellium <placeholder[mmocore_stellium]>
- if <[currentstellium]> < 10:
- execute as_server "mmocore admin resource-stellium give <player> 1"
- narrate "<&color[#9C5BE1]><italic>As the sun rises, you feel safe again." targets: <server.online_players.>
- narrate "<&6><bold>+1 <&7>Stellium" targets: <server.online_players>
- stop
- else:
- narrate "<&color[#9C5BE1]><italic>As the sun rises, you feel safe again." targets: <server.online_players>
- stop