This commit is contained in:
Christer Warén
2023-04-26 17:44:54 +03:00
parent f86cc0d29e
commit 8332516600
15 changed files with 502 additions and 175 deletions

View File

@@ -1,8 +1,9 @@
# --- NPC ---
on script load:
set {citizens} to yml value "PluginHooks.Npc" of file "plugins/Skellett/config.yml"
if {citizens} is false:
disable script "mirricraft-npc.sk"
#--------------------------------------------------
#
# MIRRICRAFT
# by Christer Warén / Warén Group
#
#--------------------------------------------------
on rightclick on entity:
if clicked entity is a citizen:
@@ -13,4 +14,4 @@ on rightclick on entity:
if player doesn't have the permission "group.aikainenjasen":
make console execute command "/lp user %player% group add jasen"
else:
message "&7[&r%name of clicked entity%&7]&r Olet jo jäsen" to player
message "&7[&r%name of clicked entity%&7]&r Olet jo jäsen" to player