Jump to content

nicoalla

Member
  • Posts

    20
  • Joined

  • Last visited

About nicoalla

  • Birthday 10/30/2005

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

nicoalla's Achievements

Rookie

Rookie (3/6)

1

Reputation

  1. here is my solution: on join: set {speed.%player%} to false every tick: loop all players: if lore of loop-player's boots contain "&4Speed II": if {speed.%loop-player%} is false: apply swiftness of tier 2 to the loop-player for 9999 days set {speed.%loop-player%} to true
  2. i am serching a server that i can program skripts for Would like if somebody likes to involve me in a server
  3. I need a skript, that remembers things, while player is not on the server.

    command /test:
        trigger:
            set {get::%player's uuid%} to "Hello"
    on join:
        if {get::%player's uuid%} is "Hello":
            send "It worked!"

     

    the problem in that skript is, that when the players get offline the on join event doesn't do anything.

    I want that a variable can get set by command and when you rejoin the skript knows what was set

  4. you have to type /op (Your name) not on your minecraft server but on your Minehut console
  5. I have made a skript for a rank system. If you want to make it individual and don't know how, then just tell me and i make it like you want ,)

     

     

    options:
        prefix: &8[&3Pre&bfix&8]
        defaultPrefix: "&f[No rank]" # The default prefix, obv.

    variables:
        {prefix::%player%} = "&f[Nor rank]"

    on load:
        loop all players:
            if {prefix::%loop-player's uuid%} is not set:
                set {prefix::%loop-player's uuid%} to {@defaultPrefix}
    command /rank <player> [<text>] [<text>]:
        #permission: prefix.use #If you want to have a permission node remove the #
        #permission message: &cSorry, but you do not have permission to execute this command.
        usage: &ePlease do &6/rank help &efor commands.
        trigger:
            set {playername} to arg 1
            if arg 2 is "help":
                send "{@prefix} &eCommands:"
                send "&8&m                              "
                send "&3- &b/rank help &7| &fDisplays this message."
                send "&3- &b/rank set §l§6<rank> &7| &fSets your rank."
                send "&3- &b/rank reset &7| &fResets your rank."
                send "&3- &b/All available ranks:"
                send "§l§1MVP"
                send "§l§3Myth"
                send "§l§5Titan"
                send "§l§dImmortal"
                send "§l§eJr Mod"
                send "§l§2Mod"
                send "§l§aAdmin"
                send "§l§7Sr Admin"
                send "§l§4Owner"
                send "&8&m                              "

            if arg 2 is "set":
                if arg 3 is set:
                    if arg 3 does not contain "MVP" or "Myth" or "Titan" or "Immortal" or "Jar Mod" or "Mod" or "Admin" or "Sr Admin" or "Owner":
                        send "{@prefix} &4 You have to choose one of the nine ranks!"
                        stop

                    else:
                        set {prefix::%player's uuid%} to colored arg 3
                        if arg 3 is "MVP":
                            set the player's tab list name to "§l§1%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Myth":
                            set the player's tab list name to "§l§3%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Titan":
                            set the player's tab list name to "§l§5%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Immortal":
                            set the player's tab list name to "§l§d%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Jr Mod":
                            set the player's tab list name to "§l§e%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Mod":
                            set the player's tab list name to "§l§2%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Admin":
                            set the player's tab list name to "§l§a%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Sr Admin":
                            set the player's tab list name to "§l§7%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Owner":
                            set the player's tab list name to "§l§4%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        stop

                else:
                    send "{@prefix} &cPlease set a §nrank."
                    stop

            if arg 2 is "reset":
                set {prefix::%player's uuid%} to {@defaultPrefix}
                send "{@prefix} &a%arg 1% rank's has been reset."
                stop

    on chat:
        if player's tab list name is "&1MVP &f%player%":
            set the chat format to "&l&1%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&3Myth &f%player%":
            set the chat format to "&l&3%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&5Titan &f%player%":
            set the chat format to "&l&5%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&dImmortal &f%player%":
            set the chat format to "&l&d%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&eJr Mod &f%player%":
            set the chat format to "&l&e%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&2Mod &f%player%":
            set the chat format to "&l&2%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&aAdmin &f%player%":
            set the chat format to "&l&a%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&7Sr Admin &f%player%":
            set the chat format to "&l&7%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&4Owner &f%player%":
            set the chat format to "&l&4%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"

  6. I made that you can resume and stop the flames by command: on join: set {show} to true every 5 ticks: loop all players: if {show} is true: show spawner flames at position of loop-player set {particles} to true if {particles} is true: damage all rabbits in radius 3 of loop-player where [input is not loop-player] by 2 command /resumeflames: trigger: set {show} to true command /stopflames: trigger: set {show} to false set {particles} to false
  7. i have a solution for the sword. It's not exactly what you wanted but it works like you want. Explanation: I coded, that while a there are the flames around the player, every enemy get's damaged by a range of 3 and one heart every 3 minecraft ticks. You see, they don't get damaged by the particles but it works the same. You can't make a skript, tht knows when somethings hits the particles, because particles don't have a hitbox. on rightclick holding sword: if name of player's tool is "&c&lRoyal &7&lScepter": play mob spawner flames at position of player to the player set {makedamage} to true wait 1 second set {makedamage} to false every 3 ticks: loop all players: if {makedamage} is true: damage all playersin radius 3 of loop-player where [input is not loop-player] by 2
  8. i will try my best to make particles do damage but i can't promise that that is gonna work
  9. i have a better solution for that: On leftclick: If held item is diamond pickaxe named "&bPickaxe": if target block is bedrock: Set target block to air drop 1 diamond at position of target block
  10. I have a solution for that: on rightclick holding sword: if name of player's tool is "&c&lRoyal &7&lScepter": play mob spawner flames at position of player to the player i don't know what you mean with On damage skript because it can not be at the same time
  11. A efriend System for your server #Skript

     

    #Accept a friend request

    command /efriendaccept:
        trigger:
            set {accept} to true
            add {currentefriend} to {efriendlist::*}
            send "&3%player% accepted your friendrequest!" to {currentefriend}

    #Deny a friendrequest

    command /efrienddeny:
        trigger:
            set {deny} to true
            send "&3%player% denied your friendrequest!" to {currentefriend}

    #Get a help menu
    command /efriendhelp:
        trigger:
            send "&eHelp menu:"
            send "&8&m                              "
            send "&3- &b/efriend help &7| Get to the help menu."
            send "&3- &b/efriend add <player> &7| Send a friendrequest to someone."
            send "&3- &b/efriendaccept &7| Accept a friend request."
            send "&3- &b/efrienddeny &7| Deny a friendrequest."
            send "&3- &b/efriendlist &7| See a list of all your efriends"
            send "&3- &b/efiriendremove <player> &7| Remove a  efriend of your efriendlist"
            send "&8&m                               "


    #Get to know if the request is dinied or accepted
    every second:
        loop all players:
            if {accept} is true:
                send "%{currentefriend}% accepted your friend request !" to loop-player
                send "You accepted the friend request!" to {currentefriend}
                set {accept} to false
                stop
            if {deny} is true:
                send "&4%{currentefriend}% &3denied your friendrequest!" to loop-player
                send "You denied the friend request!" to {currentefriend}
                set {currentefriend} to ""
                set {deny} to false
                stop

    #See your efriend list

    command /efriendlist:
        trigger:
            send "&8&m                              "
            send "&6&lYour friend list"
            send "%{efriendlist::*}%"
            send "&8&m                                 "

    #Remove a efriend
    command /efriendremove <player>:
        trigger:
            remove arg 1 from {efriendlist::*}
            send "&3You removed %arg 1% from your efriendlist!"
            send "&3You were removed by %player%!" to arg 1

    #Not making damage to friends
    on damaging:
        if {efriendlist::*} contains victim's tab list name:
            send "It's a friend!" to attacker
            cancel event
            stop

  12. i have made a prototype of it. it needs some messages but the main concept does work. I added a resetlist command because it was easier for the programming progress. When i got it all done, that will be removed #A Script for a efriend system: #Add a efriend command /efriend <text> <player>: trigger: if arg 1 does not contain "add": send "&8&m " send "&4Write §3/efriend help §4 to see all command options" send "&8&m " stop else: send "&9You send a friendrequest to %arg 2%!" send "<tooltip:Accepp:/efriendaccept Deny:/efrienddeny>&4%player%&9 send you a friend request!" to arg 2 set {currentefriend} to "%arg 2%" stop #Accept a friend request command /efriendaccept: trigger: set {accept} to true add {currentefriend} to {efriendlist::*} send "&3%player% accepted your friendrequest!" to {currentefriend} #Deny a friendrequest command /efrienddeny: trigger: set {deny} to true send "&3%player% denied your friendrequest!" to {currentefriend} #Get a help menu command /efriendhelp: trigger: send "&eHelp menu:" send "&8&m " send "&3- &b/efriend help &7| Get to the help menu." send "&3- &b/efriend add <player> &7| Send a friendrequest to someone." send "&3- &b/efriendaccept &7| Accept a friend request." send "&3- &b/efrienddeny &7| Deny a friendrequest." send "&3- &b/efriendlist &7| See a list of all your efriends" send "&3- &b/efiriendremove <player> &7| Remove a efriend of your efriendlist" send "&8&m " #Get to know if the request is dinied or accepted every second: loop all players: if {accept} is true: send "%{currentefriend}% accepted your friend request !" to loop-player send "You accepted the friend request!" to {currentefriend} set {accept} to false stop if {deny} is true: send "&4%{currentefriend}% &3denied your friendrequest!" to loop-player send "You denied the friend request!" to {currentefriend} set {currentefriend} to "" set {deny} to false stop #See your efriend list command /efriendlist: trigger: send "&8&m " send "&6&lYour friend list" send "%{efriendlist::*}%" send "&8&m " #Remove a efriend command /efriendremove <player>: trigger: remove arg 1 from {efriendlist::*} send "&3You removed %arg 1% from your efriendlist!" send "&3You were removed by %player%!" to arg 1 #Not making damage to friends on damaging: if {efriendlist::*} contains victim's tab list name: send "It's a friend!" to attacker cancel event stop
  13. i have a simple skript: on drop of TNT: create an explosion of strength 20 at the player
  14. you can spice it up with playing a sound when you reach lvl 10 like: play sound "entity.experience_orb.pickup" with volume 0.5 to the player
×
×
  • Create New...