Code Monkey home page Code Monkey logo

skbee's Introduction

SkBee

SkBee is a Skript addon that aims to add more useful elements to Skript.

Elements

This is only a small list of the many things included

  • NBT elements get/set NBT of items, blocks (tile entities) and entities. (Available for 1.8.8+)
  • ScoreBoards super-duper simple anti-flicker scoreboards (Available on 1.13+)
  • Recipes add custom recipes and remove vanilla recipes (Available on 1.13+)
  • BlockData get/set block data with ease (Available on 1.13+)
  • Structures use vanilla Minecraft's structure system for saving/pasting structures in your world
  • Particles a particle system that is a little more advanced than Skript's, that is more inline with Bukkit's particle system
  • TextComponents a system a little more advanced than Skript's text formatting. You can build text components and manipulate each one separately with things like hover events (including showing an item), click events, and much more.
  • WorldCreator create your own custom worlds with some handly little options
  • Bounds create your own simple bounds similarly to WorldGuard regions
  • GameEvents use Minecraft's GameEvent system, which was created for Skulk Sensors. This system adds more events to the server than were previously available

Wiki

See the Wiki for more detailed info on syntaxes

Docs

SkriptHubViewTheDocs

OpenSource

SkBee is proudly built using JetBrains' IntelliJ IDEA! We here at SkBee proudly support open source development with a big thanks to JetBrains for the open source license.

Outdated

Are you running an outdated version of Minecraft and looking for an outdated build of SkBee that will work on your outdated server? Well look no further, here is a list of outdated builds of SkBee for your outdated server. Keep in mind, these outdated builds for outdated servers are not supported and you will not get support/bug fixes, because they're outdated!

Skript 2.6.4 (and below)

Due to changes in Skript 2.7's API, SkBee 3.0.0+ will only work on Skript 2.7+ If you need SkBee to work on an older version of Skript this is the last version that will work: SkBee 2.18.4 (Just like any other outdated build, this one is no longer supported)

1.18.2

SkBee 3.5.9

1.17.1

SkBee 2.11.0

1.16.5

SkBee 1.15.3

1.15.2

SkBee 1.12.4

1.12.2 (and below)

SkBee 1.10.3

skbee's People

Contributors

d4isdavid avatar dependabot[bot] avatar fusezion avatar honkling avatar jerrytheslime16 avatar mowmowkittycat avatar notsodelayed avatar pikachu920 avatar shanebeee avatar sparky200 avatar thelimeglass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

skbee's Issues

The last spawned entity doesn't work with NBT entity

Hi ShaneBee, as always, thanks for this addon!
Simple and effective, I use NBT regularly but I don't know if this is a bug, but when I spawn an armor stand with NBT, the expression last spawned entity doesn't show the last spawned entity if I spawn it with NBT. I don't know if my English is correct so this is a example :

# Position of player: X: 200, Y: 60, Z: 40
spawn an armor stand at location of player
broadcast "%location of last spawned entity%"
# Output: "X: 200, Y: 60, Z: 40"

# Position of player: X: 20, Y: 30, Z: 400
spawn an armor stand at location of player with nbt "{NoGravity:1b}"
# Output: "X: 200, Y: 60, Z: 40"

I use the latest version, 1.2.0.
image

I think this work if I apply the NBT after spawn, but I want to know if this is normal or not.
Thank you and have a good night (or day ?) !

[Wiki] Wrong docs url

Describe the bug
The docs url in the wiki is:
https://skripthub.net/docs/?addon=SkRecipe
not
https://skripthub.net/docs/?addon=SkBee

[SUGGESTION] add and remove expression support for bound - coordinate expression

Is your feature request related to a problem? Please describe.
I'd like to be able to shift a bound's coordinates a little bit shorter, rather than having to do set lesser x coord of bound {_b} to (lesser x coord of bound {_b} - 1) or set lesser x coord of bound {_b} to (lesser x coord of bound {_b} + 1)

Describe the solution you'd like
It would be nice if the add and remove expressions were supported by the bound coordinate expression allowing you to add and remove numbers from the coordinate

Describe alternatives you've considered
You can currently work around this by setting the coordinate to the sum or difference of the coordinate and a number. This is mostly just an annoyance to have to do.

How to add CanDestroy nbt tag ?

Hi, first sorry for my english!

I have been trying for several hours to add the thing tag to an item via SkBee, but impossible to get there.

The code:

command /cantdestroy:
  trigger:
    add "{CanDestroy:[""minecraft:stone"",""#minecraft:logs""]}" to nbt of player's tool

It return me this:
Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (message-matin.sk, line 35: add "{CanDestroy:[""minecraft:stone"",""#minecraft:logs""]}"to nbt of player's tool')

Do you know why ? Thanks for the support in advance

suggestion Bukkit.removeRecipe(key)

Since 1.15 , bukkitAPI add a method to remove specific recipe via his key, Bukkit.removeRecipe(key). It's maybe more powerfull than loop through all recipes and search the matching key.

also, you use this :
recipeMap.values().forEach(recipes -> recipes.entrySet().removeIf(entry -> entry.getKey().equals(key)))

It's a good 1 line of code but, even if I'm not a java dev, I think that you should add a break and not iterate ALL RECIPES
https://stackoverflow.com/questions/23308193/break-or-return-from-java-8-stream-foreach
it's just a suggestion of optimisation :)

ScoreBoard Not Working

Describe the bug
The scoreboard will not appear in game. I have consulted with the Skript discord and no one can figure it out. Thus it must be a bug. My hunch is that another plugin I have installed on the MineHut server is conflicting with it.

on join:
while player is online:
clear scoreboard of player
#wait 0.5 second
set title of player's scoreboard to "&6&lStoneHut Gaming"
set line 9 of player's scoreboard to "&a&r"
set line 8 of player's scoreboard to "&8User: &f%player%"
set line 7 of player's scoreboard to "&6&l&r-----------------------"
set line 6 of player's scoreboard to "&aBal: %balance of player%"
set line 5 of player's scoreboard to "&6&l-----------------------&r"
set line 4 of player's scoreboard to "&a&r"
set line 3 of player's scoreboard to "&7 stonehut.minehut.gg"
wait 5 seconds

List of Plugins
image

Can't edit the nbt tags of an item in an entity from the 'item spawn' event

I'm using this code in 1.12.2 with Skript 2.4.1, Sk-NBeeT and I'm trying to update it to 1.14.4, 2.5 and SkBee

on item spawn:
    set {_id} to random integer between 0 and 4294967296
    add "{display:{Name:"" ""},HideFlags:63,CanPlaceOn:[%{blocks}%],id:%{_id}%}" to nbt of event-item

set, add and reset do nothing on the event-item's nbt but displaying it is working.
I have no problem with the nbt of the event-entity but I don't know if SkBee has a syntax to edit a tag inside the item tag of the entity without manipulate the content of the item tag and rewrite it completely.

I got no errors, only no effects. Same problem with Skript 2.4.1.

[BUG] Nbt stuffs in local variables are broken when update 1.4.11 to 1.5.0 SkBee

Describe the bug
I'm trying to assign new nbt value to item in local variable but I can't

To Reproduce

  1. Register an item to local variable with nbt {test:"test stuff"}
  2. try to add new value like {test:"new test stuff"}
  3. give this local variable to player

Expected behavior
Should overwrite new value to nbt. Like same as 1.4.11

Version Info:

  • SkBee Version: (ex: 1.0.0) 1.5.0
  • Skript Version: (ex: Skript 2.5-alpha3) Skript 2.5 beta 2
  • Server Version/Platform (ex: Spigot 1.15.2) Paper 1.16.2

Additional context
No issue in 1.4.11 so I will use that for now <3

event doesn't work

So I tried to make a greeting message on enter of bound
on bound enter:
send "You entered %event-bound%!"
I tried to use this code and that doesn't work, but things like bounds at player's location works fine so registering bound works. 1.15.2 spigot git-Paper-126, Skript 2.5-alpha2, newest skBee

Recipes in recipe book

Hello.
I added a new recipe to the server and it was a hoe.
It is made like a simple hoe, only gold ingots are named.
I unlocked it in the recipe book.
When he shows it to me in the recipe book, he shows that I don't have the needed items even if I have them.
I will add that all names match.

[BUG]Console Error

Error:

[19:54:11] [Server thread/INFO]: KatzTatz issued server command: /ec
[19:54:16] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to SkBee v1.3.2
java.lang.NullPointerException: null

This server is running Tuinity version git-Tuinity-"55e85bb" (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
Loading SkBee v1.3.2

Command is an essentials alias, nothing to do with skript

Team Glows Don’t work

Anything to do with team glow colours aren’t working , it’s showing the joining of teams but only showing a white glow . When doing /team list it will show the existing teams as per usual . And will Show that you’ve been added to a team upon joining. But not actually show that team colour when glowing. When I go to use /team remove and try and tab the existing teams, they do not show on a list.

[BUG] player armor change event is outdated on docs or not working properly

Describe the bug
I'm trying to cancel event on player armor change but skript error saying I can't.

Expected behavior
https://skripthub.net/docs/?id=4139
Should use cancel event

Screenshots/Errors
An on armor change event event cannot be cancelled (a_2_Survival_Rules\Survival.sk, line 51: cancel event')

Version Info:

  • SkBee Version: 1.3.3
  • Skript Version: Skript 2.5-alpha3
  • Server Version/Platform Paper 1.15.2 322

Additional context
For test:

on player change armor:
	if event-item is diamond chestplate or diamond leggings:
		cancel event

[BUG] Can't use Sk-NBeeT codes

Describe the bug
All sk-nbeet codes are throwing errors.

To Reproduce
I deleted Sk-NBeeT
I added SkBee with elements.nbt: true value

Expected behavior
Should be no difference :D

Screenshots/Errors

[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[12:53:38] [Server thread/ERROR]: #!#! Could not load a_2_Survival_Rules\disEnchant.sk
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[12:53:38] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[12:53:38] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[12:53:38] [Server thread/ERROR]: #!#! Here is full list of them:
[12:53:38] [Server thread/ERROR]: #!#! skRayFall (https://sk.rayfall.net/) skript-mirror (https://github.com/btk5h/skript-mirror) TuSKe (github.com/Tuke-Nuke/TuSKe) skDragon SkBee skript-yaml SkQuery MundoSK (https://forums.skunity.com/resources/mundosk.69/) skript-placeholders (https://github.com/APickledWalrus/skript-placeholders) SharpSK 
[12:53:38] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[12:53:38] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[12:53:38] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[12:53:38] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[12:53:38] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[12:53:38] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! Stack trace:
[12:53:38] [Server thread/ERROR]: #!#! java.lang.IllegalArgumentException: Event may not be null in non-simple VariableStrings!
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.toString(VariableString.java:455)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.getAll(VariableString.java:731)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.getAll(VariableString.java:1)
[12:53:38] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBTApi.validateNBT(NBTApi.java:29)
[12:53:38] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprItemWithNBT.init(ExprItemWithNBT.java:44)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:252)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:502)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:840)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1569)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1526)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:224)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1006)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1093)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.function.ScriptFunction.<init>(ScriptFunction.java:48)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.function.Functions.loadFunction(Functions.java:153)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:665)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:347)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:380)
[12:53:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.Skript$2.run(Skript.java:534)
[12:53:38] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84)
[12:53:38] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452)
[12:53:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1275)
[12:53:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:467)
[12:53:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1193)
[12:53:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:980)
[12:53:38] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! Version Information:
[12:53:38] [Server thread/ERROR]: #!#!   Skript: 2.4.1
[12:53:38] [Server thread/ERROR]: #!#!     Flavor: skriptlang-github
[12:53:38] [Server thread/ERROR]: #!#!     Date: 2019-12-22
[12:53:38] [Server thread/ERROR]: #!#!   Bukkit: 1.15.2-R0.1-SNAPSHOT
[12:53:38] [Server thread/ERROR]: #!#!   Minecraft: 1.15.2
[12:53:38] [Server thread/ERROR]: #!#!   Java: 1.8.0_241 (Java HotSpot(TM) 64-Bit Server VM 25.241-b07)
[12:53:38] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! Server platform: Paper
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! Current node: give an enchanted book with nbt "{StoredEnchantments:[{lvl:%{_book::2}%s,id:""minecraft:%{_book::1}%""}]}" to {_p} (a_2_Survival_Rules\disEnchant.sk, line 96)
[12:53:38] [Server thread/ERROR]: #!#! Current item: null
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! Thread: Server thread
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! Language: english
[12:53:38] [Server thread/ERROR]: #!#! Link parse mode: STRICT
[12:53:38] [Server thread/ERROR]: #!#! 
[12:53:38] [Server thread/ERROR]: #!#! End of Error.
[12:53:38] [Server thread/ERROR]: #!#!

for more: https://pastebin.ubuntu.com/p/SNrs3wSnqZ/

Version Info:

  • SkBee Version: (ex: 1.0.0)SkBee-1.3.0 (I also tried 1.2.0)
  • Skript Version: (ex: Skript 2.5-alpha3)Skript 2.4.1
  • Server Version/Platform (ex: Spigot 1.15.2)Paper 1.15.2

1.16.1 load structure issue [BUG]

Describe the bug
The bug with loading structure and saving structure does not currently work in 1.16.1 for some reason

To Reproduce
When creating a skript with the syntax
save between {loc1} and {loc2} as "test" will result in an error same with loading
load "test" at location of player

Expected behavior
I expected for the code to save a structure between 2 location saved within 2 different variable to then be
pasted at will using load "test" at location of player

Screenshots/Errors
image
image

Version Info:

  • SkBee Version: 1.4.3
  • **Skript Version: ** 2.4.1-MH it is minehut if its skript version related il report to minehut
  • Server Version/Platform git-Paper-79 1.16.1

Additional context
Add any other context about the problem here.

[BUG] tag ".." of nbt of .. is parsed as what?

Describe the bug
I was using Sk-NBeeT and I loaded Sk-Bee. in Sk-Bee, I can't change parse type of tag ".." of nbt of .. things. I get error Tag ""........"" of the ... is not a text

To Reproduce
I loaded Sk-Bee and I check my other scripts designed with Sk-NBeeT

Expected behavior
No error should be

Version Info:

  • SkBee Version: 1.3.3
  • Skript Version: 2.4.1
  • Server Version/Platform Paper 1.15.2 322

Additional context
You can test it with this codes. Just add them to a test server:

on damage of player:
		if damage cause is drowning:
			if tag "OzelEsya" of nbt of victim's helmet is """Poseidon Kaskı""":
				set {_durability} to tag "Dayaniklilik" of nbt of victim's helmet parsed as number [Skript] the object nbt of the helmet of the attacked entity parsed as a number is not a text (a_2_Survival_Rules\damageHandlers.sk, line 70: set {_durability} to tag "Dayaniklilik" of nbt of victim's helmet parsed as number')
				set {_maxdurability} to tag "MaxDayaniklilik" of nbt of victim's helmet parsed as number #[Skript] the object nbt of the helmet of the attacked entity parsed as a number is not a text (a_2_Survival_Rules\damageHandlers.sk, line 71: set {_maxdurability} to tag "MaxDayaniklilik" of nbt of victim's helmet parsed as number')

Client side borders [SUGGESTION]

Is your feature request related to a problem? Please describe.
This feature is releated to the problem that it dosent look like there are any skript compatible client side borders and It would help alot with custom features/gamemodes

Describe the solution you'd like
You can set a player's world border size, center the border to a location and possibly damaging features and warning things as well with the uses of checking the size, resetting the size, possibly saving the client side border to a varibale? or just saving in general

Describe alternatives you've considered
none I need this or I will shit myself

Additional context
All features in which Skellett includes in there syntax plus maybe some more usefull ones

[BUG] Variable return error

Describe the bug
I added an nbt to a sword, but I can't use the variable %tag ""Enchantments"" of nbt of player's tool% or set {_tag} to "Enchantments" tag of nbt of player's tool.

To Reproduce

command /givesword:
	trigger:
		give player diamond sword with nbt "{Enchantments:[{id:""sharpness"",lvl:5}]}"

command /nbt:
	trigger:
		broadcast "%tag ""Enchantments"" of nbt of player's held item%"

Expected behavior
I want to broadcast the tag "Enchantments" of nbt of the sword in chat.

Screenshots/Errors
In-game error:
An internal error occurred while attempting to perform this command

Console error:

[12:44:05 INFO]: [Skript] # /nbt
[12:44:05 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'nbt' in plugin Skript v2.2-SNAPSHOT
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at java.base/java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoClassDefFoundError: ch/njol/skript/util/slot/Slot
        at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.convert(ExprObjectNBT.java:40) ~[?:?]
        at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.convert(ExprObjectNBT.java:19) ~[?:?]
        at ch.njol.skript.registrations.Converters.convert(Converters.java:305) ~[?:?]
        at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:296) ~[?:?]
        at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:105) ~[?:?]
        at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:56) ~[?:?]
        at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:76) ~[?:?]
        at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103) ~[?:?]
        at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:61) ~[?:?]
        at tk.shanebee.bee.elements.nbt.expressions.ExprTagOfNBT.get(ExprTagOfNBT.java:58) ~[?:?]
        at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103) ~[?:?]
        at ch.njol.skript.lang.VariableString.toString(VariableString.java:383) ~[?:?]
        at ch.njol.skript.lang.VariableString.getArray(VariableString.java:488) ~[?:?]
        at ch.njol.skript.lang.VariableString.getArray(VariableString.java:1) ~[?:?]
        at ch.njol.skript.effects.EffBroadcast.execute(EffBroadcast.java:69) ~[?:?]
        at ch.njol.skript.lang.Effect.run(Effect.java:54) ~[?:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63) ~[?:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91) ~[?:?]
        at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) ~[?:?]
        at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222) ~[?:?]
        at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184) ~[?:?]
        at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:161) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        ... 15 more

Version Info:

  • SkBee Version: 1.4.6
  • Skript Version: skript2.2-SNAPSHOT
  • Server Version/Platform Spigot 1.8.8

[BUG] Severe skript error

Description
I get this terrible exception a lot of times since i wrote this code... to me there is nothing wrong in it, but can you take a look? The exception is in the attached .log file. I think this may lead to a memory issue on the long run?

Version Info:

  • SkBee Version: 1.2.0
  • Skript Version: 2.4.1
  • Server Version/Platform git-Paper-243 (MC: 1.14.4)

Exception
exception.log

Code, to reproduce

on right click:
set {_cart} to clicked entity
if tag "id" of nbt of {_cart} is set:
if tag "id" of nbt of {_cart} is """minecraft:minecart""" or """minecraft:boat""":
message "&6&lWarning &eyour vehicle will be inevitably removed after you dismount it! Get a free Boat or Minecart writing &6/boat &eor &6/minecart" to the player

on vehicle exit:
set {_cart} to player's vehicle
if tag "id" of nbt of {_cart} is not """minecraft:minecart""" or """minecraft:boat""":
stop
#if "%{_cart}%" does not contain "horse":

message "&6&lWarning &eyour vehicle will be inevitably removed in &660 &eseconds" to the player
message "&eGet a free Boat or Minecart writing &6/boat &eor &6/minecart" to the player

wait 60 second
eject any passenger from {_cart}
kill {_cart}

[BUG] Plugin SkBee v1.4.7 generated an exception while executing task 393 java.lang.NullPointerException: null

Describe the bug
[Craft Scheduler Thread - 100/WARN]: [SkBee] Plugin SkBee v1.4.7 generated an exception while executing task 393
java.lang.NullPointerException: null
at org.yaml.snakeyaml.serializer.Serializer.anchorNode(Serializer.java:118) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.serializer.Serializer.serialize(Serializer.java:107) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:308) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:271) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.Yaml.dump(Yaml.java:246) ~[patched_1.15.2.jar:git-Paper-369]
at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:39) ~[patched_1.15.2.jar:git-Paper-369]
at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:65) ~[patched_1.15.2.jar:git-Paper-369]
at tk.shanebee.bee.api.virtualfurnace.api.FurnaceManager.saveConfig(FurnaceManager.java:335) ~[?:?]
at tk.shanebee.bee.api.virtualfurnace.api.FurnaceManager.saveAll(FurnaceManager.java:327) ~[?:?]
at tk.shanebee.bee.api.virtualfurnace.api.task.FurnaceTick.run(FurnaceTick.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.15.2.jar:git-Paper-369]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.15.2.jar:git-Paper-369]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.15.2.jar:git-Paper-369]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]

To Reproduce
I dont know :/

Screenshots/Errors
up

Version Info:

  • SkBee Version: 1.4.7
  • Skript Version: Skript 2.5-alpha5
  • Server Version/Platform Paperspigot 369

Additional context
Add any other context about the problem here.

[BUG] Filled shulker returning wrong tag

Describe the bug
I want to check tag content of OzelEsya. But I try to check Shulker's OzelEsya tag content, it shows entire nbt.

To Reproduce
Enable effect commands
Store a lot of items on shulker
Get the shulker to your inventory
Try !message "%tag ""OzelEsya"" of nbt of held item%

Expected behavior
Should return or {}

Screenshots/Errors
https://prnt.sc/tdb1a8

Version Info:

  • SkBee Version: 1.4.2
  • Skript Version: Skript 2.5-alpha5
  • Server Version/Platform Paper 1.16.1

Empty tag ".." returning {} instead of <none>

paper 1.16.1
Skript 2.5-alpha3
SkBee 1.4.2

on BlockPlaceEvent:
	if tag "OzelEsya" of nbt of event.getItemInHand() is set:
		broadcast "%tag ""OzelEsya"" of nbt of event.getItemInHand()%"
		broadcast "true"

it should return if my tool don't contain OzelEsya but it returning {}
you can try with flint and stell. It don't have tag "OzelEsya" but returning "{Damage:0}" when testing that code.

https://prnt.sc/tc68wa

Nested NBT Not Working

Describe the bug
When i try to use nested NBTs, it gives me an error.

To Reproduce
add "{Enchants:[{Type:""Sharpness"",Lvl:5}] to nbt of command sender's tool
set {_tag} to "%tag ""Enchants;Sharpness"" of nbt of command sender's tool%"

Expected behavior
It should return 5

Screenshot
Error Screenshot

Version Info:

  • SkBee Version: 1.4.5
  • Skript Version: 2.5-alpha5
  • Server Version/Platform Paper 1.16.1

[BUG] NoClassDefFoundError while enabling SkBee

Describe the bug
An NoClassDefFoundError occurs with SkBee when enabling it. As the error log shows, it likely is the PlayerArmorChangeEvent.

To Reproduce
Start a server with SkBee installed.

Expected behavior
SkBee enabling without errors.

Screenshots/Errors
https://imgur.com/nW7icSo

Version Info:

  • SkBee Version: 1.3.2
  • Skript Version: 2.4.1
  • Server Version/Platform Spigot 1.14.4 git-Spigot-cbd1a1b-009d8af

[BUG] stored enchant

Describe the bug
A clear and concise description of what the bug is.

set stored enchants of slot 16 of player's current inventory to "%random element out of {enchant.list::book::*}%" parsed as enchantment type

this doesn't work

but

set stored enchants of player's tool to "%random element out of {enchant.list::book::*}%" parsed as enchantment type

this works

To Reproduce
Please include clear steps to reproduce the behavior

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots/Errors
If applicable, add screenshots/errors to help explain your problem.

Version Info:

  • SkBee Version: (ex: 1.0.0) 1.4.5
  • Skript Version: (ex: Skript 2.5-alpha3) skript 2.4.1
  • Server Version/Platform (ex: Spigot 1.15.2) paper 1.15.2

Additional context
Add any other context about the problem here.

[BUG] add [nbt] to nbt of diamond sword do nothing

Describe the bug
This doesn't work after update 1.4.4, item nbt not was be added (on diamond sword)

Command /setskin []:
permission: nbt.galajus
trigger:
add "{CustomModelData:%arg 1%}" to nbt of player's tool

To Reproduce
look up

Screenshots/Errors
No error, my command do nothing :(

Version Info:

  • SkBee Version: 1.4.4
  • Skript Version: Skript 2.5-alpha5
  • Server Version/Platform Paperspigot 369

Additional context
Add any other context about the problem here.

[BUG] Pufferfish Puff States

Describe the bug
Pufferfish have 3 puff states normally. With the SkBe addon installed, only the first (small) and last (large) puff states render to the client.

To Reproduce
Spawn or find a pufferfish and approach it in survival/adventure mode

Expected behavior
As you approach, the pufferfish should puff from small to medium size, and then from medium to large. Instead, the medium puff state renders as the large state to the client. Everything is normal server side I think.

Screenshots/Errors
Video:
https://youtu.be/T9M0BEcHZ9M

Version Info:

  • SkBee Version: No idea, which ever version Minehut has as of 22/05/20
  • Skript Version: Skript 2.4.1-MH
  • Server Version/Platform: Spigot 1.15.2 (or whatever Minehut uses)

Additional context
Other addons installed: Skellett, SkRayFall, SkQuery, TuSKe, Vixio

[BUG] java.lang.NullPointerException: ItemStack can't be null/Air!

paper 1.16.1
Skript 2.5-alpha3
SkBee 1.4.2

on inventory click:
	if tag "Temel" of nbt of clicked slot is "Hayatta_Kalma_Kitabi":
		if clicked slot isn't 8:
			set clicked slot to air
		else:
			cancel event
			execute player command "/@hkitap"

If I click to anything except Hayatta_Kalma_Kitabi, Skript sending that error:

[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! [Skript] Severe Error:
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! Something went horribly wrong with Skript.
[14:16:15 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[14:16:15 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[14:16:15 ERROR]: #!#! Here is full list of them:
[14:16:15 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[14:16:15 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[14:16:15 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[14:16:15 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[14:16:15 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[14:16:15 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! Stack trace:
[14:16:15 ERROR]: #!#! java.lang.NullPointerException: ItemStack can't be null/Air!
[14:16:15 ERROR]: #!#!     at tk.shanebee.bee.api.NBT.NBTItem.<init>(NBTItem.java:27)
[14:16:15 ERROR]: #!#!     at tk.shanebee.bee.api.NBTApi.getNBT(NBTApi.java:113)
[14:16:15 ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.convert(ExprObjectNBT.java:40)
[14:16:15 ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.convert(ExprObjectNBT.java:18)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convert(Converters.java:391)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:382)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:104)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:55)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:75)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:102)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:60)
[14:16:15 ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprTagOfNBT.get(ExprTagOfNBT.java:58)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:161)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.conditions.CondCompare.check(CondCompare.java:309)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.lang.Condition.run(Condition.java:56)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.lang.Conditional.walk(Conditional.java:51)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:156)
[14:16:15 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:114)
[14:16:15 ERROR]: #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[14:16:15 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[14:16:15 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:2623)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.PacketPlayInSetCreativeSlot.a(SourceFile:23)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.PacketPlayInSetCreativeSlot.a(SourceFile:9)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:43)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1204)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1197)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1173)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1017)
[14:16:15 ERROR]: #!#!     at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:178)
[14:16:15 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! Version Information:
[14:16:15 ERROR]: #!#!   Skript: 2.5-alpha3
[14:16:15 ERROR]: #!#!     Flavor: skriptlang-github
[14:16:15 ERROR]: #!#!     Date: 2020-03-28
[14:16:15 ERROR]: #!#!   Bukkit: 1.16.1-R0.1-SNAPSHOT
[14:16:15 ERROR]: #!#!   Minecraft: 1.16.1
[14:16:15 ERROR]: #!#!   Java: 1.8.0_251 (Java HotSpot(TM) 64-Bit Server VM 25.251-b08)
[14:16:15 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! Server platform: Paper
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! Current node: null
[14:16:15 ERROR]: #!#! Current item: Tag ""Temel"" of the object nbt of (the clicked slot >> ch.njol.skript.classes.data.DefaultConverters$18@484bacd4: slot -> itemstack) is equal to "Hayatta_Kalma_Kitabi" (comparator: null)
[14:16:15 ERROR]: #!#! Current trigger: inventory click (dispense/spawn/drop/craft/pickup/consume/break/despawn/merge) (book_main.sk, line 20)
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! Thread: Server thread
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! Language: english
[14:16:15 ERROR]: #!#! Link parse mode: STRICT
[14:16:15 ERROR]: #!#!
[14:16:15 ERROR]: #!#! End of Error.
[14:16:15 ERROR]: #!#!

[BUG] [SkBee] Plugin SkBee v1.4.11 generated an exception while executing task 406

Describe the bug
[01:09:24] [Craft Scheduler Thread - 16/WARN]: [SkBee] Plugin SkBee v1.4.11 generated an exception while executing task 406
java.lang.NullPointerException: Nodes must be provided.
at org.yaml.snakeyaml.nodes.NodeTuple.(NodeTuple.java:28) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseRepresenter.java:164) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.representData(SafeRepresenter.java:321) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:95) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresenter.java:65) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:307) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:271) ~[patched_1.15.2.jar:git-Paper-369]
at org.yaml.snakeyaml.Yaml.dump(Yaml.java:246) ~[patched_1.15.2.jar:git-Paper-369]
at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:39) ~[patched_1.15.2.jar:git-Paper-369]
at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:65) ~[patched_1.15.2.jar:git-Paper-369]
at tk.shanebee.bee.api.virtualfurnace.api.FurnaceManager.saveConfig(FurnaceManager.java:335) ~[?:?]
at tk.shanebee.bee.api.virtualfurnace.api.FurnaceManager.saveAll(FurnaceManager.java:327) ~[?:?]
at tk.shanebee.bee.api.virtualfurnace.api.task.FurnaceTick.run(FurnaceTick.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.15.2.jar:git-Paper-369]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.15.2.jar:git-Paper-369]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.15.2.jar:git-Paper-369]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]

To Reproduce
I dont know :/

Screenshots/Errors
up

Version Info:

  • SkBee Version: 1.4.11
  • Skript Version: Skript 2.5-alpha5
  • Server Version/Platform Paperspigot 369

Additional context
Add any other context about the problem here.

Grabbing NBT during On Death event throws console error

Great add on, I love it!
I noticed a big bad console error when I grab nbt data from a victim during on on death event. However, the code works lol. I am able to grab nbt data from a victim, so I'm not 100% sure what the error is about.

[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[12:27:28] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[12:27:28] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[12:27:28] [Server thread/ERROR]: #!#! Here is full list of them:
[12:27:28] [Server thread/ERROR]: #!#! skript-mirror (https://github.com/btk5h/skript-mirror) SkRecipe (https://github.com/ShaneBeee/SkRecipe) SkBee skUtilities (https://tim740.github.io/) skript-yaml SkQuery 
[12:27:28] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[12:27:28] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[12:27:28] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[12:27:28] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[12:27:28] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[12:27:28] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! Stack trace:
[12:27:28] [Server thread/ERROR]: #!#! java.lang.NullPointerException: Entity can't be null/dead!
[12:27:28] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBT.NBTEntity.<init>(NBTEntity.java:28)
[12:27:28] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBTApi.getNBT(NBTApi.java:130)
[12:27:28] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.convert(ExprObjectNBT.java:44)
[12:27:28] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.convert(ExprObjectNBT.java:18)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convert(Converters.java:391)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:382)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:104)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:55)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:75)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:102)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.effects.EffChange.execute(EffChange.java:278)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:156)
[12:27:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:114)
[12:27:28] [Server thread/ERROR]: #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[12:27:28] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[12:27:28] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
[12:27:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:767)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityLiving.d(EntityLiving.java:1380)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityLiving.die(EntityLiving.java:1308)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityLiving.damageEntity(EntityLiving.java:1152)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityWolf.B(EntityWolf.java:253)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PathfinderGoalMeleeAttack.a(SourceFile:139)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PathfinderGoalMeleeAttack.e(SourceFile:131)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PathfinderGoalWrapped.e(PathfinderGoalWrapped.java:54)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PathfinderGoalSelector.doTick(PathfinderGoalSelector.java:150)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityInsentient.doTick(EntityInsentient.java:686)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityLiving.movementTick(EntityLiving.java:2609)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityInsentient.movementTick(EntityInsentient.java:525)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityAgeable.movementTick(EntityAgeable.java:171)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityAnimal.movementTick(EntityAnimal.java:28)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityWolf.movementTick(EntityWolf.java:151)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityLiving.tick(EntityLiving.java:2396)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityInsentient.tick(EntityInsentient.java:288)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.EntityWolf.tick(EntityWolf.java:167)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.WorldServer.entityJoinedWorld(WorldServer.java:806)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.World.a(World.java:879)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.WorldServer.doTick(WorldServer.java:531)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1319)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1173)
[12:27:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:962)
[12:27:28] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! Version Information:
[12:27:28] [Server thread/ERROR]: #!#!   Skript: 2.4.1 (latest)
[12:27:28] [Server thread/ERROR]: #!#!     Flavor: skriptlang-github
[12:27:28] [Server thread/ERROR]: #!#!     Date: 2019-12-22
[12:27:28] [Server thread/ERROR]: #!#!   Bukkit: 1.15.2-R0.1-SNAPSHOT
[12:27:28] [Server thread/ERROR]: #!#!   Minecraft: 1.15.2
[12:27:28] [Server thread/ERROR]: #!#!   Java: 1.8.0_252 (OpenJDK 64-Bit Server VM 25.252-b09)
[12:27:28] [Server thread/ERROR]: #!#!   OS: Linux amd64 4.9.0-9-amd64
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! Server platform: Paper
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! Current node: null
[12:27:28] [Server thread/ERROR]: #!#! Current item: set {_nbt}(as java.lang.Object) to the object nbt of the attacked entity
[12:27:28] [Server thread/ERROR]: #!#! Current trigger: death (death/spawn) (tag_awe.sk, line 20)
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! Thread: Server thread
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! Language: english
[12:27:28] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[12:27:28] [Server thread/ERROR]: #!#! 
[12:27:28] [Server thread/ERROR]: #!#! End of Error.
[12:27:28] [Server thread/ERROR]: #!#! 

Change Armor event not cancellable

Describe the bug
For some reason the change armor is not cancellable despite the example in the documentation showing that you can

To Reproduce
Try to cancel a change armor event from SkBee

Expected behavior
The event cancels normally

Screenshots/Errors
image

Version Info:

  • SkBee Version: 1.4.7
  • Skript Version: 2.4.1
  • Server Version/Platform git-Paper-375 (MC: 1.15.2)

Suggestion

Add on armor equip and on armor unequip as sharp sk is outdated on newer versions and it would make it easier To just install sk bee instead of sharp sk too

Won't add allow me to add NBT

Im trying to add this NBT to an endereye
CODE:
give player ender eye with NBT "{cosmicData: {itemSkinType: "SEXY_SWORD"}}"

ERROR:
[12:08:59] [Server thread/INFO]: [Skript] Reloading Skins.sk... [12:08:59] [Server thread/ERROR]: 'ender eye with NBT "{cosmicData: {itemSkinType: "SEXY_SWORD"}}"' can't be added to a player because the former is neither an item type, an inventory nor an experience point (Prisons\Skins.sk, line 12: give player ender eye with NBT "{cosmicData: {itemSkinType: "SEXY_SWORD"}}"') [12:08:59] [Server thread/INFO]: [Skript] Encountered 1 error while reloading Skins.sk!

I don't think its really plugin based but it might be

Team Color (Glows)


All Colored Glows are broken. I was checking issues and saw a guy mentioned this before and our server is having some of the same issues.

To Reproduce
Install SkBee v1.3.0 on Spigot/Paper 1.15.2
Run following commands:
/team add red
/team modify red color red
/team join cyan %player%
apply glowing to yourself

Expected behavior
The player should glow the color their team is set to but the color is just defaulted to white when this plugin is installed.

Screenshots/Errors
No errors, and I believe the information is pretty straight forward.

Version Info:

  • SkBee Version:1.3.0)
  • Skript 2.5-alpha3)
  • Spigot 1.15.2

Multiple color codes

Warning: this is on minehut so odds are it's probably on their end

I believe there is a bug with skbee (skboard's features), it would appear it does not support multiple colour codes

on join:
    set title of player's scoreboard to "&6&lServer Info"
    while player is online:
        set line 1 of player's scoreboard to "&eOnline: &f%size of all players%"
        wait 1 second

This outputs Online:

whereas

on join:
    set title of player's scoreboard to "&6&lServer Info"
    while player is online:
        set line 1 of player's scoreboard to "&eOnline: %size of all players%"
        wait 1 second

Outputs, correctly, Online: 1

I also tried without referencing any objects, breaks when a second colour code is included

[BUG] Trying to loop through blocks produces an internal error.

Describe the bug
Trying to loop through blocks produces an internal error.

To Reproduce
Use the Block Cuboid expression to loop through blocks and set them to grass blocks.

Expected behavior
I expected it does in normal Skript.

Screenshots/Errors
https://hastebin.com/aqacozamuz.cs

Version Info:

  • SkBee Version: v1.4.3
  • Skript Version: Skript: 2.5-alpha6-MH (custom version)
  • Server Version/Platform Spigot 1.16.2

Additional context
I am using the latest version of Skript on Minehut and the latest version of SkBee available on that platform, so I can't simply update.

Error Message

My Code:

command /extract [<text>]:
  trigger:
    if arg-1 is set:
      set {_energy} to tag "chargable;energy" of nbt of player's tool
      set {_energy} to "%{_energy}%" parsed as number
      if {_energy} > 0:
        if arg-1 is "all":
          add "{chargable: {energy: 0}}" to nbt of player's tool
          give player shiny light blue dye named "&f&l%(0.9*{_energy})% &b&lCosmic Energy" with lore "", "&6Contains &f&l%(0.9*{_energy})% &b&lCosmic Energy", " &6that is used for enchanting", "", "&7Hint: Drag and drop onto a pickaxe,", " &7sword, or piece of armor to add", " &7to its energy!", "" and "&6Extracted by &f%player%" with NBT "{chargable: {energy: %(0.9*{_energy})%}}"
          send "&6&l(!) &6Extracted &f&l%(0.9*{_energy})% &b&lCosmic Energy" to player
          send "&f&l%(0.1*{_energy})% &b&lCosmic Energy &7was lost in the process." to player
          set {_toolname} to name of player's tool
          send "%{_toolname}% &7has &f&l0 &b&lCosmic Energy &7left on it." to player
          update score with id "%uuid of player%.1" to "  &7(&f0&7/?)" and 1
        else:
          set {_num} to arg-1 parsed as an integer
          if {_num} is set:
            if {_num} <= {_energy}:
              set {_remenergy} to {_energy}-{_num}
              add "{chargable: {energy: %{_remenergy}%}}}" to nbt of player's tool
              give player shiny light blue dye named "&f&l%(0.9*{_num})% &b&lCosmic Energy" with lore "", "&6Contains &f&l%(0.9*{_num})% &b&lCosmic Energy", " &6that is used for enchanting", "", "&7Hint: Drag and drop onto a pickaxe,", " &7sword, or piece of armor to add", " &7to its energy!", "" and "&6Extracted by &f%player%" with NBT "{chargable: {energy: %(0.9*{_num})%}}"
              send "&6&l(!) &6Extracted &f&l%(0.9*{_energy})% &b&lCosmic Energy" to player
              send "&f&l%(0.1*{_num})% &b&lCosmic Energy &7was lost in the process." to player
              set {_toolname} to name of player's tool
              set {_endenergy} to tag "chargable;energy" of nbt of player's tool
              send "%{_toolname}% &7has &f&l%{_endenergy}% &b&lCosmic Energy &7left on it." to player
              update score with id "%uuid of player%.1" to "  &7(&f%{_endenergy}%&7/?)" and 1
            else:
              send "&c&l(!) %name of player's tool% &cdoesn't have enough energy!"
          else:
            send "no" to player
      else:
        send "&dUsage: &f/extract <charge to withdraw>" to player

No Reload erros

CONSOLE error:

[00:28:32] [Server thread/INFO]: Zerity issued server command: /extract 5
[00:28:32] [Server thread/INFO]: Zerity [d6427876-e941-44f2-a560-041d05840ed5]: /extract 5
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[00:28:32] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[00:28:32] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[00:28:32] [Server thread/ERROR]: #!#! Here is full list of them:
[00:28:32] [Server thread/ERROR]: #!#! skRayFall v1.9.20 (https://sk.rayfall.net/) SkBee v1.1.0 skDragon v0.16 skript-yaml v1.3.2 ThatPacketAddon v1.0-BETA.3 (tlatoani.us/thatpacketaddon) SkQuery v3.6.5 Skellett v1.9.8 (https://forums.skunity.com/resources/skellett.24/)
[00:28:32] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[00:28:32] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[00:28:32] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[00:28:32] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[00:28:32] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[00:28:32] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! Stack trace:
[00:28:32] [Server thread/ERROR]: #!#! tk.shanebee.bee.api.NBT.NbtApiException: Unable to parse Malformed Json!
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBT.NBTContainer.<init>(NBTContainer.java:46)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBTApi.addNBT(NBTApi.java:60)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.change(ExprObjectNBT.java:67)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.effects.EffChange.execute(EffChange.java:284)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:292)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:251)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:251)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:168)
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1649)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1497)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:895)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828)
[00:28:32] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#! Caused by: tk.shanebee.bee.api.NBT.NbtApiException: Error while calling the method 'parse', loaded: true, Enum: PARSE_NBT
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBT.utils.nmsmappings.ReflectionMethod.run(ReflectionMethod.java:148)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBT.NBTContainer.<init>(NBTContainer.java:44)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBTApi.addNBT(NBTApi.java:60)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.change(ExprObjectNBT.java:67)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.effects.EffChange.execute(EffChange.java:284)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:292)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:251)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:251)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:168)
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1649)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1497)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:895)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828)
[00:28:32] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#! Caused by: java.lang.reflect.InvocationTargetException
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBT.utils.nmsmappings.ReflectionMethod.run(ReflectionMethod.java:146)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBT.NBTContainer.<init>(NBTContainer.java:44)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.api.NBTApi.addNBT(NBTApi.java:60)
[00:28:32] [Server thread/ERROR]: #!#!     at tk.shanebee.bee.elements.nbt.expressions.ExprObjectNBT.change(ExprObjectNBT.java:67)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.effects.EffChange.execute(EffChange.java:284)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:292)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:251)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:251)
[00:28:32] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:168)
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529)
[00:28:32] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1649)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1497)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:895)
[00:28:32] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828)
[00:28:32] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[00:28:32] [Server thread/ERROR]: #!#! Caused by: com.mojang.brigadier.exceptions.CommandSyntaxException: Unexpected trailing data at position 25: ...ergy: 15}}<--[HERE]
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! Version Information:
[00:28:32] [Server thread/ERROR]: #!#!   Skript: 2.5-alpha3 (latest)
[00:28:32] [Server thread/ERROR]: #!#!     Flavor: skriptlang-github
[00:28:32] [Server thread/ERROR]: #!#!     Date: 2020-03-28
[00:28:32] [Server thread/ERROR]: #!#!   Bukkit: 1.15.2-R0.1-SNAPSHOT
[00:28:32] [Server thread/ERROR]: #!#!   Minecraft: 1.15.2
[00:28:32] [Server thread/ERROR]: #!#!   Java: 1.8.0_181 (Java HotSpot(TM) 64-Bit Server VM 25.181-b13)
[00:28:32] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! Server platform: Spigot
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! Current node: null
[00:28:32] [Server thread/ERROR]: #!#! Current item: add "{chargable: {energy: %{_remenergy}(as java.lang.Object)%}}}" to the object nbt of (the tool of the player >> ch.njol.skript.classes.data.DefaultConverters$18@79515450: slot -> itemstack)
[00:28:32] [Server thread/ERROR]: #!#! Current trigger: command /extract (simple event) (Energy.sk, line -1)
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! Thread: Server thread
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! Language: english
[00:28:32] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[00:28:32] [Server thread/ERROR]: #!#!
[00:28:32] [Server thread/ERROR]: #!#! End of Error.
[00:28:32] [Server thread/ERROR]: #!#!

Get blocks around edge of bound [SUGGESTION]

Is your feature request related to a problem? Please describe.
No this feature is not related to any problems
Describe the solution you'd like
Syntax to be able to detect the blocks at the edge of a bound
image
for example you could specify a y-level then get a list of all the blocks around the edge of a bound

Describe alternatives you've considered
Not really any alternatives to this

1.16.1 Loading and Saving Structures (not working)[BUG]

Describe the bug

The bug with loading structure and saving structure does not currently work in 1.16.1 for some reason

To Reproduce

When creating a skript with the syntax
save between {loc1} and {loc2} as "test" will result in an error same with loading
load "test" at location of player

Expected behavior

I expected for the code to save a structure between 2 location saved within 2 different variable to then be
pasted at will using load "test" at location of player

Screenshots/Errors

image
image

Version Info:

SkBee Version: 1.4.3
Skript Version: 2.4.1-MH it is minehut if its skript version related il report to minehut
Server Version/Platform git-Paper-79 1.16.1

Additional context

Add any other context about the problem here.

[BUG]

Describe the bug
Pasting Structures does not work with SkBee, it worked in SkNBeet (Outdated).

To Reproduce
Copy and paste the example on skripthub for the structure block load / paste effect

command teststr:
    trigger:
        paste "house" at location of player with rotation 90 and with mirror left to right

Expected behavior
It should paste the structure that is saved with that structure name.

Screenshots/Errors
image

Version Info:

  • SkBee Version: (ex: 1.4.2)
  • Skript Version: (ex: Skript 2.5-alpha5)
  • Server Version/Platform (ex: Paper MC 1.16.1 - 59)

[SUGGESTION] Set nbt of inventory slot

Is your feature request related to a problem? Please describe.
I am making my own GUI using skript
I do some serious calculations using line set slot loop-number of {_inventory} to something named something with lore something...
I needed to edit the nbt of these items in order to keep skript size minimal, so I need something like:
´set nbt of slot 9 of {_inventory} to "{CustomModelData:1}"´. There is no errors uppon doing this, but there is no effect

Describe the solution you'd like
I want to be able to edit NBT values of inventory slots

Thank you for your consideration

[SUGGESTION]

Is your feature request related to a problem? Please describe.
Sort of. I noticed Skript does not have a way to convert strings into dates.

Describe the solution you'd like
I'm requesting that skBee have an expression to convert strings into dates. You can't parse as date with Skript so it would be cool if skBee had an expression for this.

Describe alternatives you've considered
There aren't any alternatives.

Issue with ExprInvName

Hey !

I'm on Paper-226 (lastest currently for 1.15.2), with Skript 2.4.1 and SkBee 1.2.0

When I use this, it does not work :
inventory name of player's current inventory

But when I use this, it works :
inv name of player's current inventory

I have neither a skript error nor an error in the console.
I don't know where it came from.

Console Spam on nbt add

My server version: Spigot 1.15.2
I use SkBee 1.3.0
Latest version of Skript
The code:
on steering vehicle right:
if player's vehicle is {proprio::%player%}:
set {_yaw} to yaw of player's vehicle + 5
add "{Rotation:[0f,%{_yaw}%f,0f]}}" to nbt of {proprio::%player%}
And that code spam me that in the console: https://pastebin.com/ERDr5ui1
Please help !

custom enchantment

do you have a plan to add custom enchantment like tuske addon?
for 1.15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.