Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &8[ &5&lKS &f &5&lBUYCRAFT &8]
- command /buy:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "{@p}" to player
- wait 3 ticks
- format slot 0 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 1 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 2 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 3 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 4 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 5 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 6 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 7 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 8 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 9 of player with iron bar named "{@p}" to be unstealable
- wait 1 tick
- format slot 17 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 18 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 19 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 20 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 21 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 22 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 23 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 24 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 25 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 26 of player with iron bars named "{@p}" to be unstealable
- wait 1 tick
- format slot 11 of player with book named "{@p} &7Ranks" to close then run [make player execute command "/buyranks"]
- wait 1 tick
- format slot 13 of player with chest named "{@p} &7Kits" to close then run [make player execute command "/buykits"]
- wait 1 tick
- format slot 15 of player with paper named "{@p} &7Penge" to close then run [make player execute command "/buypenge"]
- stop
- command /buyranks:
- trigger:
- open chest with 3 rows named "{@p}" to player
- format slot 10 of player with book named "{@p} &7Vip" with lore "&7Koster 1.000 ems!" to close then run [make player execute command "VIP"]
- format slot 12 of player with book named "{@p} &7Mvp" with lore "&7Koster 2.000 ems!" to close then run [make player execute command "MVP"]
- format slot 14 of player with book named "{@p} &7Mvp+" with lore "&7Koster 3.000 ems!" to close then run [make player execute command "MVP+"]
- format slot 16 of player with book named "{@p} &7C-Vagt" with lore "&7Koster 5.000 ems!" to close then run [make player execute command "VAGT"]
- command /buykits:
- trigger:
- open chest with 3 rows named "{@p}" to player
- format slot 10 of player with book named "{@p} &7Farmer" lore "&7Koster 1.500 ems!" to close then run [make player execute command "FARMER"]
- format slot 12 of player with book named "{@p} &7Miner" with lore "&7Koster 1.500 ems!" to close then run [make player execute command "MINER"]
- format slot 12 of player with book named "{@p} &7Gambler" with lore "&7Koster 1.500 ems!" to close then run [make player execute command "GAMBLER"]
- stop
- command /buypenge:
- trigger:
- open chest with 3 rows named "{@p}" to player
- format slot 10 of player with book named "{@p} &71.000$" with lore "&7Koster 500 ems!" to close then run [make player execute command "1k"]
- format slot 12 of player with book named "{@p} &75.000$" with lore "&7Koster 1.000 ems!" to close then run [make player execute command "5k"]
- format slot 12 of player with book named "{@p} &715.000$" with lore "&7Koster 2.000 ems!" to close then run [make player execute command "15k"]
- stop
- command /givkøb [<player>] [<text>]:
- permission: givkøb.sk
- permission message: &cDu har ikke adgang til denne komando!
- trigger:
- if arg-1 is set:
- if arg-2 is "Vip":
- make console execute command "/manuaddp %arg-1% essentials.kit.vip"
- make console execute command "/manuaddp %arg-1% essentials.kits.vip"
- make console execute command "/manuaddp %arg-1% essentials.kit"
- make console execute command "/manuaddp %arg-1% essentials.kits"
- make console execute command "/manuadd %arg-1% Vip"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&bVip&8) &7Rank!"
- else:
- if arg-2 is "Mvp":
- make console execute command "/manuaddp %arg-1% essentials.kit.mvp"
- make console execute command "/manuaddp %arg-1% essentials.kits.mvp"
- make console execute command "/manuaddp %arg-1% essentials.kit"
- make console execute command "/manuaddp %arg-1% essentials.kits"
- make console execute command "/manuadd %arg-1% Mvp"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&aMvp&8) &7Rank!"
- else:
- if arg-2 is "Mvp+":
- make console execute command "/manuaddp %arg-1% essentials.kit.mvp+"
- make console execute command "/manuaddp %arg-1% essentials.kits.mvp+"
- make console execute command "/manuaddp %arg-1% essentials.kit"
- make console execute command "/manuaddp %arg-1% essentials.kits"
- make console execute command "/manuadd %arg-1% Mvp+"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&6Mvp+&8) &7Rank!"
- else:
- if arg-2 is "C-Vagt":
- make console execute command "/manuaddp %arg-1% essentials.kit.C-vagt"
- make console execute command "/manuaddp %arg-1% essentials.kits.C-vagt"
- make console execute command "/manuaddp %arg-1% essentials.kit"
- make console execute command "/manuaddp %arg-1% essentials.kits"
- make console execute command "/manuadd %arg-1% C-Vagt"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&cC-Vagt&8) &7Rank!"
- else:
- if arg-2 is "Farmer":
- make console execute command "/manuaddp %arg-1% essentials.kit.Farmer"
- make console execute command "/manuaddp %arg-1% essentials.kits.Farmer"
- make console execute command "/manuaddp %arg-1% essentials.kit"
- make console execute command "/manuaddp %arg-1% essentials.kits"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &aFarmer&7!"
- else:
- if arg-2 is "Miner":
- make console execute command "/manuaddp %arg-1% essentials.kit.Miner"
- make console execute command "/manuaddp %arg-1% essentials.kits.Miner"
- make console execute command "/manuaddp %arg-1% essentials.kit"
- make console execute command "/manuaddp %arg-1% essentials.kits"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &8Miner&7!"
- else:
- if arg-2 is "Gambler":
- make console execute command "/manuaddp %arg-1% essentials.kit.Gambler"
- make console execute command "/manuaddp %arg-1% essentials.kits.Gambler"
- make console execute command "/manuaddp %arg-1% essentials.kit"
- make console execute command "/manuaddp %arg-1% essentials.kits"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &6Gambler&7!"
- else:
- if arg-2 is "tusinde":
- make console execute command "/eco give %arg-1% 1000"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a1000$&7!"
- else:
- if arg-2 is "femtusinde":
- make console execute command "/eco give %arg-1% 5000"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a5000$&7!"
- else:
- if arg-2 is "femtentusinde":
- make console execute command "/eco give %arg-1% 15000"
- broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a15000$&7!"
- else:
- send "&cDu har ikke valgt en at give sit/sine køb"
- command /VIP:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cVIP&7! Dette vil koste &c1.000 &7ems i en lobby."
- command /MVP:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cMVP&7! Dette vil koste &c2.000 &7ems i en lobby."
- command /MVP+:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cMVP+&7! Dette vil koste &c3.000 &7ems i en lobby."
- command /VAGT:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cVAGT&7! Dette vil koste &c5.000 &7ems i en lobby."
- command /FARMER:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cFARMER&7! Dette vil koste &c1.500 &7ems i en lobby."
- command /GAMBLER:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cGAMBLER&7! Dette vil koste &c1.500 &7ems i en lobby."
- command /MINER:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cMINER&7! Dette vil koste &c1.500 &7ems i en lobby."
- command /1k:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c1k&7$! Dette vil koste &c500 &7ems i en lobby."
- command /5k:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c5k&7$! Dette vil koste &c1.000 &7ems i en lobby."
- command /15k:
- trigger:
- broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c15k&7$! Dette vil koste &c2.000 &7ems i en lobby."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement