+ 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 viap0wders_, if you find any bugs or have any issue to make the skript properly work!
Additions
+SecureRandom+BigIntegerfor cryptographically safe code generation.
+ Collision-safe loop to guarantee unique codes.
+ Guaranteed correct code length output.
+on joincleanup for stale NBT tags.
+cache flags: allon bot definition.
+ CentralizederrorContainerfunction for all Discord error responses.
+ Nickname cleared viamodifyNickname(null)on unlink.
+executable by: playersrestriction ondiscordcommand.
Removals
- Startup broadcast (sendStartMessage).
-compression: noneon bot definition.
- Inline embeds for error responses.
-sendAlreadyLinkedEmbedandsendInvalidEmbedfunctions.
Changes
~ Temp code variables migrated from{discord::TempCode::...}to-prefix variables session only. (Never saved to the variables.csv)
~ NBT tag changed fromstring(storing the code value) toboolean(storing presence only)
~unlinkPlayernow acceptsoffline playerinstead ofplayer
~ All Discord responses now use consistent Components V2 containers instead of mixed embeds/containers
~ Messages migrated from legacytext component from+merge componentsto clean inline MiniMessage tags.
~errorMessagesimplified 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.
![]()
- Before you had to manually changing the variables, id's, etc... Now there is a options with all the variables to modify.
![]()
If you have any idea's contact me on discord p0wders_
