Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 1 second:
- loop all players:
- if {credits.%loop-player%} is not set:
- set {credits.%loop-player%} to 0
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&3&l%{title}%"
- set score "π¨π¨" in sidebar of loop-player to 15
- set score "&3Credits:" in sidebar of loop-player to 14
- set score " &b%{credits.%loop-player%}%" in sidebar of loop-player to 13
- set score "π¨π¨π¨π¨" in sidebar of loop-player to 12
- set score "&3Discord:" in sidebar of loop-player to 11
- set score " &b%{discord}%" in sidebar of loop-player to 10
- set score "π¨π¨π¨π¨π¨π¨" in sidebar of loop-player to 9
- set score "&3BuyCraft:" in sidebar of loop-player to 8
- set score "&b %{buycraft}%" in sidebar of loop-player to 7
- set score "π¨π¨π¨π¨π¨π¨π¨π¨" in sidebar of loop-player to 6
- set score " &b%{serverip}%" in sidebar of loop-player to 5
- command /setup [<text>] [<text>]:
- permission: server.setup
- permission message: &2&lPERMISSION&8: &2You can not do this!
- trigger:
- if arg-1 is not set:
- send "&3Options: &bTitle, Discord, Buycraft, ServerIP"
- stop
- if arg-1 is not "title" or "discord" or "buycraft" or "serverip":
- send "&3Options: &bTitle, Discord, Buycraft, ServerIP"
- stop
- if arg-2 is not set:
- send "&3Error: &bArgument not set!"
- stop
- if arg-1 is set:
- if arg-2 is set:
- if arg-1 is "title":
- set {title} to "%arg-2%"
- send "&3Title &bset to %arg-2%&b"
- if arg-1 is "discord":
- set {discord} to "%arg-1%"
- send "&3Discord Link &bset to %arg-2%&b"
- if arg-1 is "buycraft":
- set {buycraft} to "%arg-2%"
- send "&3BuyCraft &bset to %arg-2%&b"
- if arg-1 is "serverip":
- set {serverip} to "%arg-2%"
- send "&3Discord &bset to %arg-2%&b"
Add Comment
Please, Sign In to add comment