Skript Version: Skript 2.2 (dev36)
Skript Author: Bensku
Minecraft Version: 1.12
---
Full Code:
Errors on Reload:
"event-block is not a world (Jobs.sk, line 153: add "Placed" to custom nbt of event-block')"
Addons using:
skript-mirror-0.12.1, SkStuff 1.6.4.1
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it?
Previously i used metadata but that wasnt an long-term option, since they are getting removed after a server restart.
What i am trying to do:
I need to somehow mark the blocks that been placed for my Job system. People shall not be able to break/place the same block over and over again to farm EXP for free.
Skript Author: Bensku
Minecraft Version: 1.12
---
Full Code:
code_language.skript:
on place:
add "Placed" to custom nbt of event-block
on break:
if nbt of block contains "Placed":
cancel event
Errors on Reload:
"event-block is not a world (Jobs.sk, line 153: add "Placed" to custom nbt of event-block')"
Addons using:
skript-mirror-0.12.1, SkStuff 1.6.4.1
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it?
Previously i used metadata but that wasnt an long-term option, since they are getting removed after a server restart.
What i am trying to do:
I need to somehow mark the blocks that been placed for my Job system. People shall not be able to break/place the same block over and over again to farm EXP for free.