Kills and deaths linked between servers

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Mintus

Member
Oct 31, 2025
1
0
1
So i'm trying to make a skript which allows me to link kills and deaths between minecraft servers using SkCrew. Right now i have this code:

Code:
on script load:
     set {kills::*} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false"
     set {deaths::*} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false"
on death:
   add 1 to {kills::%uuid of attacker%}
   add 1 to {deaths::%uuid of victim%}
   set {kills::*} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false"
   set {deaths::*} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false"

It shows no errors but the kills and deaths are not linked. Before someone says i have filled out the info like the user and password of the database it's just not there for this example.