fix: remove essentials to make datapacks works better, switch player heads drop plugin, replace essentialsxchat by vaultchatformatter

This commit is contained in:
HerozDotExe 2025-02-08 18:16:22 +01:00
parent 8493811ead
commit bb128f33ea
53 changed files with 10898 additions and 336 deletions

View file

@ -12,8 +12,7 @@ effect give @s nausea 4 0
effect give @s blindness 1 0 true
# Tp
say test
$execute in $(dimension) run minecraft:tp @s $(x) $(y) $(z)
$execute in $(dimension) run tp @s $(x) $(y) $(z)
# After teleportation
execute at @s run particle portal ~ ~1 ~ 0.5 0.5 0.5 0.001 50 force

View file

@ -1,32 +1,6 @@
Edits to make it work with essentials :
PK_Waystones_V.3.4.0_MC_1.20.6/data/pk_waystones/functions/blocks/waystone/use/gui/triggers/tp/group_tp.mcfunction
Commands to config :
/function pk_waystones:settings/permissions/change/visibility/public/false
/function pk_waystones:settings/hide_coordinates/true
/function pk_waystones:settings/permissions/change/shared_with/false
/function pk_waystones:settings/xp_consumption/set {mode:"manhattan", value:500}
/function pk_waystones:settings/display_nameplates/true
#> pk_waystones:blocks/waystone/use/gui/triggers/tp/group_tp
# @context all entities from the group that have been teleported at the current player
# Unmark the current entity
tag @s remove pk.waystones.tp
# Mark entities for air toggling
execute as @s[type=!player] run function pk_waystones:packages/air_toggling/start
# Give short nausea effect
effect give @s nausea 4 0
effect give @s blindness 1 0 true
# Tp
$execute in $(dimension) run minecraft:tp @s $(x) $(y) $(z)
# After teleportation
execute at @s run particle portal ~ ~1 ~ 0.5 0.5 0.5 0.001 50 force
execute at @s[type=player,tag=pk.current.player] run playsound block.portal.travel player @a[distance=..30] ~ ~ ~ 0.1 1.8
/function pk_waystones:settings/display_nameplates/true