Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions modules/auth/module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "Authentication",
"description": "Authenticate users with multiple authentication methods.",
"icon": "key",
"tags": [
"core",
"auth",
"user"
],
"authors": [
"rivet-gg",
"NathanFlurry"
],
"status": "stable",
"dependencies": {
"email": {},
"users": {},
"rate_limit": {}
},
"scripts": {
"auth_email_passwordless": {
"name": "Authenticate Email Passwordless",
"description": "Send a one-time verification code to a user's email address to authenticate them.",
"public": true
},
"verify_email_passwordless": {
"name": "Verify Email Passwordless",
"description": "Verify a user's email address with a one-time verification code.",
"public": true
}
},
"errors": {
"provider_disabled": {
"name": "Provider Disabled"
},
"verification_code_invalid": {
"name": "Verification Code Invalid"
},
"verification_code_attempt_limit": {
"name": "Verification Code Attempt Limit"
},
"verification_code_expired": {
"name": "Verification Code Expired"
},
"verification_code_already_used": {
"name": "Verification Code Already Used"
},
"email_already_used": {
"name": "Email Already Used"
}
}
}
37 changes: 0 additions & 37 deletions modules/auth/module.yaml

This file was deleted.

45 changes: 45 additions & 0 deletions modules/currency/module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "Currency",
"description": "Track user balances and allow them to deposit and withdraw.",
"icon": "coin",
"tags": [
"economy"
],
"authors": [
"ABCxFF"
],
"status": "preview",
"dependencies": {
"rate_limit": {},
"users": {}
},
"scripts": {
"deposit": {
"name": "Deposit"
},
"withdraw": {
"name": "Withdraw"
},
"get_balance": {
"name": "Get Balance"
},
"set_balance": {
"name": "Set Balance"
},
"get_balance_by_token": {
"name": "Get Balance by Token",
"public": true
}
},
"errors": {
"invalid_user": {
"name": "Invalid User"
},
"invalid_amount": {
"name": "Invalid Amount"
},
"not_enough_funds": {
"name": "Not Enough Funds"
}
}
}
32 changes: 0 additions & 32 deletions modules/currency/module.yaml

This file was deleted.

27 changes: 27 additions & 0 deletions modules/email/module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "Email",
"description": "Send emails using multiple providers.",
"icon": "envelope",
"tags": [
"email"
],
"authors": [
"rivet-gg",
"NathanFlurry"
],
"status": "stable",
"scripts": {
"send_email": {
"name": "Send Email"
}
},
"errors": {
"email_missing_content": {
"name": "Email Missing Content",
"description": "Email must have `html` and/or `text`"
},
"sendgrid_error": {
"name": "SendGrid Error"
}
}
}
18 changes: 0 additions & 18 deletions modules/email/module.yaml

This file was deleted.

77 changes: 77 additions & 0 deletions modules/friends/module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"name": "Friends",
"description": "Allow users to send and accept friend requests.",
"icon": "user-group",
"tags": [
"social"
],
"authors": [
"rivet-gg",
"NathanFlurry"
],
"status": "beta",
"dependencies": {
"rate_limit": {},
"users": {}
},
"scripts": {
"send_request": {
"name": "Send Request",
"description": "Send a friend request to another user.",
"public": true
},
"accept_request": {
"name": "Accept Request",
"description": "Accept a friend request from another user.",
"public": true
},
"decline_request": {
"name": "Decline Request",
"description": "Decline a friend request from another user.",
"public": true
},
"remove_friend": {
"name": "Remove Friend",
"description": "Remove a friend from your friends list.",
"public": true
},
"list_friends": {
"name": "List Friends",
"description": "List all friends of a user.",
"public": true
},
"list_outgoing_friend_requests": {
"name": "List Outgoing Friend Requests",
"description": "List all friend requests sent by a user.",
"public": true
},
"list_incoming_friend_requests": {
"name": "List Incoming Friend Requests",
"description": "List all friend requests received by a user.",
"public": true
}
},
"errors": {
"already_friends": {
"name": "Already Friends"
},
"friend_request_not_found": {
"name": "Friend Request Not Found"
},
"friend_request_already_exists": {
"name": "Friend Request Already Exists"
},
"not_friend_request_recipient": {
"name": "Not Friend Request Recipient"
},
"friend_request_already_accepted": {
"name": "Friend Request Already Accepted"
},
"friend_request_already_declined": {
"name": "Friend Request Already Declined"
},
"cannot_send_to_self": {
"name": "Cannot Send to Self"
}
}
}
56 changes: 0 additions & 56 deletions modules/friends/module.yaml

This file was deleted.

29 changes: 29 additions & 0 deletions modules/rate_limit/module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "Rate Limit",
"description": "Prevent abuse by limiting request rate.",
"icon": "gauge-circle-minus",
"tags": [
"core",
"utility"
],
"authors": [
"rivet-gg",
"NathanFlurry"
],
"status": "stable",
"scripts": {
"throttle": {
"name": "Throttle",
"description": "Limit the amount of times an request can be made by a given key."
},
"throttle_public": {
"name": "Throttle Public",
"description": "Limit the amount of times a public request can be made by a given key. This will rate limit based off the user's IP address."
}
},
"errors": {
"rate_limit_exceeded": {
"name": "Rate Limit Exceeded"
}
}
}
Loading