Presets, requirements and a verdict per report

Everything that varies per club is a preset now: its filters (one of each
kind, pickable rather than pasted ids), the requirements it places on a
joiner, its own channels and its own formats, including a Discord embed the
user edits field by field. A join is reported once per matching preset.

Each report carries the worst verdict of the preset's checks: green when
everything was verified and holds, orange when something could not be checked,
red when a check failed. Templates read it as {result}, {resultEmoji} and
{resultColor}.

Facts come from ctx.vrchat, so the hand-written event narrowers are gone and
the manifest no longer needs host:actions or any event name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
bluandClaude Opus 5 committed 2026-09-27 13:10:15 +02:00
1 parent c226195255
commit 9ea036bc35
14 files changed
+763 -1002

No files matched your search

+6 -20
View File
@@ -1,9 +1,9 @@
{
"id": "club-security",
"name": "Club Security",
"version": "1.0.0",
"apiVersion": "^0.2.0",
"description": "Reports each join to your instance: 18+ verification, avatar performance ranks, group membership and whether they were here with you before, to toast, desktop, VR or Discord.",
"version": "2.0.0",
"apiVersion": "^0.3.0",
"description": "Per-club presets: filter instances, require 18+, avatar ranks, group membership or friendship, and report each join with a green, orange or red verdict to toast, desktop, VR or Discord.",
"author": "vrcnext-plugins",
"homepage": "https://github.com/vrcnext-plugins/vrcnext-plugin-system/tree/main/examples/club-security",
"tags": [
@@ -12,29 +12,15 @@
"activity"
],
"permissions": [
"host:events",
"host:actions",
"gamelog",
"vrchat",
"notifications",
"native",
"network"
],
"optionalPermissions": [],
"actions": [
"getTimelineForUser",
"vrcGetAvatarDetail",
"vrcGetCurrentInstance",
"vrcGetGroupsForNetwork",
"vrcGetInstanceAvatars"
],
"events": [
"timelineForUser",
"vrcAvatarDetail",
"vrcCurrentInstance",
"vrcGroupsForNetwork",
"vrcInstanceAvatarFound",
"vrcUser"
],
"actions": [],
"events": [],
"hosts": [
"discord.com"
]