Skript

Skript

743k Downloads

skript being weard on 1.21 wont load all skripts on launch

theuwufurry opened this issue ยท 7 comments

commented

Skript/Server Version

[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript] Server Version: 1.21-2247-39617d5 (MC: 1.21)
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript Version: 2.9.0-pre1 (skriptlang-github)
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript] Installed Skript Addons: 
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript]  - skript-reflect v2.4-for-2.9-beta (https://github.com/SkriptLang/skript-reflect)
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript]  - SkBee v3.5.6 (https://github.com/ShaneBeee/SkBee)
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript]  - SkBriggy v1.3.2
[01:55:08] [Render thread/INFO]: [System] [CHAT] [Skript] Installed dependencies: None
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript] Server Version: 1.21-2247-39617d5 (MC: 1.21)
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript] Skript Version: 2.9.0-pre1 (skriptlang-github)
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript] Installed Skript Addons: 
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript]  - skript-reflect v2.4-for-2.9-beta (https://github.com/SkriptLang/skript-reflect)
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript]  - SkBee v3.5.6 (https://github.com/ShaneBeee/SkBee)
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript]  - SkBriggy v1.3.2
[01:56:08] [Render thread/INFO]: [System] [CHAT] [Skript] Installed dependencies: None

Bug Description

skript being weard on 1.21 wont load all skripts at launch i need to reload all the skripts

Expected Behavior

skript to reload all the skripts on launch

Steps to Reproduce

i do not know

Errors or Screenshots

here are the logs
latest.log

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

Can you send your life steal enchantment script?

commented

I did a test, and yep, this is an issue. Ill work on a fix.

commented

the pr fixed it ty

commented

the pr fixed it ty

You're welcome

commented

on load:
set {lifesteal_enchant} to enchantment from key "theuwufurry:life_steal"

on damage of a entity:
set {_lvl} to enchantment level of {lifesteal_enchant} of attacker's tool
set {_damage} to final damage
if {_lvl} > 0:
set {_heal} to {_lvl} * 0.1 * {_damage}
heal attacker by {_heal}

commented

Based on the error, it looks like you saved some custom enchantments.
But when your server started up you are missing the data pack and/or having issues loading your data pack

I see this at the top

[01:03:59] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:treasure as it is missing following references: draft:spite_of_the_sea (from file/enchant test)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:double_trade_price as it is missing following references: #minecraft:treasure (from vanilla)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:non_treasure as it is missing following references: draft:bacon_slicer (from file/enchant test), draft:explosive_burst (from file/enchant test), draft:turbulence (from file/enchant test), draft:light_shield (from file/enchant test), draft:focus (from file/enchant test), draft:gravity (from file/enchant test)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:tradeable as it is missing following references: #minecraft:non_treasure (from vanilla)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:on_traded_equipment as it is missing following references: #minecraft:non_treasure (from vanilla)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:on_random_loot as it is missing following references: #minecraft:non_treasure (from vanilla)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:exclusive_set/damage as it is missing following references: draft:turbulence (from file/enchant test), draft:bacon_slicer (from file/enchant test), draft:shadow_strike (from file/enchant test)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:on_mob_spawn_equipment as it is missing following references: #minecraft:non_treasure (from vanilla)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:exclusive_set/armor as it is missing following references: draft:light_shield (from file/enchant test)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:in_enchanting_table as it is missing following references: #minecraft:non_treasure (from vanilla)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag minecraft:curse as it is missing following references: draft:spite_of_the_sea (from file/enchant test)
[01:04:00] [Worker-Main-2/ERROR]: Couldn't load tag draft:exclusive_set/multishot_addons as it is missing following references: draft:focus (from file/enchant test)
commented

thats the enchants i removed from a datapack i forgot to remove the tags lol