Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /crate [<text>] [<text>] [<text>]:
- permission: Casino.crate
- permission message: &cDu har ikke adgang til denne command.
- trigger:
- if arg-1 is not set:
- send "&8---------[&4Casino&8]---------"
- send "&e/crate key &7[&eType&7] [&eAntal&7]"
- send "&7Giver dig en casino key."
- send "&7"
- send "&e /crate kiste &7[&eType&7]"
- send "&7Giver dig en Casino kiste til dine keys."
- send "&7"
- send "&e /crate keys"
- send "&7Viser dig alle de forskellige key typer"
- send "&7"
- send "&7"
- send "&7"
- send "&7"
- send "&7"
- send "&7"
- send "&7"
- send "&7"
- send "&7"
- if arg-1 is "key":
- send "&8[&4Casino&8]: &c/crate key [type] [antal]"
- send "&e For at se keys: &6/keys"
- if arg-1 is "key":
- if arg-2 is "cdiamond":
- if arg-3 is "1":
- give player 1 2267 named "&bDiamond Key &7[C]"
- if arg-1 is "key":
- if arg-2 is "cemerald":
- if arg-3 is "1":
- give player 1 2260 named "&aEmerald Key &7[C]"
- if arg-1 is "key":
- if arg-2 is "cInfinity":
- if arg-3 is "1":
- give player 1 2259 named "&cInfinity Key &7[C]"
- if arg-1 is "key":
- if arg-2 is "bdiamond":
- if arg-3 is "1":
- give player 1 2267 named "&bDiamond Key &7[B]"
- if arg-1 is "key":
- if arg-2 is "bemerald":
- if arg-3 is "1":
- give player 1 2260 named "&aEmerald Key &7[B]"
- if arg-1 is "key":
- if arg-2 is "bInfinity":
- if arg-3 is "1":
- give player 1 2256 named "&cInfinity Key &7[B]"
- if arg-1 is "kiste":
- if arg-2 is "CInfinity":
- give player chest named "&cInfinity &7Crate"
- if arg-1 is "kiste":
- if arg-2 is "CDiamond":
- give player chest named "&bDiamond &7Crate"
- if arg-1 is "kiste":
- if arg-2 is "CEmerald":
- give player chest named "&aEmerald &7Crate"
- if arg-1 is "keys":
- send "&8[&4Casino&8] &6Keys:"
- send "&7"
- send "&eCDiamond, CEmerald, CInfinity,"
- send "&eBDiamond, BEmerald, BInfinity,"
- send "&eADiamond, AEmerald, AInfinity"
- on rightclick on chest:
- if inventory name of the event-block contains "&cInfinity &7Crate":
- if player's held item is 2259 named "&cInfinity Key &7[C]":
- open chest with 3 rows named "&cInfinity Key" to player
- format slot 0 of player with Red Stained Glass Pane to be unstealable
- else:
- send "&cDu skal bruge en &cInfinity Key for at åbne denne crate!"
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement