1
How do I disable players from picking up certain items?
ex:
Players A and B.
Player A has a Sword and player B has a Bow.
Player A can't pickup Player B's bow neither B to pickup A's Sword.
how do I do that?
ex:
Players A and B.
Player A has a Sword and player B has a Bow.
Player A can't pickup Player B's bow neither B to pickup A's Sword.
how do I do that?
Create an account or sign in to comment.
6
1
Is there anyway Pepijn to decrease the radius. there might be some fighting-over-the-item-on-the-ground-with-a-race since whoever gets to it first will get it, but since the other person may go near it and nobody can grab it. decreasing the radius will help in some occasions
1
What you can do, is make it so the certain player has a scoreboard objective. have a command setting the entity data of the certain item around him so it changes the impossibly high pickup ticks to a low value, so it can be picked up.
1
Worldguard flags, you can set a flag for disabling players from dropping and picking up stuff. I suggest looking at a list of the flags and going from there. If you need more help message me on skype: SaneGaming
1
I'm pretty sure he needs it for a vanilla minigame...
1
You can't really, picking up items can only be "turned off" for specific items by giving them a certain PickupDelay tag (this is not player specific).
If you really need something, try this:
This will make anyone not able to pick up bows that are close to players in team A, and swords that are close to players in team B.
If you really need something, try this:
Just run these commands once:
> /scoreboard objectives add Bow dummy
> /scoreboard objectives add Sword dummy
Run these commands on a fill clock in this specific order:
> scoreboard players set @e[type=Item] Bow 1 {Item:{id:minecraft:bow}}
> scoreboard players set @e[type=Item] Sword 1 {Item:{id:minecraft:iron_sword}}
> entitydata @e[type=Item] {PickupDelay:1}
> execute @a[team=A] ~ ~ ~ entitydata @e[type=Item,score_Bow_min=1,r=2] {PickupDelay:2}
> execute @a[team=B] ~ ~ ~ entitydata @e[type=item,score_Sword_min=1,r=2] {PickupDelay:2}
This will make anyone not able to pick up bows that are close to players in team A, and swords that are close to players in team B.
1
BUMP