import { world, system } from "@minecraft/server";
world.afterEvents.playerSpawn.subscribe((entityEvent) => {
    const player = entityEvent.player;
    player.runCommandAsync("function cc/adogs/guide_book");
});