Code (YAML):
commandExecution:
enabled
: true
events
:
# Add commands when the season changes
# p -> all players will run this command
# c -> the console will run this command
#
# %player% will be replaced with the players name.
# You can add commands to the events without a limit
onSeasonChange:
p
:
- say Im
%player%
- say this is the second command
c
:
- say Im the console
- say this is the second command
afterSeasonChange:
group1:
enabled
: true
runAfter
:
# Here you can set the min and max value of the generated value.
# It will run after the generated value in seconds has elapsed.
min
: 5
max
: 10
commands:
p
:
- say Im
%player%
- say this is the second command
c
:
- say Im the console
- say this is the second command