The SDM Events Lab mod will allow you to create your own global and local events.
The mod only supports KubeJS so far for writing events. Everything written should be placed in "kubejs/startup_scripts/…"
To start using it, check out the wiki