Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {rank::%uuid of player%} is not set:
- antibot(player)
- else:
- delete {antibot::%player%}
- delete {antibottext::%player%}
- set {_uuid} to uuid of player
- set {_p} to player
- if {balance::%{_uuid}%} is not set:
- set {balance::%{_uuid}%} to 0
- tutorial(player)
- give player 1 of white stained glass named "&bGenerator" with lore "&f&lCOMMON" and "&f" and "&7Place down every 5 seconds drops money" and "&7above the generator"
- teleport player to {spawn}
- broadcast "&fWelcome &b%{_p}% &fTo Banknote &b/tutorial &ffor help &b##%{logins}%"
- add 1 to {logins}
- set {_new} to true
- if {gens::%{_uuid}%} is not set:
- set {gens::%{_uuid}%} to 0
- set {runes::%{_uuid}%} to 0
- set {xp::%{_uuid}%} to 0
- set {level::%{_uuid}%} to 1
- set {balance::%{_uuid}%} to 0
- set {_new} to true
- if {_new} is not set:
- if {lastloc::%player%} is not {antibot}:
- teleport the player to {lastloc::%player%}
- delete {lastloc::%player%}
- else:
- teleport the player to {spawn}
- set slot 0 of player's inventory to unbreakable iron sword
- set slot 1 of player's inventory to unbreakable iron pickaxe
- if {rank::%uuid of player%} is set:
- if {role::%uuid of player%} is not set:
- set the join message to "&8[&a+&8] %rank(player)% &3%player%"
- else:
- set the join message to "&8[&a+&8] %{role::%uuid of player%}% &3%player%"
- else:
- set the join message to "&8[&a+&8] &3%player%"
- command /prestigeset [<offline player>] [<text>]:
- permission: *
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 2 is not "none":
- set {prestige::%uuid of arg-1%} to arg 2
- else:
- delete {prestige::%uuid of arg-1%}
- on inventory close:
- if {antibot::%player%} is set:
- kick the player due to "&4&lFailed Antibot"
- on pickup:
- cancel event
- set {_a} to item amount of event-item
- delete event-entity
- add {_a} of event-item to player's inventory
- on quit:
- if {role::%player%} is not set:
- if {antibot::%player%} is set:
- delete {antibot::%player%}
- set the quit message to "&f"
- else if {rank::%player%} is set:
- set the quit message to "&8[&4-&8] %rank(player)% &3%player%"
- else:
- set the quit message to "&8[&4-&8] &3%player%"
- else:
- set the quit message to "&8[&4-&8] %{role::%uuid of player%}% &3%player%"
- if {antibot::%player%} is set:
- delete {antibot::%player%}
- set the quit message to "&f"
- loop {block::%player%::*}:
- if block at loop-value is sea lantern:
- set {_check} to true
- if {_check} is not set:
- loop {block::%player%::*}:
- if block at loop-value is cobblestone or iron block or smooth stone or polished andesite:
- set block at loop-value to air
- delete {block::owner::%loop-value%}
- delete {block::%player%::%loop-value%}
- command /blockreset:
- permission: *
- trigger:
- loop {block::owner::*}:
- broadcast ".%loop-value-1%"
- loop {block::%loop-value-1%::*}:
- delete {block::%loop-value-1%::%loop-value-2%}
- delete {block::owner::%loop-value-2%}
- set block at loop-value-2 to air
- loop {block::%uuid of loop-value-1%::*}:
- delete {block::%uuid of loop-value-1%::%loop-value-2%}
- delete {block::owner::%loop-value-2%}
- set block at loop-value-2 to air
- command /baltop:
- trigger:
- loop {balance::*}:
- add 1 to {_size}
- if {_low.to.high.list::%loop-value%} is not set:
- set {_low.to.high.list::%loop-value%} to loop-index
- else:
- set {_n} to 0
- loop {_size} times:
- set {_n} to {_n}+1
- {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
- set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
- stop loop
- wait 1 tick
- set {_n} to size of {_low.to.high.list::*}
- loop {_low.to.high.list::*}:
- set {_high.to.low.list::%{_n}%} to loop-value
- set {_n} to {_n}-1
- wait 1 tick
- set {_i} to 0
- #THIS IS THE MESSAGE WITH TOP BALANCE
- send " &3&lBaltop &8(&3$&b10 &3Buycraft&8)"
- loop {_high.to.low.list::*}:
- add 1 to {_topnumber}
- set {_player} to "%loop-value%" parsed as offlineplayer
- set {_uuid} to uuid of {_player}
- send "&3%{_topnumber}%&8| &b%{_player}% &8| &b%{balance::%{_uuid}%}%&3$"
- add 1 to {_i}
- if {_topnumber} > 9: #this is top 10 you can change it
- stop
- command /leveltop:
- trigger:
- loop {prestige::*}:
- add 1 to {_size2}
- if {_low.to.high.list2::%loop-value%} is not set:
- set {_low.to.high.list2::%loop-value%} to loop-index
- else:
- set {_n2} to 0
- loop {_size2} times:
- set {_n2} to {_n2}+1
- {_low.to.high.list2::%loop-value-1%.%{_n2}%} is not set
- set {_low.to.high.list2::%loop-value-1%.%{_n2}%} to loop-index
- stop loop
- loop {level::*}:
- add 1 to {_size}
- if {_low.to.high.list::%loop-value%} is not set:
- set {_low.to.high.list::%loop-value%} to loop-index
- else:
- set {_n} to 0
- loop {_size} times:
- set {_n} to {_n}+1
- {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
- set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
- stop loop
- wait 1 tick
- set {_n} to size of {_low.to.high.list::*}
- loop {_low.to.high.list::*}:
- set {_high.to.low.list::%{_n}%} to loop-value
- set {_n} to {_n}-1
- wait 1 tick
- set {_i} to 0
- wait 1 tick
- set {_n2} to size of {_low.to.high.list2::*}
- loop {_low.to.high.list2::*}:
- set {_high.to.low.list2::%{_n2}%} to loop-value
- set {_n2} to {_n2}-1
- wait 1 tick
- #THIS IS THE MESSAGE WITH TOP BALANCE
- send " &3&lLeveltop &8(&3$&b10 &3Buycraft&8)"
- loop {_high.to.low.list2::*}:
- add 1 to {_topnumber}
- set {_player} to "%loop-value-1%" parsed as offlineplayer
- set {_uuid} to uuid of {_player}
- set {_text} to prestigecheck({_player})
- remove loop-value from {_high.to.low.list::*}
- remove loop-value from {_high.to.low.list2::*}
- send "&3%{_topnumber}%&8| &b%{_player}% &8| &8[%{_text}%&8-&f%{level::%{_uuid}%}%&8]"
- add 1 to {_i}
- if {_topnumber} >= 10: #this is top 10 you can change it
- stop
- loop {_high.to.low.list::*}:
- add 1 to {_topnumber}
- set {_player} to "%loop-value-1%" parsed as offlineplayer
- set {_uuid} to uuid of {_player}
- send "&3%{_topnumber}%&8| &b%{_player}% &8| &8[&f%{level::%{_uuid}%}%&8]"
- add 1 to {_i}
- if {_topnumber} >= 10: #this is top 10 you can change it
- stop
- every 8 minutes:
- send "&f" to all players
- send "<link:https://discord.gg/m6Kp7eq>&b&lDISCORD &f<- Click for discord link!" to all players
- send "&f" to all players
- command /blockfix [<text>]:
- permission: *
- trigger:
- if arg 1 is "cobble":
- loop {block::owner::*}:
- loop {block::%loop-value-1%::*}:
- if block at loop-value-2 is cobblestone:
- delete {block::%loop-value-1%::%loop-value-2%}
- delete {block::owner::%loop-value-2%}
- set block at loop-value-2 to air
- add 1 to {_amount}
- send "&3&lRemoved &b&l%{_amount}% &3&lCobblestone blocks"
- command /rules:
- trigger:
- send "&4&l Rules"
- send "&b1&8. &fNo Spawn Camping - Perm Ban"
- send "&b2&8. &fSwearing is allowd dont be toxic towards others - 24h Mute"
- send "&b3&8. &fNo Hack Clients - Perm Ban"
- send "&b4&8. &fNo unfair advantages (butterfly clicking, autoclicking) - Perm Ban"
- send "&b5&8. &fNo staff disrespect - 24h Mute"
- send "&b6&8. &fNo teams bigger than 3 people - Entire Team 3 day Ban"
- send "&b7&8. &fScamming/insiding - Perm Ban"
- send "&b8&8. &fLieing To The Owner - Perm Ban"
- send "&b9&8. &fCannot Take over Players Gens or force into giving you there gens or ingame items through real life - Perm Ban"
- send "&b10&8. &fBlock Glitching (place sea lantern through blocks) - Perm Ban"
- send "&b11&8. &fFarming kills (with friends/bots) - Perm Ban"
- send "&b12&8. &fAuto/afk Claiming Banknotes - Perm Ban"
- on inventory click:
- if "%inventory action%" = "swap with hotbar" or "hotbar move and read":
- cancel event
- else if index of event-slot = 0 or 1:
- event-inventory = player's inventory
- cancel event
- command /fakeleave:
- permission: *
- trigger:
- broadcast "&8[&4-&8] %{role::%uuid of player%}% &3%player%"
- command /tutorial:
- trigger:
- tutorial(player)
- function tutorial(p: player):
- send " &3&lTutorial" to {_p}
- send "&fStart by going out and killing people to get xp and money, with that you can buy generators in /shop. Mine resources" to {_p}
- send "&faround the map and do /craft to make blocks and explosvies with them! explosives are used to raid the types of block" to {_p}
- send "&fbesides cobblestone. When you die all your blocks disapeer but if you have a respawn lantern it will teleport you to" to {_p}
- send "&fthe respawn lantern in return it breaks but saves all your blocks" to {_p}
- command /invsee [<player>]:
- permission: *
- trigger:
- open arg 1's inventory to the player
- command /spawnset:
- permission: *
- trigger:
- set {spawn} to location of player
- set {spawn}'s pitch to player's pitch
- set {spawn}'s yaw to player's yaw
- command /rankset [<offline player>] [<text>]:
- permission: *
- trigger:
- if arg 1 is not set:
- send "/rankset player gay/gay+/queer/queer+/trans/trans+/none"
- else if arg 1 is set:
- if arg 2 is "gay":
- set {rank::%uuid of arg 1%} to 1
- else if arg 2 is "gay+":
- set {rank::%uuid of arg 1%} to 2
- else if arg 2 is "queer":
- set {rank::%uuid of arg 1%} to 3
- else if arg 2 is "queer+":
- set {rank::%uuid of arg 1%} to 4
- else if arg 2 is "trans":
- set {rank::%uuid of arg 1%} to 5
- else if arg 2 is "trans+":
- set {rank::%uuid of arg 1%} to 6
- else if arg 2 is "god":
- set {rank::%uuid of arg 1%} to 7
- else if arg 2 is "god+":
- set {rank::%uuid of arg 1%} to 8
- else if arg 2 is "boomer":
- set {rank::%uuid of arg 1%} to 9
- else if arg 2 is "boomer+":
- set {rank::%uuid of arg 1%} to 10
- else if arg 2 is "exotic":
- set {rank::%uuid of arg 1%} to 11
- else if arg 2 is "poison":
- set {rank::%uuid of arg 1%} to 11.1
- else if arg 2 is "none":
- delete {rank::%uuid of arg 1%}
- command /roleset [<offline player>] [<text>]:
- permission: *
- trigger:
- if arg 1 is not set:
- send "/roleset player owner/staff"
- else if arg 1 is set:
- if arg 2 is "staff":
- set {role::%uuid of arg 1%} to "&c&lSTAFF"
- else if arg 2 is "owner":
- set {role::%uuid of arg 1%} to "&c&lOWNER"
- else if arg 2 is "none":
- delete {role::%uuid of arg 1%}
- function rank(p: player) :: text:
- set {_p} to uuid of {_p}
- if {rank::%{_p}%} is 1:
- return "&a&lVIP"
- else if {rank::%{_p}%} is 2:
- return "&a&lVIP&2&l+"
- else if {rank::%{_p}%} is 3:
- return "&b&lMVP"
- else if {rank::%{_p}%} is 4:
- return "&b&lMVP&3&l+"
- else if {rank::%{_p}%} is 5:
- return "&5&lMYTHIC"
- else if {rank::%{_p}%} is 6:
- return "&5&lMYTHIC&d&l+"
- else if {rank::%{_p}%} is 7:
- return "&e&lGOD"
- else if {rank::%{_p}%} is 8:
- return "&e&lGOD&6&l+"
- else if {rank::%{_p}%} is 9:
- return "&4&lBOOMER"
- else if {rank::%{_p}%} is 10:
- return "&4&lBOOMER&c&l+"
- else if {rank::%{_p}%} is 11:
- return "&c&l&k-&r&4&lREDSTONE&c&l&k-&r"
- else if {rank::%{_p}%} is 11.1:
- return "&2&l&k-&r&a&lPOISON&2&l&k-&r"
- every 5 minutes:
- execute console command "/br &fWanna advantage over your enemies!? &b&n/buy&r &fBuy ranks or gen slots and ranks have a xp and money booster!!!"
- function kill(v: player , a: player):
- heal {_v}
- chance of 50%:
- add 1 to {runes::%{_uuida}%}
- set {_uuidv} to uuid of {_v}
- set {_uuida} to uuid of {_a}
- set {_xp} to random integer between 6 and 9
- set {_$} to random integer between 7 and 10
- send action bar "&3&lDeath&8&l: &fKilled By &b%{_a}% &ffor &b%{_xp}%&3 XP &fand &b%{_$}%&3$" to {_v}
- send action bar "&3&lDeath&8&l: &fKilled &b%{_v}% &fand got &b%{_xp}%&3 XP &fand &b%{_$}%&3$" to {_a}
- add {level::%{_uuidv}%} / 2.5 to {_xp}
- add {level::%{_uuida}%} / 4 to {_xp}
- if {rank::%{_uuida}%} is set:
- set {_xp} to {_xp} * ({rank::%{_uuida}%} / 10 + 1)
- if {rank::%{_uuida}%} is set:
- set {_$} to {_$} * ({rank::%{_uuida}%} / 10 + 1)
- loop {block::%{_v}%::*}:
- if block at loop-value is sea lantern:
- set {_loc} to loop-value
- set {_owner} to {block::owner::%{_loc}%}
- set block at {_loc} to air
- delete {block::owner::%{_loc}%}
- delete {block::%{_owner}%::%{_loc}%}
- teleport {_v} to {_loc}
- set {_check} to true
- if {_check} is not set:
- teleport {_v} to {spawn}
- loop {block::%{_v}%::*}:
- delete {block::%{_v}%::%loop-value%}
- delete {block::owner::%loop-value%}
- if block at loop-value is cobblestone or smooth stone or iron block or polished andesite or iron trapdoor:
- set block at loop-value to air
- delete {block::owner::%loop-value%}
- delete {block::%{_v}%::%loop-value%}
- if {level::%{_uuida}%} is less than 20:
- add {_xp} to {xp::%{_uuida}%}
- add {_$} to {balance::%{_uuida}%}
- if {xp::%{_uuida}%} is greater than xpnext({_a}):
- if {level::%{_uuida}%} is less than 20:
- set {xp::%{_uuida}%} to 0
- add 1 to {level::%{_uuida}%}
- send title "&b&lLeveled Up!" with subtitle "&8[&f%{level::%{_uuida}%} - 1%&8] &b➠ &8[&f%{level::%{_uuida}%}%&8]" to {_a}
- command /fix [<offline player>]:
- permission: *
- trigger:
- set {balance::%arg 1%} to 0
- set {xp::%arg 1%} to 0
- set {level::%arg 1%} to 1
- on death:
- kill(victim, attacker)
- command /suicide:
- trigger:
- set {_uuidv} to uuid of player
- set {_v} to player
- heal {_v}
- loop {block::%{_v}%::*}:
- if block at loop-value is sea lantern:
- set {_loc} to loop-value
- set {_owner} to {block::owner::%{_loc}%}
- set block at {_loc} to air
- delete {block::owner::%{_loc}%}
- delete {block::%{_owner}%::%{_loc}%}
- teleport {_v} to {_loc}
- set {_check} to true
- if {_check} is not set:
- teleport {_v} to {spawn}
- loop {block::%{_v}%::*}:
- delete {block::%{_v}%::%loop-value%}
- delete {block::owner::%loop-value%}
- if block at loop-value is cobblestone or bedrock or gray stained glass or iron trapdoor:
- set block at loop-value to air
- delete {block::owner::%loop-value%}
- delete {block::%{_v}%::%loop-value%}
- function xpnext(p: player) :: number:
- set {_uuid} to uuid of {_p}
- loop {level::%{_uuid}%} times:
- if {_xp} is not set:
- set {_xp} to 140
- else:
- set {_xp} to {_xp} * 1.42
- set {_xp} to round ({_xp})
- return {_xp}
- command /maxgensadd [<offline player>] [<number>]:
- permission: *
- trigger:
- if arg 2 is not set:
- add 1 to {genslots::%uuid of arg 1%}
- else:
- add arg-2 to {genslots::%uuid of arg 1%}
- command /br [<text>]:
- permission: *
- trigger:
- set {_arg1} to colored arg 1
- broadcast "&f"
- broadcast "&3&lBanknote &8&l| &f%{_arg1}%"
- broadcast "&f"
- command /bal [<offline player>]:
- trigger:
- send "&3&lBalance&8&l: &b%arg 1% &fcurrent balance is &b%{balance::%uuid of arg-1%}%&3$"
- command /deletecombattag:
- permission: *
- trigger:
- loop {combattag::*}:
- delete {combattagtime::%loop-value%}
- delete {combattag::%loop-value%}
- on place of cobblestone:
- if "%region at event-block%" does not contain "spawnarea":
- set {block::owner::%location of event-block%} to player
- set {block::%player%::%location of event-block%} to location of event-block
- else:
- cancel event
- on break of cobblestone:
- delete {block::%{block::owner::%location of event-block%}%::%location of event-block%}
- delete {block::owner::%location of event-block%}
- command /serverreset:
- permission: *
- trigger:
- set {_n} to "K9Lil" parsed as a player
- if name of player is {_n}:
- delete {balance::*}
- delete {antibot::*}
- loop {block::owner::*}:
- set {_uuid} to uuid of loop-value
- delete {block::%loop-value-1%::*}
- delete {block::%{_uuid}%::*}
- delete {block::owner::*}
- delete {gems::*}
- delete {breakingtime::*}
- delete {generators::*}
- delete {gens::*}
- delete {level::*}
- delete {prestige::*}
- delete {owner::*}
- delete {xp::*}
- set {logins} to 0
- else:
- send "&4&lOnly K9Lil Can Do this Command"
- on chat:
- cancel event
- if {antibot::%player%} is set:
- if message contains {antibottext::%player%}:
- delete {antibot::%player%}
- delete {antibottext::%player%}
- set {_uuid} to uuid of player
- set {_p} to player
- if {balance::%{_uuid}%} is not set:
- set {balance::%{_uuid}%} to 0
- tutorial(player)
- give player 1 of white stained glass named "&bGenerator" with lore "&f&lCOMMON" and "&f" and "&7Place down every 5 seconds drops money" and "&7above the generator"
- teleport player to {spawn}
- broadcast "&fWelcome &b%{_p}% &fTo Banknote &b/tutorial &ffor help &b##%{logins}%"
- add 1 to {logins}
- set {_new} to true
- if {gens::%{_uuid}%} is not set:
- set {gens::%{_uuid}%} to 0
- set {rune::%{_uuid}%} to 0
- set {xp::%{_uuid}%} to 0
- set {level::%{_uuid}%} to 1
- set {balance::%{_uuid}%} to 0
- set {_new} to true
- if {_new} is not set:
- if {lastloc::%player%} is not {antibot}:
- teleport the player to {lastloc::%player%}
- delete {lastloc::%player%}
- else:
- teleport the player to {spawn}
- else:
- kick the player due to "&4&lTyped Antibot Incorrectly"
- else:
- if {role::%uuid of player%} is set:
- broadcast "%displaycheck(player)% &8| &f%message%"
- else if {rank::%uuid of player%} is set:
- broadcast "%displaycheck(player)% &8| &f%message%"
- else:
- broadcast "%displaycheck(player)% &8| &7%message%"
- item damage:
- cancel event
- repair tool
- on hunger meter change:
- cancel event
- on drop:
- if event-item = sword, pickaxe, helmet, chestplate, leggings or boots:
- cancel event
- command /discord:
- trigger:
- send "&f" to player
- send "<link:https://discord.gg/m6Kp7eq>&b&lDISCORD &f<- Click for discord link!" to player
- send "&f" to player
- on craft:
- cancel event
- on swap hand items:
- cancel event
- on damage:
- if {data::clan::%uuid of victim%} is {data::clan::%uuid of attacker%}:
- cancel event
- stop
- if damage cause is fall:
- cancel event
- stop
- if "%region at victim%" contains "nopvp" or "nopvp1":
- cancel event
- send title "&3&lSpawn" with subtitle "&fYou dont have permission to damage player's here!" to attacker
- if victim's health is less than 3.9:
- cancel event
- kill(victim, attacker)
- on break of stone or purple concrete or purple stained glass or black stained glass or gray concrete or lantern or black concrete:
- if {staffmode::%uuid of player%} is not set:
- cancel event
- send title "&3&lMap" with subtitle "&fYou dont have permission to break these type of blocks!" to player
- command /staffmode [<offline player>]:
- permission: *
- trigger:
- if {staffmode::%uuid of arg-1%} is set:
- delete {Staffmode::%uuid of arg-1%}
- send title "&b&lStaffmode" with subtitle "&fStaffmode has been turned &bOff" to arg 1
- else if {staffmode::%uuid of arg-1%} is not set:
- set {staffmode::%uuid of arg-1%} to true
- send title "&b&lStaffmode" with subtitle "&fStaffmode has been turned &bOn" to arg 1
- every 3 seconds:
- loop all players:
- wipe loop-player's sidebar
- set tablist name of loop-player to "&f%displaycheck(loop-player)%"
- set name of sidebar of loop-player to "&b&lBanknote &8[&3&nV&b3.0.0&8]"
- set score "&3----------------------" in sidebar of loop-player to 12
- set score "&b&l▷ &3&l%loop-player%" in sidebar of loop-player to 11
- set score " &b▷ &fBalance&8: &b%{balance::%uuid of loop-player%}%&3$" in sidebar of loop-player to 10
- set score " &b▷ &fRunes&8: &c%{runes::%uuid of loop-player%}%&4&l♢" in sidebar of loop-player to 9
- if {prestige::%uuid of loop-player%} is not set:
- set score " &b▷ &fLevel&8: &f%{level::%uuid of loop-player%}%" in sidebar of loop-player to 8
- else:
- set score " &b▷ &fLevel&8: %prestigecheck(loop-player)%&8-&f%{level::%uuid of loop-player%}%" in sidebar of loop-player to 8
- set score " &b▷ &fGens&8: &b%{gens::%uuid of loop-player%}%&7/&3%maxgens(loop-player)%" in sidebar of loop-player to 7
- if {level::%uuid of loop-player%} is not 20 + {prestige::%uuid of loop-player%}:
- set score " &b▷ &fXp&8: &b%{xp::%uuid of loop-player%}%&7/&3%xpnext(loop-player)%" in sidebar of loop-player to 6
- else:
- set score " &b▷ &fXp&8: &bMAX&7/&3MAX" in sidebar of loop-player to 6
- set score "&3-&3---------------------" in sidebar of loop-player to 5
- set score "&b&l▷ &3&lServer" in sidebar of loop-player to 4
- set score " &b▷ &fOnline&8: &b%number of all players%&7/&375" in sidebar of loop-player to 3
- set score " &b▷ &fLogins&8: &3##&b%{logins}%" in sidebar of loop-player to 2
- set score "&3--&3--------------------" in sidebar of loop-player to 1
- function maxgens(p: player) :: number:
- set {_p} to uuid of {_p}
- set {_maxgens} to ({rank::%{_p}%} + 0) + {level::%{_p}%} + 4 + {genslots::%{_p}%} + 0
- return {_maxgens}
- function displaycheck(p: player) :: text:
- set {_up} to uuid of {_p}
- if {role::%{_up}%} is set:
- if {clan::%{_up}%} is set:
- if {prestige::%{_up}%} is set:
- return "&8[&e%prestigecheck({_p})%&8-&f%{level::%{_up}%}%&8] &8[&b%{clan::%{_up}%}%&8] %{role::%{_up}%}% &3%{_p}%"
- else:
- return "&8[&e%prestigecheck({_p})%&8-&f%{level::%{_up}%}%&8] &8[&b%{clan::%{_up}%}%&8] %{role::%{_up}%}% &3%{_p}%"
- else:
- if {prestige::%{_up}%} is set:
- return "&8[&e%prestigecheck({_p})%&8-&f%{level::%{_up}%}%&8] %{role::%{_up}%}% &3%{_p}%"
- else:
- return "&8[&f%{level::%{_up}%}%&8] %{role::%{_up}%}% &3%{_p}%"
- else if {rank::%{_up}%} is set:
- if {clan::%{_up}%} is set:
- if {prestige::%{_up}%} is set:
- return "&8[&e%prestigecheck({_p})%&8-&f%{level::%{_up}%}%&8] &8[&b%{clan::%{_up}%}%&8] %rank({_p})% &3%{_p}%"
- else:
- return "&8[&f%{level::%{_up}%}%&8] &8[&b%{clan::%{_up}%}%&8] %rank({_p})% &3%{_p}%"
- else:
- if {prestige::%{_up}%} is set:
- return "&8[&e%prestigecheck({_p})%&8-&f%{level::%{_up}%}%&8] %rank({_p})% &3%{_p}%"
- else:
- return "&8[&f%{level::%{_up}%}%&8] %rank({_p})% &3%{_p}%"
- else if {rank::%{_up}%} is not set:
- if {clan::%{_up}%} is set:
- if {prestige::%{_up}%} is set:
- return "&8[&e%prestigecheck({_p})%&8-%{level::%{_up}%}%&8] &8[&b%{clan::%{_up}%}%&8] &3%{_p}%"
- else:
- return "&8[&7%{level::%{_up}%}%&8] &8[&b%{clan::%{_up}%}%&8] &3%{_p}%"
- else:
- if {prestige::%{_up}%} is set:
- return "&8[&e%prestigecheck({_p})%&8-%{level::%{_up}%}%&8] &3%{_p}%"
- else:
- return "&8[&7%{level::%{_up}%}%&8] &3%{_p}%"
- command /currency [<text>] [<offline player>] [<text>] [<number>]:
- permission: *
- trigger:
- if arg 1 is not set:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 1 is set:
- if arg 1 is "set":
- if arg 2 is set:
- if arg 3 is "level":
- if arg 4 is set:
- if arg 4 is greater than -1:
- set {level::%uuid of arg-2%} to arg 4
- send "&fset %arg 2%'s level to %arg 4%"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 3 is "bal":
- if arg 4 is set:
- if arg 4 is greater than -1:
- set {balance::%uuid of arg-2%} to arg 4
- send "&fset %arg 2%'s bal to %arg 4%$"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 3 is "xp":
- if arg 4 is set:
- if arg 4 is greater than -1:
- set {xpnext::%uuid of arg-2%} to 100
- set {xp::%uuid of arg-2%} to 0
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 1 is "add":
- if arg 2 is set:
- if arg 3 is "level":
- if arg 4 is set:
- if arg 4 is greater than -1:
- add arg 4 to {level::%uuid of arg-2%}
- send "&fadded %arg 4% to %arg 2%'s level"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 3 is "bal":
- if arg 4 is set:
- if arg 4 is greater than -1:
- add arg 4 to {balance::%uuid of arg-2%}
- send "&fadded %arg 4%$ to %arg 2%'s bal"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 3 is "xp":
- if arg 4 is set:
- if arg 4 is greater than -1:
- set {xpnext::%uuid of arg-2%} to 100
- set {xp::%uuid of arg-2%} to 0
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 1 is "remove":
- if arg 2 is set:
- if arg 3 is "level":
- if arg 4 is set:
- if arg 4 is greater than -1:
- remove arg 4 from {level::%uuid of arg-2%}
- send "&fadded %arg 4% to %arg 2%'s level"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 3 is "bal":
- if arg 4 is set:
- if arg 4 is greater than -1:
- remove arg 4 from {bal::%uuid of arg-2%}
- send "&fremoved %arg 4%$ from %arg 2%'s bal"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else if arg 3 is "xp":
- if arg 4 is set:
- if arg 4 is greater than -1:
- set {xpnext::%uuid of arg-2%} to 100
- set {xp::%uuid of arg-2%} to 0
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
- else:
- send "&f/currency (set/add/remove) (player) (level/bal/xp/genmax) (number)"
Add Comment
Please, Sign In to add comment