Example Pack Tour¶
The example-pack/ folder in the main Pipeline repo is a reference pack. Copy it into run/world/datapacks/ to see pretty much every implemented feature in action.
What's Inside¶
Commands (data/hello/commands/)¶
greet.pipe— basic greeting commandshop.pipe— opens the example shop GUIclear_data.pipe— wipes stored player dataping_network.pipe— shows hownetwork.sendlooksrequest_http.pipeandhttp_demo.pipe— submit an approval request, then perform a bounded HTTP GETcustom_event.pipe— fires a namespaced event with custom context
Events (data/hello/events/)¶
Handlers for join/leave/respawn, chat, commands, death, cancellable block/entity/item interactions, inventory open/click/close, server lifecycle, and hello:announcement, a custom event.
Schedules (data/hello/schedules/)¶
daily_reset.pipe— daily reset at a set timeinterval_announce.pipe— recurring announcementtick_welcome.pipe— per-tick example
Storage (data/hello/storage/)¶
player_data.pipe— per-player schemaglobal_config.pipe— global schemaworld_spawn.pipe— per-world schema
Permissions (data/hello/permissions/)¶
Example permissions with OP and default levels.
Registry (data/hello/registry/)¶
items.pipe— custom swordblocks.pipe— custom block proxy
Inventories (data/hello/inventories/)¶
shop.pipe— chest-style shop GUI
Network (data/hello/network/)¶
custom_ui.pipe— example packet schema
Try It Out¶
- Copy
example-pack/intorun/world/datapacks/. - Run
/pipeline reloadif the server is already up. - Join and run
/shop,/greet, and/ping_network. - Check
run/logs/latest.logfor[Pipeline]output.