yog-cli 0.49.1

Yog build tool — `yog build` compiles a mod and packages it as .yog.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use yog_api::{Mod, Registry, chat, event::server::life::Started};

pub struct $STRUCT$;

impl Mod for $STRUCT$ {
    fn register(registry: &mut Registry) {
        registry.after::<Started, _>(|_, _| {
            chat::broadcast("$NAME$ loaded!");
        });
    }
}

yog_api::export_mod!($STRUCT$);