So im making a backpack skript and its hard to explain so just look at the skript. I know its telling me i need to use options to define the meta but idk what to type. hope someone can help.
- Script Version (do not put latest): 2.5.3
- Script Author: bensku
- Minecraft Version: 1.16.4
- Full Code:
-
Code:
options: on right click: player is holding 1 of chest named "&7&lBackPack" with lore "&7Store ur items": set metadata tag "{@meta}" of player to chest inventory with 1 rows named "&7BackPack I" set slot 9 of metadata tag "{@meta}" of player to sea lantern named "&b&lUpgrade &7your backpack!" with lore "&7Costs &b&l%{backpackupgradecost.%player%}%" open (metadata tag "BanInv2Meta01" of player) to player on drop: player is holding a chest named "&7&lBackPack" with lore "&7Store ur items": cancel event send "&cError: Item cant be dropped." to player
- Errors on Reload:
-
Code:
undefined option {@meta} (Serverbasics.sk, line 4: set metadata tag "{@meta}" of player to chest inventory with 1 rows named "&7BackPack I"') undefined option {@meta} (Serverbasics.sk, line 5: set slot 9 of metadata tag "{@meta}" of player to sea lantern named "&b&lUpgrade &7your backpack!" with lore "&7Costs &b&l%{backpackupgradecost.%player%}%"')
- Console Errors: (if applicable)
- none
- Other Useful Info:
- Addons using (including versions):
- ersatz, skquery, skdragon, tuske, skellet,
- Troubleshooting:
- Have you tried searching the docs? yes
[*]Have you tried searching the Forums? yes
[*]What other methods have you tried to fix it? - none cause i dont know what to type