on break:
player's gamemode is not creative
set {_fortune} to level of fortune of the player's tool
add 1 to {_fortune}
clear drops
drop {_fortune} of event-block's drops at location of event-block
Once you have skript installed, go to your file manager and open the skript file. From there, go to the scripts file and create a new file named "whateveryouwanthere.sk" Paste the skript in there and save. Either restart or type /sk reload "whateverthenameofthefileis"
Try this. No errors but it should work. I'm on vacation rn so I can't call you on discord so
on rightclick:
uncolored name of targeted entity is "INPUT NAME HERE!"
send "<link:INPUT LINK HERE!>&3&lClick here to join our Discord!"
All your skripts seem to have crashed. Try downgrading your skript version down to where 1.17 started to be supported, like 2.6. It's possible that since you're sunning 2.6.2 on a 1.17 server it's causing a ton of those errors.
You can use skript to make a link.
There are videos on how to set it up.
You can use this piece of code (Requires Skript and Skream) It's not tested but it should work
# change 0 in line 2 to the NPC integer of your NPC
# change "example.link" to your discord link
on npc rightclick:
event-integer is 0
send "<link:example.link>&3&lClick here to join our Discord!"
It could be that you downloaded a version of the plugin that isnt supported on your server version. Update it and see what happens.
It also could be that you need dependencies.
As @TheCodingDuck_ said, all these are already implemented into Minecraft. To give yourself op, go to minehut.com and select your server. From there, go to console and type "op <PLAYER NAME>"