Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Executables are named, can be anything.
- #This executable starts half an hour after the server starts, and runs once every half hour, saving the world and broadcasting a message
- #save:
- #Executables can be disabled while still being in the config.
- #This line is completely optional, but defaults to true
- #enabled: false
- #Executables have a type, repeating or runonce
- #A repeating runs over and over again.
- #type: repeating
- #Delay has a type, realtime or serverstart
- #start_type: serverstart
- #start time format is hours|minutes|seconds, or
- #hours|minutes, or
- #hours, you can use zeros.
- #start: 0|30
- #This will begin the executor half an hour after the server starts.
- #Delay is in seconds, this is ignored if the type is runonce. Delay defines (in seconds) how often the commands run
- #delay: 1800
- #Commands are defined in a list, without the slash.
- #commands:
- #- say Server saving...
- #- save-all
- #- say Server save complete
- #This executable runs once every 15 minutes after the server starts, and is used to tax online players
- #tax:
- #type: repeating
- #start_type: serverstart
- #start: 0|15
- #delay: 900
- #commands:
- #- ^PLAYER pay ServerAccount 5
- #!PLAYER is used to make the following command execute on all players of the server.
- #By default, commands are executed by the console.
- #This executable stops the server at midnight.
- #stop:
- #type: runonce
- #start_type: realtime
- #30 Seconds after midnight.
- #start: 0|0|30
- #Delay is not required, as this runs only once
- #commands:
- #- say Server stopping in 30 seconds..
- #- ^PAUSE 10
- #- say Server stopping in 20 seconds..
- #- ^PAUSE 10
- #- say Server stopping in 10 seconds..
- #- ^PAUSE 5
- #- say Server stopping 5 Seconds..
- #- ^PAUSE 5
- #- say Server stopping!
- #- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement