Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &3[Vote]
- command /vote:
- aliases: /stem
- trigger:
- message "&3&l&m-----------------------------------------------"
- message "&bHej, &3%player%!"
- message "&bDu kan stemme på serveren her: &5minecraftlist.dk"
- message "&bDu kan se alle dine stats herunder:"
- message ""
- message "&bVote points: &3%{votepoints.%player%}%"
- message "&bKan stemme: &3%{stemme.%player%}%"
- message ""
- message "&bDu kan bruge dine &3vote points&b hos &5&lPer!"
- message "&3&l&m-----------------------------------------------"
- on vote:
- message "&3&l&m----------------------------------------------------"
- message "&bTak for din stemme!"
- message "&bHusk at stem igen imorgen!"
- message "&bDu har modtaget følgende:"
- message ""
- message "&b- &31x vote point"
- message ""
- message "&bSkriv &3/stem&b for at få info om dit stemme pis!"
- message ""
- message "&bDu kan bruge dine &3vote points&b hos &5&lPer!"
- message "&3&l&m----------------------------------------------------"
- add 1 to {votepoints.%player%}
- set {stemme.%player%} to "&3Nej"
- command /votemenu:
- trigger:
- open chest with 3 rows named "&3&lVoter &bPer" to player
- wait 1 tick
- format slot 12 of player with skull of player named "&3&l&m--------------------" with lore "&3&lVote info:||&f||&bVote points: &3%{votepoints.%player%}%||&bKan stemme:&3 %{stemme.%player%}%||&3&l&m--------------------" to be unstealable
- format slot 14 of player with Nether Star named "&3&lShop" with lore "&bDu kan bruge dine||&3vote points&b her!" to run [make player execute command "/voteshop"]
- command /voteshop [<text>]:
- trigger:
- if arg 1 is not set:
- open chest with 3 rows named "&3&lVote&b Shop" to player
- wait 1 tick
- format slot 0 of player with 16 of steak named "&b&l&oSteak" with lore "&bAntal:&3 16||&bPris:&3 2 vote points" to close then run [make player execute command "/voteshop steak"]
- format slot 4 of player with 2 of iron sword named "&b&l&oIron Sword" with lore "&bAntal: &32||&bPris:&3 4 vote points" to close then run [make player execute command "/voteshop ironsword"]
- format slot 7 of player with iron pickaxe of efficiency 1 named "&3&l&oVoter &bPickaxe" with lore "&bAntal:&3 1||&bPris: &34 vote points" to close then run [make player execute command "/voteshop ironpickaxe"]
- format slot 8 of player with diamond pickaxe of efficiency 1 named "&3&l&oUltra Voter Pickaxe" with lore "&bAntal: 1||&bPris: &320 vote points" to close then run [make player execute command "/voteshop diamondpickaxe"]
- format slot 9 of player with 32 of 296 named "&3&l&oWheat" with lore "&bAntal: &332||&bPris:&3 15 vote points" to close then run [make player execute command "/voteshop wheat"]
- format slot 10 of player with 32 of sugar named "&b&l&oSugar" with lore "&bAntal: &332||&bPris:&3 15 vote points" to close then run [make player execute command "/voteshop sugar"]
- format slot 13 of player with 2 of diamond sword named "&b&l&oDiamond Sword" with lore "&bAntal: &32||&bPris:&3 25 vote points" to close then run [make player execute command "/voteshop diamondsword"]
- format slot 18 of player with 397:3 named "&b&l&oItzExilonDK hovede" with lore "||&f||&b&lItzExilonDK har codet dette skript" to be unstealable
- format slot 25 of player with gold block named "&b&l&o$50.000" with lore "&bAntal: &3$50000||&bPris:&3 50 vote points" to close then run [make player execute command "/voteshop 50k"]
- format slot 26 of player with diamond block named "&b&l$100.000" with lore "&bAntal: &3$100000||&bPris: &3100 vote points" to close then run [make player execute command "/voteshop 100k"]
- if arg 1 is "steak":
- if {votepoints.%player%} is more than 2:
- add -2 to {votepoints.%player%}
- execute console command "/give %player% steak 16"
- message "{@prefix} &3Du har fået 16 steaks!"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- if arg 1 is "ironsword":
- if {votepoints.%player%} is more than 4:
- add -4 to {votepoints.%player%}
- execute console command "/give %player% ironsword 2"
- message "{@prefix} &3Du har fået 2 iron swords!"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- if arg 1 is "ironpickaxe":
- if {votepoints.%player%} is more than 4:
- add -4 to {votepoints.%player%}
- execute console command "/give %player% ironpickaxe 1 EFFICIENCY:1"
- message "{@prefix} &3Du har fået 1 iron pickaxe med efficiency 1!"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- stop
- if arg 1 is "diamondpickaxe":
- if {votepoints.%player%} is more than 20:
- add -20 to {votepoints.%player%}
- execute console command "/give %player% diamondpickaxe 1 EFFICIENCY:1"
- message "{@prefix} &3Du har fået 1 diamond pickaxe med efficienct 1!"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- stop
- if arg 1 is "wheat":
- if {votepoints.%player%} is more than 15:
- add -15 to {votepoints.%player%}
- execute console command "/give %player% wheat 32"
- message "{@prefix} &3Du har fået 32 stykker wheat"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- stop
- if arg 1 is "sugar":
- if {votepoints.%player%} is more than 15:
- add -15 to {votepoints.%player%}
- execute console command "/give %player% sugar 32"
- message "{@prefix} &3Du har fået 32 stykker wheat!"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- stop
- if arg 1 is "diamondsword":
- if {votepoints.%player%} is more than 25:
- add -25 to {votepoints.%player%}
- execute console command "/give %player% diamondsword 2"
- message "{@prefix} &3Du har fået 2 diamond sword"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- stop
- if arg 1 is "50k":
- if {votepoints.%player%} is more than 50:
- add -50 to {votepoints.%player%}
- add 50000 to player's balance
- message "{@prefix} &3Du har fået 50k!"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- stop
- if arg 1 is "100k":
- if {votepoints.%player%} is more than 100:
- add -100 to {votepoints.%player%}
- add 100000 to player's balance
- message "{@prefix} &3Du har fået 100k!"
- stop
- else:
- message "{@prefix} &c&oDu har ikke nok vote points!"
- stop
- every 1 second:
- loop all players:
- if {votepoints.%Loop-player%} is not set:
- set {votepoints.%loop-player%} to 0
- if {stemme.%loop-player%} is not set:
- set {stemme.%loop-player%} to "&3Ja"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement