Skip to content

Let staff skip the Survival Discord link requirement - #26

Merged
Drefvelin merged 1 commit into
mainfrom
feat/discord-link-bypass
Sep 24, 2026
Merged

Drefvelin merged 1 commit into
mainfrom
feat/discord-link-bypass

Conversation

@Drefvelin

@Drefvelin Drefvelin commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds tfmcweb.discord.bypass so Survival players with that permission are not gated when they have no Discord link.
  • Players without the permission still need a link and guild membership to play Survival.

Test plan

  • Confirm TFMC Dev enables TFMCWeb after this jar is installed.
  • An unlinked Survival player without the permission stays frozen.
  • An unlinked Survival player with tfmcweb.discord.bypass is not frozen.

Made with Cursor

Summary by CodeRabbit

  • New Features
    • Players with the Discord bypass permission can enter Survival without linking their Discord account. The permission is disabled by default.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: bb385630-5e94-49bc-8275-3a1828dfbf85

📥 Commits

Reviewing files that changed from the base of the PR and between f1b9506 and d416a63.

📒 Files selected for processing (3)
  • src/main/java/net/tfminecraft/tfmcweb/gate/DiscordGateService.java
  • src/main/resources/plugin.yml
  • src/test/java/net/tfminecraft/tfmcweb/gate/DiscordGateServiceTest.java
 _________________________________________
< Because, faster merges = more features. >
 -----------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@Drefvelin
Drefvelin merged commit fbe3959 into main Sep 24, 2026
1 of 2 checks passed
@Drefvelin
Drefvelin deleted the feat/discord-link-bypass branch September 24, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant