Hello, i was wondering if you could help me hook CoreProtectAPI to skript-reflect, because i've been trying to do that for a while though all the outputs are null or turn into console errors. Please show code.
my current code:
skript version: latest, i'm open to adding new addons.
my current code:
Code:
on PlayerInteractEvent:
if event.getPlayer()'s held item is a stick named "&fMagnifying glass":
if "%event.getClickedBlock()%" contains "chest" or "barrel":
set {_s::*} to {coreprotect::api}.sessionLookup("event.getPlayer()", (24 * 60 * 60))
broadcast "%{_s::*}%"
on load:
set {coreprotect::api} to Bukkit.getPluginManager().getPlugin("CoreProtect")
skript version: latest, i'm open to adding new addons.