05-14-2017, 05:01 AM
There's nothing in Cuberite that would spawn random items at regular intervals. You need to implement that. So you need to:
1. Create a function that is called regularly, using cWorld:ScheduleTask()
2. In that function, decide on the random coords and item type (math.random()) and spawn the pickup (cWorld:SpawnItemPickups())
1. Create a function that is called regularly, using cWorld:ScheduleTask()
2. In that function, decide on the random coords and item type (math.random()) and spawn the pickup (cWorld:SpawnItemPickups())