Event JSON
{
"id": "c3cc8ea263d0db2e91d2927d59648f6a68efac81721d9f56386644ed890ebf27",
"pubkey": "30e4a2f3acb279498a7f05638fbc911230aa17a9ce095e56d8b983bacfba1c31",
"created_at": 1729334745,
"kind": 1,
"tags": [
[
"p",
"4763cc2a30755e023792fa825db06689aa897689c593198136e3510d2d4bf016",
"wss://relay.mostr.pub"
],
[
"p",
"978bc44413b60009f3a4b841e292055d7aaf28c5871f07dc849cdb32f601f582",
"wss://relay.mostr.pub"
],
[
"p",
"6adca407f81ea42bd95d3652f0ff39699e68400e7de14be0a81c152cee50bea5",
"wss://relay.mostr.pub"
],
[
"p",
"0db09da66a0e899c6669178e98b94534b40f87f8c0dbd3c5145a9b5d27715e0c",
"wss://relay.mostr.pub"
],
[
"e",
"8f6b5b45c6b7be194d0481dfbbd2b0e0509fd3c73be54045f3f0ff4af1b7b645",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://bsd.network/users/solene/statuses/113333681892364766",
"activitypub"
]
],
"content": "nostr:npub1ga3uc23sw40qydujl2p9mvrx3x4gja5fckf3nqfkudgs6t2t7qtqd5pvru nostr:npub1j79ug3qnkcqqnuayhpq79ys9t4a272x9su0s0hyynndn9asp7kpqe5uxu0 minecraft is running in a container, so I just pause / unpause that container\n\nI'm using systemd-socket-proxyd on a systemd socket that connects to the locally listening minecraft server, so players connect to that socket, this unpause minecraft and pass the stream to minecraft\n\nthere is a systemd timer running every 5 minutes checking for the player number in minecraft using rcon-cli, if it's 0 there it pauses the container\n\nsystemd-socket-proxyd documentation: https://www.freedesktop.org/software/systemd/man/latest/systemd-socket-proxyd.html\n\nmy previous setup using NixOS that automatically start minecraft on demand, and stop it after a while\n\nhttps://dataswamp.org/~solene/2022-08-20-on-demand-minecraft-with-systemd.html",
"sig": "dff68c86e89f9f27988be15d264e4a044f16a650b0ad192a99207a9203d1a929fc1bcb39f93316f29824b8763ef69baa7a687018d5293a0ddca4897eff3dcff9"
}