Hello
I am right now making a boxpvp minecraft server. I want to make people drop loot but not armor, swords and tools. Is there a script for that pls? I found this BUT it didnt work and made me keep everything with and without keepinventory
"
on death of player:
set {_drops::*} to drops
remove player's helmet from {_drops::*}
remove player's chestplate from {_drops::*}
remove player's leggings from {_drops::*}
remove player's boots from {_drops::*}
set {_helmet} to player's helmet
set {_chestplate} to player's chestplate
set {_leggings} to player's leggings
set {_boots} to player's boots
clear drops
wait 5 ticks
add {_drops::*} to victim's inventory
set player's helmet to {_helmet}
set player's chestplate to {_chestplate}
set player's leggings to {_leggings}
set player's boots to {_boots}"
I am right now making a boxpvp minecraft server. I want to make people drop loot but not armor, swords and tools. Is there a script for that pls? I found this BUT it didnt work and made me keep everything with and without keepinventory
"
on death of player:
set {_drops::*} to drops
remove player's helmet from {_drops::*}
remove player's chestplate from {_drops::*}
remove player's leggings from {_drops::*}
remove player's boots from {_drops::*}
set {_helmet} to player's helmet
set {_chestplate} to player's chestplate
set {_leggings} to player's leggings
set {_boots} to player's boots
clear drops
wait 5 ticks
add {_drops::*} to victim's inventory
set player's helmet to {_helmet}
set player's chestplate to {_chestplate}
set player's leggings to {_leggings}
set player's boots to {_boots}"