Jump to content

_Unsp0ken_

Member
  • Posts

    6
  • Joined

  • Last visited

_Unsp0ken_'s Achievements

Lurker

Lurker (1/6)

1

Reputation

  1. Heres a pretty simple rank creator skript I made recently, I hope you enjoy and find it useful! options: say: &3&lRanks :&r command /rank [<text>] [<text>] [<text>]: permission: op trigger: if arg-1 is "create": if {rank.name.%arg-2%} is not set: if arg-3 is set: set {rank.name.%arg-2%} to arg-2 set {rank.format.%arg-2%} to arg-3 add arg-2 to {ranks::*} send "{@say} &2Rank successfully created" to player else: if {rank.name.%arg-2%} is set: send "{@say} &cThat rank already exists!" to player if arg-1 is "remove": if {rank.name.%arg-2%} is set: if arg-3 is not set: remove arg-2 from {ranks::*} clear {rank.name.%arg-2%} clear {rank.format.%arg-2%} send "{@say} &2Successfully &cremoved &2rank: &e%arg-2%" to player else: if {rank.name.%arg-2%} is not set: send "{@say} &cThat rank doesn't exist!" to player if arg-1 is "list": if arg-2 is not set: if arg-3 is not set: send " " to player send "&3&lRANKS :&r &e%{ranks::*}%" to player send " " to player command /rankset [<text>] [<player>]: permission: op trigger: if {rank.name.%arg-1%} is set: if {rank.name.%arg-1%} is set: set {rank.set.name.%arg-2%} to arg-1 set {rank.set.format.%arg-2%} to {rank.format.%arg-1%} set arg-2's tablist name to colored "%{rank.set.format.%arg-2%}% %arg-2%" send "{@say} &2Successfully set &e%arg-2%&e's &2Rank" to player else: if {rank.name.%arg-1%} is not set: send "{@say} &cThat rank doesn't exist!" to player on join: if {rank.set.format.%player%} is set: set player's tablist name to colored "%{rank.set.format.%player%}% %player%" if {rank.prefix.format.%player%} is set: set player's tablist name to colored "%{rank.set.format.%player%}% %player% %{rank.prefix.format.%player%}%" on chat: if {rank.set.format.%player%} is set: if {rank.prefix.format.%player%} is not set: set chat format to colored "%{rank.set.format.%player%}% %player% &8[&e%{level::%player%}%&8]&r: %message%" else: if {rank.prefix.format.%player%} is set: set chat format to colored "%{rank.set.format.%player%}% %player% %{rank.prefix.format.%player%}% &8[&e%{level::%player%}%&8]&r: %message%" on join: if {rank.set.format.%player%} is not set: make console execute command "/rankset member %player%" command /rankprefix [<player>] [<text>]: permission: op trigger: if arg-2 is set: if arg-1 is set: set {rank.prefix.format.%arg-1%} to arg-2 set arg-1's tablist name to colored "%{rank.set.format.%arg-1%}% %arg-1% %{rank.prefix.format.%arg-1%}%" send "{@say} &e%arg-1%&e's &2Prefix has been successfully set" to player if arg-2 is "reset": if arg-1 is set: clear {rank.prefix.format.%arg-1%} set arg-1's tablist name to colored "%{rank.set.format.%arg-1%}% %arg-1%" send "{@say} &e%arg-1%&e's &2Prefix has been successfully &creset" to player
  2. Try this: variables: {hearts::%player%} = 10 {hearts.left::%player%} = 1 {hearts.add::%player%} = 0 options: ls: &9[&6&lLife&c&lSteal&r&9]&r on death: if victim is a player: if attacker is a player: if {hearts::%victim%} is greater than {hearts.left::%victim%}: add 1 to {hearts::%attacker%} remove 1 from {hearts::%victim%} set max health of attacker to {hearts::%attacker%} set max health of victim to {hearts::%victim%} command /lsreset [<player>]: permission: op trigger: set {hearts::%arg-1%} to 10 set max health of arg-1 to {hearts::%arg-1%} send "{@ls} &2Successfully reset &e%arg-1%&e's &2Health to normal" to player command /lsresetall [<text>]: permission: op trigger: if arg-1 is not set: send "{@ls} &cExecuting this command will reset the skript, thus reseting everyones health. Are you sure you want to do this? Do &e/lsresetall confirm &cto confirm" to player if arg-1 is "confirm": loop all players: set {hearts::%loop-player%} to 10 set {hearts.left::%loop-player%} to 1 set max health of loop-player to {hearts::%loop-player%} send "{@ls} &2Successfully reset the skript" to player #A command to add hearts to people command /hearts [<text>] [<number>] [<player>]: permission: op trigger: if arg-1 is "add": if arg-2 is set: if arg-3 is set: add arg-2 to {hearts::%arg-3%} wait 10 ticks set max health of arg-3 to {hearts::%arg-3%} make console execute command "/effect give 5 regeneration %arg-3% 10 true" send "{@ls} &2Successfully added &e%arg-2% &2hearts to &e%arg-3%" to player if arg-1 is "remove": if arg-2 is set: if arg-3 is set: remove arg-2 from {hearts::%arg-3%} wait 10 ticks set max health of arg-3 to {hearts::%arg-3%} send "{@ls} &2Successfully removed &e%arg-2% &2hearts from &e%arg-3%" to player
  3. Im very bored, not sure what to do, so give me some skripts to make, just about anything you want.
  4. command /jumpboostemerald: permission: op permission message: &cYou don't have the required permissions to use this! aliases: jbe trigger: give player 1 emerald named "&2Jump Boost Emerald" with lore " " and "&3>> &6An emerald that gives jump boost" to player send "&2You have been given 1 Jump Boost Emerald" to player every 1 seconds loop all players: if player has 1 emerald named "&2Jump Boost Emerald" with lore " " and "&3>> &6An emerald that gives jump boost": make console execute command "/effect give %loop-player% jump_boost 5 2 true"
  5. I should be able to help
  6. Had a staff member recently, and they got super mad after I demoted them, then took action because of that a one of my other staff members gave them op and they blew up the server. After that, I was forced to restore to a backup, and since then, the server will not start. Please help
×
×
  • Create New...