-
Notifications
You must be signed in to change notification settings - Fork 0
ACMD Examples
RonanTR edited this page Sep 21, 2024
·
3 revisions
Here are examples of acmd that can be placed in the commands.yml file in the ACMD plugin config folder.
acmd0:
active: true
TaskParameters:
name: wakeupAll
cycle: 200
delay: 0
repetition: 1
running: false
commands:
- time set day
message: §5Time to wake up :D
DailySchedulerParameters:
time: 7H00
acmd1:
active: true
TaskParameters:
name: feed
cycle: 0
delay: 0
repetition: 1
running: false
commands:
- feed *
message: §6Have a meal !
DailySchedulerParameters:
time: ''
Spawn a army of zombies 1 by one 10 times with a delay of 200 ticks between each in a push of a button !
You will need to change coordonates of the summon command to test it in your world
acmd2:
active: true
TaskParameters:
name: spawnArmy
cycle: 200
delay: 0
repetition: 10
running: false
commands:
- summon minecraft:zombie 50 64 80
message: ''
DailySchedulerParameters:
time: ''
acmd2:
active: true
TaskParameters:
name: On_start
cycle: 200
delay: 0
repetition: 1
running: false
commands:
- say someting
message: ''
DailySchedulerParameters:
time: ''
TriggerParameters:
trigger: 'onServerEnable'
note that you can use these trigger values: onPlayerJoin, onPlayerQuit, onServerEnable Soon you will be able to use the player that joined inside of the acmd as a placeHolder.
If you need help, find an error or have a suggestion, do not hesitate to join our Discord : https://discord.gg/HF8brDSg5V