Discord Linking Skript v3.1.1

Allow Minecraft users to link their discord!
+ Fixed a bug which caused the system not to properly link a player when this player chose to disconnect from the in-game server. (Thanks to Sail Creations).

! Also, please consider contacting me on Discord via p0wders_, if you find any bugs or have any issue to make the skript properly work!
Additions
+ SecureRandom + BigInteger for cryptographically safe code generation.
+ Collision-safe loop to guarantee unique codes.
+ Guaranteed correct code length output.
+ on join cleanup for stale NBT tags.
+ cache flags: all on bot definition.
+ Centralized errorContainer function for all Discord error responses.
+ Nickname cleared via modifyNickname(null) on unlink.
+ executable by: players restriction on discord command.

Removals
- Startup broadcast (sendStartMessage).
- compression: none on bot definition.
- Inline embeds for error responses.
- sendAlreadyLinkedEmbed and sendInvalidEmbed functions.

Changes
~ Temp code variables migrated from {discord::TempCode::...} to - prefix variables session only. (Never saved to the variables.csv)
~ NBT tag changed from string (storing the code value) to boolean (storing presence only)
~ unlinkPlayer now accepts offline player instead of player
~ All Discord responses now use consistent Components V2 containers instead of mixed embeds/containers
~ Messages migrated from legacy text component from + merge components to clean inline MiniMessage tags.
~ errorMessage simplified from two parameters (text + color) to one (text only)
+ Reworked the entire link system.
+ Added new text component.
+ Updated skript addons to their latest versions.

* Fixed a bug where linked people were able to link again.

- Removed log link system.

@ If you have suggestions, please dm me on discord.
+ Updated DiSky to 4.24.0-beta1
+ New Linked message using Discord new components system (containers)

- Removed Embed Link Messages
- Removed Unlinked by message in the log

? Further Informations about Discord new components system.
https://discord.com/developers/docs/components/reference#container
[+] - The code is now required in the slash command.
[~] - Changed how the slash command was registered

For any suggestions or questions, dm me on discord.
[-] - Removed discord link command !link <code>
[+] - Replaced by a slash command /link <code>
[~] - Some small change too...

For suggestions dm me on discord.
Skript Change:
  • Added Logs
  • The bot now send an embed when a player link his account.
  • it also send an embed when an op (operator) unlink a player.

Plugin Change:
- Skript updated to 2.11.2
- Skbee updated to 3.11.3
- DiSky updated to 4.23.0

If any issue happens please dm me on discord.
  • New way of modifying the code!
  • Better Configurations
  • Optimized Code

  • Now you can get the link code with tab completion (eg: /link <code>) The <code> will appear automatically, and if you want a new code just erease the one choosed and do the thing again.
1739629782411.png

  • Before you had to manually changing the variables, id's, etc... Now there is a options with all the variables to modify.
1739629741158.png


If you have any idea's contact me on discord p0wders_
EULA: Free EULA
10,461 Views
1,032 Downloads
Feb 5, 2025 Published
Apr 7, 2026 Updated
5.00 star(s)
Average rating (7)
10.2 KB File size
DRM-free
  1. Yes
Game mode
  1. Gens
  1. Lifesteal
  1. BoxPVP
Type
  1. Gameplay
  1. Chat
Game mode
  1. Gens
  1. Lifesteal
  1. BoxPVP
Game mode (legacy)
  1. Gens
  1. Lifesteal
  1. BoxPVP
Supported languages
  1. English
  1. French
Creator
Owner
Recommended for you
The plus version of the Squid Game minigame of the netflix series brought to minecraft.
3.50 star(s) 8 ratings
150 purchases
The same scoreboard as donutsmp and keyall system.
4.50 star(s) 3 ratings
78 purchases
Plot System with custom Currency (Custom Items).
5.00 star(s) 6 ratings
47 purchases
Custom fishing and enchantment system for your server.
Not yet rated
47 purchases
Custom farming and enchantment system for your server.
Not yet rated
47 purchases
10,461 Views
1,032 Downloads
Feb 5, 2025 Published
Apr 7, 2026 Updated
5.00 star(s)
Average rating (7)
10.2 KB File size
DRM-free
  1. Yes
Game mode
  1. Gens
  1. Lifesteal
  1. BoxPVP
Type
  1. Gameplay
  1. Chat
Game mode
  1. Gens
  1. Lifesteal
  1. BoxPVP
Game mode (legacy)
  1. Gens
  1. Lifesteal
  1. BoxPVP
Supported languages
  1. English
  1. French
Creator
Owner
Recommended for you
The plus version of the Squid Game minigame of the netflix series brought to minecraft.
3.50 star(s) 8 ratings
150 purchases
The same scoreboard as donutsmp and keyall system.
4.50 star(s) 3 ratings
78 purchases
Plot System with custom Currency (Custom Items).
5.00 star(s) 6 ratings
47 purchases
Custom fishing and enchantment system for your server.
Not yet rated
47 purchases
Custom farming and enchantment system for your server.
Not yet rated
47 purchases
Top