Cross server variables

  • 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!

Status
Not open for further replies.

cheatchki

Supporter ++
Jun 26, 2017
49
1
8
I am looking to make a channel plugin for my bungee network, however I'm having issues with variables going cross server. I know skelletproxy has an option for that but I would heavily prefer to not use that. Currently I have it set so when I am setting a variable it runs a command and the command is dispatched to all the servers and when the server recieves the command it sets the variable. this works however it has like maybe a 75% success rate. I would prefer to save it to a MySQL database but I can not for the life of me understand how to do MySQL. Ive tried setting the save spot for the variables in the config.sk to a MySQL database, but skript does not like it when you have two servers trying to access the same database. SO does anyone know any good skript MySQL database guides, that or a better way to store variables cross servers.
 
It would firstly help if skript had a decent built in mysql functions but it doesn't, they're deprecate.

Theres an addon like skelette or skquery or some shit that has an updated version of it yet it's still very poor.

hit me up on skype i might be able to help if i can get a better understanding of what you're trying to do.

skype: xb0t3r
 
Status
Not open for further replies.