Solved Variables wont save

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

    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!

italo

New Member
Aug 8, 2023
8
0
1
16
Hey, variables won't save after restart

Code:
on join:
    if {tokens::%player%::amount} is not set:
        set {tokens::%player%::amount} to 0
command /token [<text>] [<offline player>] [<number>]:
    trigger:
        if arg-1 is "give":
            if arg-2 is set:
                if arg-3 is set:
                    add arg-3 to {tokens::%arg-2%::amount}
        if arg-1 is "set":
            if arg-2 is set:
                if arg-3 is set:
                    set {tokens::%arg-2%::amount} to arg-3


[19:21:28] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[19:21:29] [main/INFO]: Reloading ResourceManager: Default, bukkit
[19:21:29] [Worker-Main-5/INFO]: Loaded 7 recipes
[19:21:30] [Server thread/INFO]: Starting minecraft server version 1.16.5
[19:21:30] [Server thread/INFO]: Loading properties
[19:21:30] [Server thread/INFO]: This server is running Paper version git-Paper-794 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
[19:21:30] [Server thread/INFO]: Debug logging is disabled
[19:21:30] [Server thread/INFO]: Server Ping Player Sample Count: 12
[19:21:30] [Server thread/INFO]: Using 4 threads for Netty based IO
[19:21:30] [Server thread/INFO]: Default game type: SURVIVAL
[19:21:30] [Server thread/INFO]: Generating keypair
[19:21:30] [Server thread/INFO]: Starting Minecraft server on *:25565
[19:21:30] [Server thread/INFO]: Using default channel type
[19:21:31] [Server thread/WARN]: Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
[19:21:33] [Server thread/WARN]: Legacy plugin skript-placeholders v1.5.2 does not specify an api-version.
[19:21:33] [Server thread/WARN]: [Skript] Loaded class me.clip.placeholderapi.expansion.PlaceholderExpansion from PlaceholderAPI v2.11.3 which is not a depend, softdepend or loadbefore of this plugin.
[19:21:33] [Server thread/INFO]: [LuckPerms] Loading LuckPerms v5.4.98
[19:21:33] [Server thread/INFO]: [Vault] Loading Vault v1.7.3-b131
[19:21:33] [Server thread/INFO]: [PlaceholderAPI] Loading PlaceholderAPI v2.11.3
[19:21:33] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v5.1.0-SNAPSHOT-661
[19:21:34] [Server thread/INFO]: [FastAsyncWorldEdit] Loading FastAsyncWorldEdit v2.7.1-SNAPSHOT-545;50e45f0
[19:21:35] [Server thread/INFO]: Got request to register class com.sk89q.worldedit.bukkit.BukkitServerInterface with WorldEdit [com.sk89q.worldedit.extension.platform.PlatformManager@2f9f81ec]
[19:21:35] [Server thread/INFO]: [Essentials] Loading Essentials v2.21.0-dev+3-6fb500d
[19:21:35] [Server thread/INFO]: [WorldGuard] Loading WorldGuard v7.0.4+2073-014277f
[19:21:35] [Server thread/INFO]: [WGExtender] Loading WGExtender v3.0
[19:21:35] [Server thread/INFO]: [Skript] Loading Skript v2.7.0-beta3
[19:21:35] [Server thread/INFO]: [SkBee] Loading SkBee v1.15.3
[19:21:35] [Server thread/INFO]: [skript-placeholders] Loading skript-placeholders v1.5.2
[19:21:35] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[19:21:35] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.4.98
[19:21:35] [Server thread/INFO]: __
[19:21:35] [Server thread/INFO]: | |__) LuckPerms v5.4.98
[19:21:35] [Server thread/INFO]: |___ | Running on Bukkit - Paper
[19:21:35] [Server thread/INFO]:
[19:21:35] [Server thread/INFO]: [LuckPerms] Loading configuration...
[19:21:35] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[19:21:36] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[19:21:36] [Server thread/INFO]: [LuckPerms] Performing initial data load...
[19:21:36] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 1136ms)
[19:21:36] [Server thread/INFO]: [Vault] Enabling Vault v1.7.3-b131
[19:21:36] [Server thread/WARN]: [Vault] Loaded class com.earth2me.essentials.api.Economy from Essentials v2.21.0-dev+3-6fb500d which is not a depend, softdepend or loadbefore of this plugin.
[19:21:36] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting
[19:21:36] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[19:21:36] [Server thread/INFO]: [Vault] Enabled Version 1.7.3-b131
[19:21:36] [Server thread/INFO]: [LuckPerms] Registered Vault permission & chat hook.
[19:21:36] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.1.0-SNAPSHOT-661
[19:21:36] [Server thread/INFO]: [FastAsyncWorldEdit] Enabling FastAsyncWorldEdit v2.7.1-SNAPSHOT-545;50e45f0
[19:21:36] [Server thread/INFO]: [com.fastasyncworldedit.core.Fawe] LZ4 Compression Binding loaded successfully
[19:21:36] [Server thread/INFO]: [com.fastasyncworldedit.core.Fawe] ZSTD Compression Binding loaded successfully
[19:21:36] [Server thread/WARN]: [com.fastasyncworldedit.bukkit.FaweBukkit] You are running Minecraft 1.16.5. This version has been released over two years ago (January 2021).
[19:21:36] [Server thread/WARN]: [com.fastasyncworldedit.bukkit.FaweBukkit] FastAsyncWorldEdit will stop operating on this version in the near future.
[19:21:36] [Server thread/WARN]: [com.fastasyncworldedit.bukkit.FaweBukkit] Neither Mojang, nor Spigot or other software vendors support this version anymore.Please update your server to a newer version of Minecraft (1.20+) to continue receiving updates and support.
[19:21:36] [Server thread/INFO]: Registering commands with com.sk89q.worldedit.bukkit.BukkitServerInterface
[19:21:36] [Server thread/INFO]: WEPIF: Vault detected! Using Vault for permissions
[19:21:36] [Server thread/INFO]: Using com.sk89q.worldedit.bukkit.adapter.impl.fawe.FAWE_Spigot_v1_16_R3 as the Bukkit adapter
[19:21:37] [Server thread/INFO]: Preparing level "world"
[19:21:37] [Server thread/INFO]: Preparing start region for dimension minecraft:emoji_astonished:verworld
[19:21:37] [Server thread/INFO]: Preparing spawn area: 0%
[19:21:37] [Server thread/INFO]: Time elapsed: 200 ms
[19:21:37] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[19:21:37] [Server thread/INFO]: Time elapsed: 189 ms
[19:21:37] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[19:21:38] [Server thread/INFO]: Time elapsed: 104 ms
[19:21:38] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.11.3
[19:21:38] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[19:21:38] [Server thread/INFO]: [Essentials] Enabling Essentials v2.21.0-dev+3-6fb500d
[19:21:38] [Server thread/INFO]: [Essentials] Attempting to convert old kits in config.yml to new kits.yml
[19:21:38] [Server thread/INFO]: [Essentials] No kits found to migrate.
[19:21:38] [Server thread/INFO]: [Essentials] Starting Essentials ban format conversion
[19:21:38] [Server thread/INFO]: [Essentials] Found 1 files to convert...
[19:21:38] [Server thread/INFO]: [Essentials] Converted 0/1
[19:21:38] [Server thread/INFO]: [Essentials] Ban format update complete.
[19:21:38] [Server thread/INFO]: [Essentials] Attempting to migrate ignore list to UUIDs
[19:21:38] [Server thread/INFO]: [Essentials] Done converting ignore list.
[19:21:38] [Server thread/INFO]: [Essentials] Attempting to migrate legacy userdata keys to Configurate
[19:21:38] [Server thread/INFO]: [Essentials] Done converting legacy userdata keys to Configurate.
[19:21:38] [Server thread/INFO]: [Essentials] Done converting mail list.
[19:21:38] [Server thread/INFO]: [Essentials] #===========================================================================#
[19:21:38] [Server thread/INFO]: [Essentials] EssentialsX will now purge any NPC accounts which were incorrectly created.
[19:21:38] [Server thread/INFO]: [Essentials] Only NPC accounts with the default starting balance will be deleted. If
[19:21:38] [Server thread/INFO]: [Essentials] they turn out to be valid NPC accounts, they will be re-created as needed.
[19:21:38] [Server thread/INFO]: [Essentials] Any files deleted here will be backed up to the
[19:21:38] [Server thread/INFO]: [Essentials] "plugins/Essentials/userdata-npc-backup" folder. If you notice any files
[19:21:38] [Server thread/INFO]: [Essentials] have been purged incorrectly, you should restore it from the backup and
[19:21:38] [Server thread/INFO]: [Essentials] report it to us on GitHub:
[19:21:38] [Server thread/INFO]: [Essentials] https://github.com/EssentialsX/Essentials/issues/new/choose
[19:21:38] [Server thread/INFO]: [Essentials]
[19:21:38] [Server thread/INFO]: [Essentials] NOTE: This is a one-time process and will take several minutes if you have
[19:21:38] [Server thread/INFO]: [Essentials] a lot of userdata files! If you interrupt this process, EssentialsX will
[19:21:38] [Server thread/INFO]: [Essentials] skip the process until you rename or remove the backup folder.
[19:21:38] [Server thread/INFO]: [Essentials] #===========================================================================#
[19:21:38] [Server thread/INFO]: [Essentials] Found ~1 files under "plugins/Essentials/userdata"...
[19:21:38] [Server thread/INFO]: [Essentials] #===========================================================================#
[19:21:38] [Server thread/INFO]: [Essentials] EssentialsX has finished purging NPC accounts.
[19:21:38] [Server thread/INFO]: [Essentials]
[19:21:38] [Server thread/INFO]: [Essentials] Deleted accounts: 0
[19:21:38] [Server thread/INFO]: [Essentials] Total accounts processed: 1
[19:21:38] [Server thread/INFO]: [Essentials]
[19:21:38] [Server thread/INFO]: [Essentials] Purged accounts have been backed up to
[19:21:38] [Server thread/INFO]: [Essentials] "plugins/Essentials/userdata-npc-backup", and can be restored from there
[19:21:38] [Server thread/INFO]: [Essentials] if needed. Please report any files which have been incorrectly deleted
[19:21:38] [Server thread/INFO]: [Essentials] to us on GitHub:
[19:21:38] [Server thread/INFO]: [Essentials] https://github.com/EssentialsX/Essentials/issues/new/choose
[19:21:38] [Server thread/INFO]: [Essentials] #===========================================================================#
[19:21:38] [Server thread/INFO]: [Essentials] Loaded 39094 items from items.json.
[19:21:38] [Server thread/INFO]: [Essentials] Using locale pl_PL
[19:21:38] [Server thread/INFO]: [Essentials] ServerListPingEvent: Spigot iterator API
[19:21:38] [Server thread/INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config.
[19:21:38] [Server thread/INFO]: [Vault] [Economy] Essentials Economy hooked.
[19:21:38] [Server thread/INFO]: [Essentials] Using Vault based permissions (LuckPerms)
[19:21:38] [Server thread/INFO]: [WorldGuard] Enabling WorldGuard v7.0.4+2073-014277f
[19:21:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.AZALEA
[19:21:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeAZALEA is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:21:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.MANGROVE
[19:21:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeMANGROVE is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:21:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.TALL_MANGROVE
[19:21:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeTALL_MANGROVE is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:21:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.CHERRY
[19:21:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeCHERRY is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world) TNT ignition is PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world) Lighters are PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world) Lava fire is PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world) Fire spread is UNRESTRICTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world'
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_nether) TNT ignition is PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_nether) Lighters are PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_nether) Lava fire is PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world_nether'
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_the_end) Lighters are PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_the_end) Lava fire is PERMITTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
[19:21:39] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world_the_end'
[19:21:39] [Server thread/INFO]: [WorldGuard] Loading region data...
[19:21:39] [Server thread/INFO]: [WGExtender] Enabling WGExtender v3.0
[19:21:39] [Server thread/INFO]: [Skript] Enabling Skript v2.7.0-beta3
[19:21:39] [ForkJoinPool.commonPool-worker-1/INFO]: [Skript] You're currently running the latest stable version of Skript.
[19:21:42] [Server thread/INFO]: [Skript] Loaded 126712 aliases in 3019ms
[19:21:43] [Server thread/INFO]: [Skript] ~ created by & © Peter Güttinger aka Njol ~
[19:21:43] [Server thread/INFO]: [SkBee] Enabling SkBee v1.15.3
[19:21:43] [Server thread/INFO]: [SkBee] Loading NBTApi...
[19:21:43] [Server thread/INFO]: [SkBee] [NBTAPI] Found Spigot: v1_16_R3! Trying to find NMS support
[19:21:43] [Server thread/INFO]: [SkBee] [NBTAPI] NMS support 'MC1_16_R3' loaded!
[19:21:43] [Server thread/INFO]: [SkBee] [NBTAPI] Found Gson: class com.google.gson.Gson
[19:21:43] [Server thread/INFO]: [SkBee] Successfully loaded NBTApi!
[19:21:43] [Server thread/INFO]: [SkBee] NBT Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Recipe Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Scoreboard Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Bound Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Text Component Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Pathfinding Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Old Structure Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] - The old system will be removed in the future
[19:21:43] [Server thread/INFO]: [SkBee] - Please use the new structure system (Available on MC 1.17.1+)
[19:21:43] [Server thread/INFO]: [SkBee] Other Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Virtual Furnace Elements disabled via config
[19:21:43] [Server thread/INFO]: [SkBee] It looks like another addon registered 'environment' already.
[19:21:43] [Server thread/INFO]: [SkBee] You may have to use their environment options in SkBee's 'world creator' system.
[19:21:43] [Server thread/INFO]: [SkBee] World Creator Elements successfully loaded
[19:21:43] [Server thread/INFO]: [SkBee] Game Event Elements disabled, only available on MC 1.17+
[19:21:43] [Server thread/INFO]: [SkBee] Successfully enabled v1.15.3 in 0,17 seconds
[19:21:43] [Server thread/INFO]: [skript-placeholders] Enabling skript-placeholders v1.5.2*
[19:21:43] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[19:21:43] [Server thread/INFO]: Running delayed init tasks
[19:21:43] [Craft Scheduler Thread - 0/INFO]: [Essentials] Pobieranie informacji o wersji…
[19:21:43] [Server thread/WARN]: [FastAsyncWorldEdit] Loaded class com.sk89q.worldguard.protection.association.RegionAssociable from WorldGuard v7.0.4+2073-014277f which is not a depend, softdepend or loadbefore of this plugin.
[19:21:43] [Server thread/INFO]: [com.fastasyncworldedit.bukkit.regions.WorldGuardFeature] Plugin 'WorldGuard' found. Using it now.
[19:21:43] [Server thread/INFO]: [com.fastasyncworldedit.bukkit.FaweBukkit] Attempting to use plugin 'WorldGuard'
[19:21:43] [Craft Scheduler Thread - 5/INFO]: [Vault] Checking for Updates ...
[19:21:43] [Server thread/INFO]: [Essentials] Essentials found a compatible payment resolution method: Vault Compatibility Layer (v1.7.3-b131)!
[19:21:43] [Craft Scheduler Thread - 5/INFO]: [Vault] No new version available
[19:21:44] [Server thread/INFO]: [Skript] Line 9: (Menu.sk)
[19:21:44] [Server thread/INFO]: List is missing 'and' or 'or', defaulting to 'and': 0,1,4,7,8,9,17,18,26,27,28,34,35,36,37,38,42,43,44,45,46,47,48,50,51,52,53
[19:21:44] [Server thread/INFO]: Line: set slot 0,1,4,7,8,9,17,18,26,27,28,34,35,36,37,38,42,43,44,45,46,47,48,50,51,52,53 of metadata tag "Menu" of {_p} to (gray stained glass pane) named ""
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] Line 10: (Menu.sk)
[19:21:44] [Server thread/INFO]: List is missing 'and' or 'or', defaulting to 'and': 2,3,5,6,10,13,16,19,25,29,33,39,41,49
[19:21:44] [Server thread/INFO]: Line: set slot 2,3,5,6,10,13,16,19,25,29,33,39,41,49 of metadata tag "Menu" of {_p} to (white stained glass pane) named ""
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] Line 34: (Menu.sk)
[19:21:44] [Server thread/INFO]: List is missing 'and' or 'or', defaulting to 'and': 0,8,36,44
[19:21:44] [Server thread/INFO]: Line: set slot 0,8,36,44 of metadata tag "OG+" of {_p} to (gray stained glass pane) named ""
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] Line 35: (Menu.sk)
[19:21:44] [Server thread/INFO]: List is missing 'and' or 'or', defaulting to 'and': 1,2,3,4,5,6,7,9,17,18,26,27,35,37,38,39,40,41,42,43
[19:21:44] [Server thread/INFO]: Line: set slot 1,2,3,4,5,6,7,9,17,18,26,27,35,37,38,39,40,41,42,43 of metadata tag "OG+" of {_p} to (white stained glass pane) named ""
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] Line 138: (Scoreboard.sk)
[19:21:44] [Server thread/INFO]: an entity cannot be saved, i.e. the contents of the variable {PvPManager::emoji_stuck_out_tongue:layers::%the attacker%::emoji_astonished:pponents::*} will be lost when the server stops.
[19:21:44] [Server thread/INFO]: Line: add victim to {PvPManager::emoji_stuck_out_tongue:layers::%attacker%::emoji_astonished:pponents::*}
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] Line 139: (Scoreboard.sk)
[19:21:44] [Server thread/INFO]: an entity cannot be saved, i.e. the contents of the variable {PvPManager::emoji_stuck_out_tongue:layers::%the attacked entity%::emoji_astonished:pponents::*} will be lost when the server stops.
[19:21:44] [Server thread/INFO]: Line: add attacker to {PvPManager::emoji_stuck_out_tongue:layers::%victim%::emoji_astonished:pponents::*}
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] Line 151: (Scoreboard.sk)
[19:21:44] [Server thread/INFO]: an entity cannot be saved, i.e. the contents of the variable {PvPManager::emoji_stuck_out_tongue:layers::%the attacker%::lastDamage} will be lost when the server stops.
[19:21:44] [Server thread/INFO]: Line: set {PvPManager::emoji_stuck_out_tongue:layers::%attacker%::lastDamage} to victim
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] Line 152: (Scoreboard.sk)
[19:21:44] [Server thread/INFO]: an entity cannot be saved, i.e. the contents of the variable {PvPManager::emoji_stuck_out_tongue:layers::%the attacked entity%::lastDamage} will be lost when the server stops.
[19:21:44] [Server thread/INFO]: Line: set {PvPManager::emoji_stuck_out_tongue:layers::%victim%::lastDamage} to attacker
[19:21:44] [Server thread/INFO]:
[19:21:44] [Server thread/INFO]: [Skript] All scripts loaded without errors.
[19:21:44] [Server thread/INFO]: [Skript] Loaded 3 scripts with a total of 19 structures in 1.05 seconds
[19:21:44] [Server thread/INFO]: [Skript] Finished loading.
[19:21:44] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.4.98 which is not a depend, softdepend or loadbefore of this plugin.
[19:21:44] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms [5.4-R2]
[19:21:44] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.5]
[19:21:44] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: statistic [2.0.1]
[19:21:44] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
[19:21:44] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: vault [1.8.1]
[19:21:44] [Server thread/INFO]: 4 placeholder hook(s) registered!
[19:21:44] [Server thread/INFO]: [Skript] Loading variables...
[19:21:44] [Server thread/INFO]: [Skript] Loaded 0 variables in 0.0 seconds
[19:21:44] [Server thread/INFO]: Done (14.581s)! For help, type "help"
[19:21:44] [Server thread/INFO]: Timings Reset
[19:23:42] [User Authenticator #1/INFO]: UUID of player italooobtw is 78c99a16-2f0c-40c6-a043-c0be1340d45d
[19:23:42] [Server thread/INFO]: italooobtw joined the game
[19:23:43] [Server thread/INFO]: italooobtw[/127.0.0.1:62616] logged in with entity id 385 at ([world]-75.80305799187471, 82.0, 177.8915775063266)
[19:23:44] [Server thread/INFO]: italooobtw issued server command: /token
[19:23:50] [Server thread/INFO]: italooobtw issued server command: /gm 1

# __________________________________________________________
# / / / /\ \
# \_\___________________________________________________\_\/ /
# / / _____ __ __ / /
# / / / ____\ / / /_/ /\ / /
# / / / /__ / /___ ___ __ ______ __/ /_ / /
# / / \___ \ / __/ / __\ / / / __ //_ __/ / /
# / / ____/ / / /\ \ / / / / / /_/ / / / / /
# / / \_____/ /_/ /_/ /_/ /_/ / ____/ /_/ / /__
# / / ========================== / / ========== / / \ \
# | | /_/ | | | |
# \_\_________________________________________________\_\_/_/
#
# == Introduction ==
# This file contains Skript's general options. To write scripts, create a new .sk file in the scripts folder or edit any existing one.
#
# Script files prefixed with a hyphen (-) will not be loaded, e.g. renaming 'plant with hoe.sk' to '-plant with hoe.sk' will disable the whole file.
# This can e.g. be used to temporarily disable scripts and is also used for Skript's example scripts.
# You can also use the command '/skript enable/disable <script>' to enable/disable a script which will automatically rename it.
#
# === !!! PLEASE NOTE !!! ===
# This file, all scripts and other files ending in .sk are NOT .yml/YAML files, but very similar!
# Please remember the following when editing files:
# - To indent sections you can use spaces like in YAML, but tabs are also allowed. Just remember to stick to the one or the other for a section/trigger.
# - '#' starts a comment like in YAML. If you don't want it to start a comment simply double it: '##' (You also have to double these in "quoted text")
# - If you use special characters (§, äöü, éèàôç, ñ, etc.) you have to encode the file in UTF-8.
#


# ==== General Options ====
language: english
# Which language to use. Currently English, German, Korean, French, Polish, Japanese and Simplified Chinese
# are included in the download, but custom languages can be created as well. Use the name in lowercase and no spaces as the value.
# Please note that not everything can be translated yet, i.e. parts of Skript will still be english if you use another language.
# If you want to translate Skript to your language please read the readme.txt located in the /lang/ folder in the jar
# (open the jar as zip or rename it to Skript.zip to access it)
check for new version: true
# Whether Skript should check for whether a new version of Skript is available when the server starts.
# If this is set to true Skript will announce a new version to all players with the "skript.admin" permission.
# If set to false you can still check for a new version with '/skript update check'.
# Please note that Skript will not detect beta releases even if you are running one as they are not necessarily stable.
update check interval: 12 hours
# If 'check for new version' is enabled, this sets how often to check for a new update.
# A first check will always be made when the server starts, after that checks will be made in intervals set by this option.
# Set this to 0 to disable repeated checks, in which case only one check will be made when the server starts.
# Please note that this option is currently the only means of making Skript check for an update more than once,
# as '/skript update check' does only display the results of the last check if a check has been made before.
release channel: beta
# If 'check for new version' is enabled, this determines how stable the updates must be.
# 'stable' means that only stable releases of Skript will be considered updates.
# 'beta' and 'alpha' mean that also development releases will be checked for.
# Initial value of this depends on the Skript version you first installed; it was 'beta'.
enable effect commands: false
effect command token: !
# If 'enable effect commands' is set to true, chat messages starting with the 'effect command token' will be interpreted as effects and executed.
# The token can be longer than a single character, but it should not start with '/' as that starts a command.
# A player needs the permission "skript.effectcommands" to use such commands,
# which does not default to OPs since these commands can do severe damage to the world or crash the server (see below).
# Some example commands which can be used if this setting is enabled:
# !heal player - heals the player (doesn't do anything if used from the console)
# !repair tool - repairs the currently held item
# !broadcast "<red>Please read the rules!" - if you want to get rid of the quotes you have to define a custom command
# !set time to 6:00 - sets the time in the current world
# The command can also be abused, so only give the permission to trusted players, like owners & co-owners:
# !set player's balance to 999999999 - when a compatible economy plugin is installed, this will give the command sender as much money as desired
# !create explosion of force 10000 - likely crashes the server or at least hangs it up for a long time
# !ban all players - as the effect implies
allow ops to use effect commands: false
# Whether server operators which do not have the permission "skript.effectcommands" should have access to effect commands.
# This setting is mainly useful for servers that do not run any permissions plugin.
player variable fix: true
# Whether to enable the player variable fix if a player has rejoined and was reciding inside a variable.
# Player objects inside a variable(list or normal) are not updated to the new player object
# A server creates whenever a player rejoins.
# Basically the variable holds the old player object when a player has rejoined thus rendering the variable kinda broken.
# This fix should work around that and whenever a invalid(old) player object is attempted to be get through a variable
# It will check if the player is online and then get the valid(new) player object and update the variable object to that one.
use player UUIDs in variable names: false
# Whether to use a player's UUID instead of their name in variables, e.g. {home::%player%} will look like
# {home::e5240337-a4a2-39dd-8ed9-e5ce729a8522} instead of {home::njol}.
# Please note that if this setting is changed old variables WILL NOT be renamed automatically.

date format: default
# The date format to be used when dates should be displayed.
# This can be 'default' to use Java's default date format for the system's language.
# The format is that of Java's SimpleDateFormat as defined here: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
# some examples:
# d/M/yyyy h:mm a => 15/7/2012 8:53 PM
# dd.MM.yyyy, HH:mm => 16.03.2013, 09:33

verbosity: normal
# Determines how much info is logged.
# Allowed values: low, normal, high, very high, debug
# The highest you should go is very high, which prints quite a lot of useful information,
# including how much time each trigger takes to execute.
# Only use debug if you're programming an add-on for Skript, but even then you might usually not need it.

plugin priority: high
# Allowed values: lowest, low, normal, high, highest
# Change this if you encounter problems with other plugins, e.g.:
# - cancelled events: The event is cancelled by another plugin, but Skript handles the event nonetheless => increase priority
# (e.g. WorldGuard cancels events if a player doesn't have permission for the given region,
# and you made some 'place' triggers which should not bypass WorldGuard's protection)
# - effects '(un)cancel event': Another plugin should/should not process the event, but does/does not => decrease priority
# - effect 'drop': Another plugin doesn't process added drops => decrease priority
# - effects 'remove ... from drops'/'clear drops': Drops added by other plugins are not removed => increase priority
# Skript removes drops it shouldn't => decrease priority or specify which item types to remove

log player commands: false
# Whether Skript should log the usage of custom commands.
# They will be logged as [INFORMATION] in this format: '<player>: /<command> <arguments>'

number accuracy: 2
# How many digits should be displayed after the dot at maximum when displaying numbers.
# Zeroes will never be displayed at all, so this setting only applies to numbers that actually have a decimal part with one or more non-zero digits.
# Money bypasses this setting and is displayed as configured in your economy plugin if you have one.

maximum target block distance: 100
# How far to search for a player's targeted block in blocks/meters.
# Lower values improve performance, but might reduce the usability of your scripts.
# This value is limited by the server (e.g. by 'view-distance' in the server.properties), but is guaranteed to work up to 100 meters.

case sensitive: false
# Whether Skript's functions should be case sensitive or not.
# This e.g. applies to the effect 'replace' and the conditions 'contains' and 'is/is not'.
# Variable names are case-insensitive irrespective of this setting.
disable variable will not be saved warnings: false
# Disables the "... i.e contents cannot be saved ..." warning when reloading and something in your scripts sets a variable(non local) to a value that is not serializable.
# By Mirre.
disable variable missing and/or warnings: false
# Disables the "List is missing 'and' or 'or', defaulting to 'and'" warning when reloading your script.
disable starting a variable's name with an expression warnings: false
# Disables the "Starting a variable's name with an expression is discouraged..." warnings
soft api exceptions: false
# Allows Skript to ignore certain actions which would normally result in thrown exceptions.
# If everything works correctly, you should keep this option disabled. It might cause problems in some cases.
# However, if Skript or addons of it are not working correctly, this might help.
# You may also get told to enable this by Skript or addon developers - then do so.
enable timings: false
# When enabled, triggers in scripts will be present in timings reports.
# Note that this requires Paper (https://paper.readthedocs.io/en/paper-1.11/) to work; on Bukkit/Spigot this option has no effect.
# When false, timings are not enabled for scripts even if you're running Paper.
parse links in chat messages: disabled
# Controls how Skript will try to parse links in chat messages.
# If 'disabled' or 'false', no links will be automatically parsed.
# When 'strict', everything starting with http(s):// will be parsed as link.
# When 'lenient', everything that contains a dot will be interpreted as a link.
color codes reset formatting: true
# With old Minecraft chat protocol, color codes used to reset formatting of text.
# With JSON-based new chat protocol, this is not necessary, but can be done
# manually for compatibility. This is done by default for compatibility.
keep command last usage dates: false
# When a cooldown is set on a command, the last usage date is kept in memory (or in a variable if cooldown storage is specified),
# but when the player uses the command again after the cooldown period is over, the last usage will be deleted as it's no longer needed,
# If you need to use the expression 'last usage date', then you'll want to enable this.
script loader thread size: 0
# Enables asynchronous script loading, which will load scripts in the background instead of blocking the server to load scripts.
# Setting this to a value of 0 or lower will disabled asynchronous loading, and all scripts will be loaded on the main server thread.
# Setting this to a value of 1 will enabled asynchronous loading, which won't block the main server.
# Setting this to a value of 2 or higher will enable parallel loading as well as asynchronous loading,
# which will distribute the loading of scripts over multiple threads. This could cause issues if your scripts depend on
# their loading order (function definitions are always loaded in advance, so they won't be affected).
# You may also set this option to 'processor count' (without apostrophes) to use the number of available processors.
# Do note that though, this option may cause issues with addons and possibly some scripts! Do NOT enable this option unless you have really long
# script load times AND you take the risk of lost data and full responsibility!
disable hooks:
vault: false
regions:
grief prevention: false
precious stones: false
residence: false
worldguard: false
# Controls whether Skript should attempt to hook into the plugins listed above.
# If you change a setting here while the server is running, a restart is required for that change to take effect.
# Do note that some addons may stop Skript from hooking into a plugin, even if the plugin's hook is not disabled here.
player name regex pattern: [a-zA-Z0-9_]{1,16}
# A regex pattern that is used to match player names.
# This can be used if you are using Geyser, where some usernames are prefixed by a certain character.
long parse time warning threshold: 0 seconds
# This setting determines how long a statement can take to parse before Skript produces a warning
# stating that the statement has taken a long time to parse.
# A value of 0 seconds means that this warning should be disabled.
# ==== Variables ====
databases:
# Databases to store variables in. These can either be used as a simple one-server-storage
# where variables are written constantly but only read at server start,
# or as a connection between multiple servers by monitoring the database(s) for changes.
#
# You can define as many databases as you want, just make sure to choose a distinct name for each one, and don't forget to set all options correctly.
#
# To be able to use a database you'll need to download the plugin 'SQLibrary' from https://dev.bukkit.org/projects/sqlibrary/files
# and install it in your server's plugin directory like other plugins.
#
# Please note that '/skript reload' will not reload this section, i.e. you'll have to restart Skript for changes to take effect.
# Each database definition must be in a separate section. You can choose any name for the sections, as long as it's not already used.
database 1:
# An example database to describe all possible options.
type: disabled
# The type of this database. Allowed values are 'CSV', 'SQLite', 'MySQL' and 'disabled'.
# CSV uses a text file to store the variables, while SQLite and MySQL use databases, and 'disabled' makes Skript ignore the database as if it wasn't defined at all.
pattern: .*
# Defines which variables to save in this database.
# This pattern uses Regex syntax, e.g. use 'db_.*' (without the quotes) to store all variables prefixed with 'db_' in this database,
# or use '.*' (the default value) to store all variables here (recommended for the last database in this list, as otherwise some variables might not be saved).
# Please note that variables are only stored in one database, and databases are checked from top to bottom,
# e.g. if a variable matches the topmost database's pattern it will be saved there and nowhere else.
# BTW: Patterns are checked in a separate thread, i.e. your server likely won't run slower when using complicated patterns.
monitor changes: false
monitor interval: 20 seconds
# If 'monitor changes' is set to true, variables will repeatedly be checked for updates in the database (in intervals set in 'monitor interval').
# ! Please note that you should set 'pattern', 'monitor changes' and 'monitor interval' to the same values on all servers that access the same database!
# == MySQL configuration ==
host: localhost # Where the database server is located at, e.g. 'example.com', 'localhost', or '192.168.1.100'
port: 3306 # 3306 is MySQL's default port, i.e. you likely won't need to change this value
user: root
password: pass
database: skript # The database to use, the table will be created in this database.
table: variables21 # The name of the table to create. 'variables21' is the default name, if this was to be omitted.
# (If the table exists but is defined differently that how Skript expects it to be you'll get errors and no variables will be saved and/or loaded)
# == SQLite/CSV configuration ==
file: ./plugins/Skript/variables.db
# Where to save the variables to. For a CSV file, the file extension '.csv' is recommended, but not required, but SQLite database files must end in '.db' (SQLibrary forces this).
# The file path can either be absolute (e.g. 'C:\whatever\...' [Windows] or '/usr/whatever/...' [Unix]), or relative to the server directory (e.g. './plugins/Skript/...').
#table: variables21
# The name of the table to create. 'variables21' is the default name, if this was to be omitted.
# (If the table exists but is defined differently that how Skript expects it to be you'll get errors and no variables will be saved and/or loaded)
# This is generally not required as the the .db file will only be used by Skript, unless you want to split different variables into different tables
backup interval: 2 hours
# Creates a backup of the file every so often. This can be useful if you ever want to revert variables to an older state.
# Variables are saved constantly no matter what is set here, thus a server crash will never make you loose any variables.
# Set this to 0 to disable this feature.

MySQL example:
# A MySQL database example, with options unrelated to MySQL removed.
type: disabled # change to line below to enable this database
# type: MySQL
pattern: synced_.* # this pattern will save all variables that start with 'synced_' in this MySQL database.
host: localhost
port: 3306
user: root
password: pass
database: skript
table: variables21
monitor changes: true
monitor interval: 20 seconds
SQLite example:
# An SQLite database example.
type: disabled # change to line below to enable this database
# type: SQLite
pattern: db_.* # this pattern will save all variables that start with 'db_' in this SQLite database.
file: ./plugins/Skript/variables.db
# SQLite databases must end in '.db'
#table: variables21
# Usually not required, if omitted defaults to variables21 (see above for more details)
backup interval: 0 # 0 = don't create backups
monitor changes: false
monitor interval: 20 seconds
default:
# The default "database" is a simple text file, with each variable on a separate line and the variable's name, type, and value separated by commas.
# This is the last database in this list to catch all variables that have not been saved anywhere else.
# You can modify this database freely, but make sure to know what you're doing if you don't want to loose any variables.
type: CSV
pattern: .*
file: ./plugins/Skript/variables.csv
backup interval: 2 hours
# PS: If you don't want some variables to be saved in any database (e.g. variables that contain an %entity% which usually despawn when the server is shut down)
# you can modify the last database's pattern to not match all variables, e.g. use '(?!x_).*' to match all variables that don't start with 'x_'.
# Be very cautious when doing this however as unsaved variables cannot be recovered after the server has been stopped.
# I recommend to use a single character to denote unsaved variables (similar to local variables' '_'), e.g. '-', in which case the last database's pattern should be '(?!-).*'.


# ==== Settings that should not be changed ====
version: 2.7.0-beta3
# DO NOT CHANGE THIS VALUE MANUALLY!
# This saves for which version of Skript this configuration was written for.
# If it does not match the version of the .jar file then the config will be updated automatically.

help please, variables is a common thing i use in scripts and now because of this i can barely make scripts.
 
I recommend not using the beta version of Skript. The warning on the changelog states there may be guys.
I recommend using the latest stable release, which is Skript 2.6.4
 
I installed Skript 2.6.4, and fixed all warnings, but still nothing gets saved to variables.csv

[19:44:29] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[19:44:29] [main/INFO]: Reloading ResourceManager: Default, bukkit
[19:44:29] [Worker-Main-5/INFO]: Loaded 7 recipes
[19:44:30] [Server thread/INFO]: Starting minecraft server version 1.16.5
[19:44:30] [Server thread/INFO]: Loading properties
[19:44:30] [Server thread/INFO]: This server is running Paper version git-Paper-794 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
[19:44:31] [Server thread/INFO]: Debug logging is disabled
[19:44:31] [Server thread/INFO]: Server Ping Player Sample Count: 12
[19:44:31] [Server thread/INFO]: Using 4 threads for Netty based IO
[19:44:31] [Server thread/INFO]: Default game type: SURVIVAL
[19:44:31] [Server thread/INFO]: Generating keypair
[19:44:31] [Server thread/INFO]: Starting Minecraft server on *:25565
[19:44:31] [Server thread/INFO]: Using default channel type
[19:44:31] [Server thread/WARN]: Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
[19:44:34] [Server thread/WARN]: Legacy plugin skript-placeholders v1.5.2 does not specify an api-version.
[19:44:34] [Server thread/WARN]: [Skript] Loaded class me.clip.placeholderapi.expansion.PlaceholderExpansion from PlaceholderAPI v2.11.3 which is not a depend, softdepend or loadbefore of this plugin.
[19:44:34] [Server thread/INFO]: [LuckPerms] Loading LuckPerms v5.4.98
[19:44:34] [Server thread/INFO]: [Vault] Loading Vault v1.7.3-b131
[19:44:34] [Server thread/INFO]: [PlaceholderAPI] Loading PlaceholderAPI v2.11.3
[19:44:34] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v5.1.0-SNAPSHOT-661
[19:44:35] [Server thread/INFO]: [FastAsyncWorldEdit] Loading FastAsyncWorldEdit v2.7.1-SNAPSHOT-545;50e45f0
[19:44:35] [Server thread/INFO]: Got request to register class com.sk89q.worldedit.bukkit.BukkitServerInterface with WorldEdit [com.sk89q.worldedit.extension.platform.PlatformManager@31ce22ac]
[19:44:35] [Server thread/INFO]: [Essentials] Loading Essentials v2.21.0-dev+3-6fb500d
[19:44:35] [Server thread/INFO]: [WorldGuard] Loading WorldGuard v7.0.4+2073-014277f
[19:44:35] [Server thread/INFO]: [WGExtender] Loading WGExtender v3.0
[19:44:35] [Server thread/INFO]: [Skript] Loading Skript v2.6.4
[19:44:35] [Server thread/INFO]: [SkBee] Loading SkBee v1.15.3
[19:44:35] [Server thread/INFO]: [skript-placeholders] Loading skript-placeholders v1.5.2
[19:44:35] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[19:44:35] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.4.98
[19:44:36] [Server thread/INFO]: __
[19:44:36] [Server thread/INFO]: | |__) LuckPerms v5.4.98
[19:44:36] [Server thread/INFO]: |___ | Running on Bukkit - Paper
[19:44:36] [Server thread/INFO]:
[19:44:36] [Server thread/INFO]: [LuckPerms] Loading configuration...
[19:44:36] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[19:44:36] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[19:44:36] [Server thread/INFO]: [LuckPerms] Performing initial data load...
[19:44:37] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 1028ms)
[19:44:37] [Server thread/INFO]: [Vault] Enabling Vault v1.7.3-b131
[19:44:37] [Server thread/WARN]: [Vault] Loaded class com.earth2me.essentials.api.Economy from Essentials v2.21.0-dev+3-6fb500d which is not a depend, softdepend or loadbefore of this plugin.
[19:44:37] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting
[19:44:37] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[19:44:37] [Server thread/INFO]: [Vault] Enabled Version 1.7.3-b131
[19:44:37] [Server thread/INFO]: [LuckPerms] Registered Vault permission & chat hook.
[19:44:37] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.1.0-SNAPSHOT-661
[19:44:37] [Server thread/INFO]: [FastAsyncWorldEdit] Enabling FastAsyncWorldEdit v2.7.1-SNAPSHOT-545;50e45f0
[19:44:37] [Server thread/INFO]: [com.fastasyncworldedit.core.Fawe] LZ4 Compression Binding loaded successfully
[19:44:37] [Server thread/INFO]: [com.fastasyncworldedit.core.Fawe] ZSTD Compression Binding loaded successfully
[19:44:37] [Server thread/WARN]: [com.fastasyncworldedit.bukkit.FaweBukkit] You are running Minecraft 1.16.5. This version has been released over two years ago (January 2021).
[19:44:37] [Server thread/WARN]: [com.fastasyncworldedit.bukkit.FaweBukkit] FastAsyncWorldEdit will stop operating on this version in the near future.
[19:44:37] [Server thread/WARN]: [com.fastasyncworldedit.bukkit.FaweBukkit] Neither Mojang, nor Spigot or other software vendors support this version anymore.Please update your server to a newer version of Minecraft (1.20+) to continue receiving updates and support.
[19:44:37] [Server thread/INFO]: Registering commands with com.sk89q.worldedit.bukkit.BukkitServerInterface
[19:44:37] [Server thread/INFO]: WEPIF: Vault detected! Using Vault for permissions
[19:44:37] [Server thread/INFO]: Using com.sk89q.worldedit.bukkit.adapter.impl.fawe.FAWE_Spigot_v1_16_R3 as the Bukkit adapter
[19:44:37] [Server thread/INFO]: Preparing level "world"
[19:44:38] [Server thread/INFO]: Preparing start region for dimension minecraft:emoji_astonished:verworld
[19:44:38] [Server thread/INFO]: Preparing spawn area: 0%
[19:44:38] [Server thread/INFO]: Time elapsed: 303 ms
[19:44:38] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[19:44:38] [Server thread/INFO]: Preparing spawn area: 0%
[19:44:38] [Server thread/INFO]: Time elapsed: 294 ms
[19:44:38] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[19:44:38] [Server thread/INFO]: Preparing spawn area: 0%
[19:44:39] [Server thread/INFO]: Time elapsed: 321 ms
[19:44:39] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.11.3
[19:44:39] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[19:44:39] [Server thread/INFO]: [Essentials] Enabling Essentials v2.21.0-dev+3-6fb500d
[19:44:39] [Server thread/INFO]: [Essentials] Attempting to convert old kits in config.yml to new kits.yml
[19:44:39] [Server thread/INFO]: [Essentials] No kits found to migrate.
[19:44:39] [Server thread/INFO]: [Essentials] Loaded 39094 items from items.json.
[19:44:39] [Server thread/INFO]: [Essentials] Using locale pl_PL
[19:44:39] [Server thread/INFO]: [Essentials] ServerListPingEvent: Spigot iterator API
[19:44:39] [Server thread/INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config.
[19:44:39] [Server thread/INFO]: [Vault] [Economy] Essentials Economy hooked.
[19:44:39] [Server thread/INFO]: [Essentials] Using Vault based permissions (LuckPerms)
[19:44:39] [Server thread/INFO]: [WorldGuard] Enabling WorldGuard v7.0.4+2073-014277f
[19:44:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.AZALEA
[19:44:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeAZALEA is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:44:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.MANGROVE
[19:44:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeMANGROVE is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:44:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.TALL_MANGROVE
[19:44:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeTALL_MANGROVE is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:44:39] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.CHERRY
[19:44:39] [Server thread/INFO]: The above message is displayed because your FAWE version is newer than git-Paper-794 (MC: 1.16.5) and contains features of future minecraft versions which do not exist in git-Paper-794 (MC: 1.16.5) hence the tree typeCHERRY is not available. This is not an error. This version will work on your version of Minecraft.This is an informative message only.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world) TNT ignition is PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world) Lighters are PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world) Lava fire is PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world) Fire spread is UNRESTRICTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world'
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_nether) TNT ignition is PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_nether) Lighters are PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_nether) Lava fire is PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world_nether'
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_the_end) Lighters are PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_the_end) Lava fire is PERMITTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
[19:44:39] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world_the_end'
[19:44:39] [Server thread/INFO]: [WorldGuard] Loading region data...
[19:44:39] [Server thread/INFO]: [WGExtender] Enabling WGExtender v3.0
[19:44:39] [Server thread/INFO]: [Skript] Enabling Skript v2.6.4
[19:44:40] [ForkJoinPool.commonPool-worker-1/INFO]: [Skript] You're currently running the latest stable version of Skript.
[19:44:44] [Server thread/INFO]: [Skript] Loaded 129370 aliases in 3920ms
[19:44:44] [Server thread/INFO]: [Skript] ~ created by & © Peter Güttinger aka Njol ~
[19:44:44] [Server thread/INFO]: [SkBee] Enabling SkBee v1.15.3
[19:44:44] [Server thread/INFO]: [SkBee] Loading NBTApi...
[19:44:44] [Server thread/INFO]: [SkBee] [NBTAPI] Found Spigot: v1_16_R3! Trying to find NMS support
[19:44:44] [Server thread/INFO]: [SkBee] [NBTAPI] NMS support 'MC1_16_R3' loaded!
[19:44:44] [Server thread/INFO]: [SkBee] [NBTAPI] Found Gson: class com.google.gson.Gson
[19:44:44] [Server thread/INFO]: [SkBee] Successfully loaded NBTApi!
[19:44:44] [Server thread/INFO]: [SkBee] NBT Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Recipe Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Scoreboard Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Bound Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Text Component Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Pathfinding Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Old Structure Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] - The old system will be removed in the future
[19:44:44] [Server thread/INFO]: [SkBee] - Please use the new structure system (Available on MC 1.17.1+)
[19:44:44] [Server thread/INFO]: [SkBee] Other Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Virtual Furnace Elements disabled via config
[19:44:44] [Server thread/INFO]: [SkBee] World Creator Elements successfully loaded
[19:44:44] [Server thread/INFO]: [SkBee] Game Event Elements disabled, only available on MC 1.17+
[19:44:44] [Server thread/INFO]: [SkBee] Successfully enabled v1.15.3 in 0,13 seconds
[19:44:44] [Server thread/INFO]: [skript-placeholders] Enabling skript-placeholders v1.5.2*
[19:44:44] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[19:44:44] [Server thread/INFO]: Running delayed init tasks
[19:44:44] [Craft Scheduler Thread - 1/INFO]: [Essentials] Pobieranie informacji o wersji…
[19:44:44] [Server thread/WARN]: [FastAsyncWorldEdit] Loaded class com.sk89q.worldguard.protection.association.RegionAssociable from WorldGuard v7.0.4+2073-014277f which is not a depend, softdepend or loadbefore of this plugin.
[19:44:44] [Server thread/INFO]: [com.fastasyncworldedit.bukkit.regions.WorldGuardFeature] Plugin 'WorldGuard' found. Using it now.
[19:44:44] [Server thread/INFO]: [com.fastasyncworldedit.bukkit.FaweBukkit] Attempting to use plugin 'WorldGuard'
[19:44:44] [Server thread/INFO]: [Essentials] Essentials found a compatible payment resolution method: Vault Compatibility Layer (v1.7.3-b131)!
[19:44:44] [Server thread/INFO]: [Skript] Loading variables...
[19:44:44] [Server thread/INFO]: [Skript] Loaded 0 variables in 0.0 seconds
[19:44:45] [Server thread/INFO]: [Skript] All scripts loaded without errors.
[19:44:45] [Server thread/INFO]: [Skript] Loaded 3 scripts with a total of 8 triggers and 5 commands in 1.17 seconds
[19:44:45] [Server thread/INFO]: [Skript] Finished loading.
[19:44:45] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.4.98 which is not a depend, softdepend or loadbefore of this plugin.
[19:44:45] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms [5.4-R2]
[19:44:45] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.5]
[19:44:45] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: statistic [2.0.1]
[19:44:45] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
[19:44:45] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: vault [1.8.1]
[19:44:45] [Server thread/INFO]: 4 placeholder hook(s) registered!
[19:44:45] [Server thread/INFO]: Done (15.049s)! For help, type "help"
[19:44:45] [Server thread/INFO]: Timings Reset
[19:44:46] [Craft Scheduler Thread - 3/INFO]: [Vault] Checking for Updates ...
[19:44:46] [Craft Scheduler Thread - 3/INFO]: [Vault] No new version available
[19:46:51] [User Authenticator #1/INFO]: UUID of player italooobtw is 78c99a16-2f0c-40c6-a043-c0be1340d45d
[19:46:52] [Server thread/INFO]: italooobtw joined the game
[19:46:52] [Server thread/INFO]: italooobtw[/127.0.0.1:63365] logged in with entity id 352 at ([world]-124.81245936761289, 71.0, 124.51102949633824)
 
How to do it?
He or she did something like this. it saves the variables and you can see anyone's token amount. tho its optional to put a permission to /checktokens if you want. This one also has tab compleations to make it easier for use.


Code:
on join:
    if {tokens::%player's uuid%::amount} is not set:
        set {tokens::%player's uuid%::amount} to 0



command /token [<text>] [<offline player>] [<number>]:
    trigger:
        if arg-1 is "give":
            if arg-2 is set:
                if arg-3 is set:
                    add arg-3 to {tokens::%arg-2's uuid%::amount}
                    send "&8[&3&lTOKENS&8] &b%arg-3% &ftokens has been sent to &a%arg-2% &fsuccessfully!" to player

        if arg-1 is "set":
            if arg-2 is set:
                if arg-3 is set:
                    set {tokens::%arg-2's uuid%::amount} to arg-3
                    send "&8[&3&lTOKENS&8] &a%arg-2%'s &ftokens has been set to &b%arg-3%" to player



command /checktokens <offlineplayer>:
    trigger:
        send "&8[&3&lTOKENS&8] &a%arg-1% &fhas &b%{tokens::%arg-1's uuid%::amount}% &ftokens" to player



on tab complete of "/token":
    set tab completions for position 1 to "give" and "set"
    #set tab completions for position 2 to "<player>" #@this-is-optional 
    set tab completions for position 3 to "<number>", "1", "10", "100", "10000" and "100000"
 
Last edited: