Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- permission: Giveall.Admin
- permissionmessage: &cGlem det.. Kun admins!
- prefix: &c&lGIVEALL &8» &b
- Giveallnachricht: &bSpilleren &3%player% &bgav alle spillere en &3genstand. :o
- Keiniteminderhand: &bDu &bSKAL &3have en item i hånden
- command /giveall [<text>]:
- permission: {@permission}
- permission message: {@permissionmessage}
- trigger:
- set {giveallitem.%player%} to held item of player
- set {_itemname} to name of held item of player
- set {_itemtyp} to type of held item of player
- set {_itemammount} to amount of held item of player
- {giveallitem.%player%} is not air:
- if {_itemname} isn't set:
- wait 2 ticks
- give {giveallitem.%player%} to all players
- broadcast "{@prefix} {@Giveallnachricht}"
- broadcast "{@prefix} Genstand &8» &b%{_itemammount}% %{_itemtyp}%"
- clear {giveallitem.%player%}
- else if {_itemname} is set:
- wait 2 ticks
- give {giveallitem.%player%} to all players
- broadcast "{@prefix} {@Giveallnachricht}"
- broadcast "{@prefix} Item: &a%{_itemammount}%X %{_itemtyp}% &7Name: %{_itemname}%&7"
- clear {giveallitem.%player%}
- else:
- message "{@prefix} {@Keiniteminderhand}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement