SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.03k stars 362 forks source link

Database does not delete cleared variables/lists #6149

Open HiddenCards0 opened 9 months ago

HiddenCards0 commented 9 months ago

Skript/Server Version

[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript] Die Aliase von Skript finden Sie hier: https://github.com/SkriptLang/skript-aliases
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript] Die Dokumentation von Skript finden Sie hier: https://skriptlang.github.io/Skript
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript] Server Version: git-Pufferfish-25 (MC: 1.20.1)
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript] Skript Version: 2.6.2-mc-1.19-build2
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript] Installierte Skript Addons: 
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - SkCord v1.1-RELEASE
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - Skellett v2.0.2 (https://forums.skunity.com/resources/skellett.24/)
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - Reqn v1.2.1
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - SkQuery v4.1.6
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - Ersatz v1.0
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - Skcrew v1.4 (https://github.com/LotzyProd/Skcrew)
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript] Installierte Abhängigkeiten: 
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - SQLibrary v7.1
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - Vault v1.7.3-b131
[06:27:05] [Render thread/INFO]: [System] [CHAT] [Skript]  - WorldGuard v7.0.9-beta1+2249-223b80c

Bug Description

I am using the database function of Skript to sync it over multiple servers on a bungeecord. When clearing a variable/list it gets cleared on the server i am on, but not on the other servers/they dont update the cleared variable.

When changing the variable it works just fine but nothing happens if i delete it.

Expected Behavior

The Variable should be deleted on all servers of the bungee cord.

Steps to Reproduce

  1. Create a bungeecord server with two seperate servers and connect them trough a database.
  2. create a variable in skript an let it output on the other server. this should work.
  3. delete the variable on one server, it wont be there anymore.
  4. switch to the other server and you will find the variable there until you delete it there also.

Errors or Screenshots

No response

Other

No response

Agreement

TheLimeGlass commented 9 months ago

https://github.com/SkriptLang/Skript/pull/5646