Rice Plugins Rice Plugins
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • PlayerPddShop
    • CompanionsPlus
    • PlayerGem
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • AfDianPay
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • PlayerScoreboard
    • DeathMark
    • McMmoView
    • Fair-DanTiao
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • PlayerPddShop
    • CompanionsPlus
    • PlayerGem
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • AfDianPay
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • PlayerScoreboard
    • DeathMark
    • McMmoView
    • Fair-DanTiao
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
  • Basic

    • Introduction
      • Commands and Permissions
      • FAQ
      • Image Gallery
      • Video Introduction
      • Changelog
    • Developer

      • API
    • OauthLogin
    • Basic
    handy
    2024-04-12
    目录

    Introduction

    Supported Core Supported Version Payment Status Latest Version

    # I. Introduction

    OAuthLogin —— A useful login plugin

    OauthLogin

    # II. Features

    1. Supports OAuth protocol login (e.g. QQ login)
    2. Supports traditional account/password login
    3. Supports MiniMessage format messages

    # III. Usage

    # 3.1. Prerequisites for OAuth Login

    1. Your own machine or a rented VPS with the ability to freely open ports
    2. Your own domain name (ICP filing optional)
    3. Knowledge of website setup and Nginx domain forwarding
    4. Some developer knowledge to follow the tutorial below

    # 3.2. Configure in config

    # Port used for login
    port: 8888
    
    # OAuth information
    source: 'qq'
    clientId: 'your clientId'
    clientSecret: 'your clientSecret'
    redirectUri: 'https://yourdomain/open/oauth/callback/QQ'
    

    Click to view: Supported Third-party Login List (opens new window)

    # The following uses QQ Connect as an example

    Click to view: QQ Connect (opens new window)

    # 3.3. How to configure port

    Used for the server's externally exposed interface. Set any port that is not already in use on the server.

    # 3.4. How to configure clientId/clientSecret/redirectUri

    QQ Connect Developer Tutorial (opens new window)

    # IV. Required Plugins

    All are optional

    PlaceholderAPI PAPI variables
    PlaceholderAPI (opens new window)
    ProtocolLib Protocol library
    ProtocolLib (opens new window)

    # V. Usage Statistics (opens new window)

    Usage Statistics

    # VI. Download

    Click to Download (opens new window)

    # VII. Documentation

    Click to View (opens new window)

    Commands and Permissions

    Commands and Permissions→

    Theme by Vdoing | Copyright © 2020-2026 Rice Plugins - All Rights Reserved
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式