Jump to content

Narratrr

Member
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Narratrr

  1. Okay so im working on a skript of mine and i decide that the default time amount for 

    send action bar "yes rod" to player 

    isnt long enough i want to make the message stand for longer, how do i do that?

     

  2. got this skript here that doesnt work

     

    command /prestige:
       trigger:
          if the level of player >= 100:
             broadcast "%player% has prestiged!"
             set  the level of player to 0
             add 1 to {prestige::%player‘s uuid%}
          else
             message "&7You need 100 levels to prestige!" to player
     

    can anyone help?

  3. Okay, so i have a server that uses the VoidGenerator, this plugin generators your world into a void, but it didn't mention anything about mobs not spawning, after about 7 hours of trying to fix it i figured out that it was actually because of the fact that when you generate a world using VoidGenerator it auto puts the region into The Void, this makes it so mobs can't spawn ;-;. to fix this just set the biome to overworld or any biome of your choosing. i am posting this because there is no info on this in the internet and seeing as a lot of people use this plugin this might help. 

  4. I am in need of a skript that gives a player a item every 10 seconds, but it is based on a list of items like dirt, cobble, stone, iron, etc. not like every item in the game, also i need it to have it so that the better the item, the rarer 

  5. yeah, also if any1 is using this skript they will have to figure out a way to give players permission only to use / pickup the gen that they own cause rn anyone can pickup others gens

    • Thanks 1

  6. on place of white wool:  #1
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is white wool:
                wait 80 ticks
                drop 1 white dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of white wool:
        cancel event
        set event-block to air
        give player 1 white wool named "&7White Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A White Wool Generator!"

    on place of gray wool:  #2
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is gray wool:
                wait 80 ticks
                drop 1 gray dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of gray wool:
        cancel event
        set event-block to air
        give player 1 gray wool named "&7Gray Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Gray Wool Generator!"

    on place of black wool:  #3
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is black wool:
                wait 80 ticks
                drop 1 black dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of black wool:
        cancel event
        set event-block to air
        give player 1 black wool named "&7Black Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Generator!"

    on place of yellow wool:  #4
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is yellow wool:
                wait 80 ticks
                drop 1 yellow dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of yellow wool:
        cancel event
        set event-block to air
        give player 1 yellow wool named "&7Yellow Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Generator!"

    on place of orange wool:  #5
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is orange wool:
                wait 80 ticks
                drop 1 orange dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of orange wool:
        cancel event
        set event-block to air
        give player 1 orange wool named "&7Orange Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Generator!"

    on place of cyan wool:  #6
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is cyan wool:
                wait 80 ticks
                drop 1 cyan dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of cyan wool:
        cancel event
        set event-block to air
        give player 1 cyan wool named "&7Cyan Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Generator!"

    on place of lime wool: #7
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is lime wool:
                wait 80 ticks
                drop 1 lime dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of lime wool:
        cancel event
        set event-block to air
        give player 1 lime wool named "&7Lime Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Generator!"

    on place of red wool: #8
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is red wool:
                wait 80 ticks
                drop 1 red dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of red wool:
        cancel event
        set event-block to air
        give player 1 red wool named "&7Red Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Generator!"

    on place of blue wool: #10
        set {gens::%location of event-block%} to uuid of player
        if {gens::%player's uuid%} < 15:
            add 1 to {gens::%player's uuid%}
            while event-block is blue wool:
                wait 80 ticks
                drop 1 blue dye above location of event-block
        else:
            send "" to player
            send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&715" to player
            send "" to player
            cancel event
     
    on break of blue wool:
        cancel event
        set event-block to air
        give player 1 blue wool named "&7Blue Wool Gen"
        remove 1 from {gens::%player's uuid%}
        send "&aYou Broke A Generator!"

    command /gencap [<player>] [<text>] [<number>]:
        permission: gencap.use
        permission message: &cNope!
        trigger:
            if arg-1 is set:
                if arg-2 is "reset":
                    set {gens::%arg-1's uuid%} to 0
                    send "&cYou have just reset %arg-1%&c's gen cap!" to player
     
    command /gens:
        trigger:
            send "" to player
            send "&bYou have used %{gens::%player's uuid%}%&7/&b15 gen space!" to player
            send "" to player

    on right click on white wool:  #1
        wait 5 ticks
        if player's balance is more or equal to 750:
            subtract 750 from player's balance
            set block to gray wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on gray wool:  #2
        wait 5 ticks
        if player's balance is more or equal to 3500:
            subtract 3500 from player's balance
            set block to black wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on black wool:  #3
        wait 5 ticks
        if player's balance is more or equal to 10000:
            subtract 10000 from player's balance
            set block to yellow wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on yellow wool:  #4
        wait 5 ticks
        if player's balance is more or equal to 25000:
            subtract 25000 from player's balance
            set block to orange wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on orange wool:  #5
        wait 5 ticks
        if player's balance is more or equal to 75000:
            subtract 75000 from player's balance
            set block to cyan wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on cyan wool:  #6
        wait 5 ticks
        if player's balance is more or equal to 160000:
            subtract 160000 from player's balance
            set block to lime wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on lime wool:  #7
        wait 5 ticks
        if player's balance is more or equal to 350000:
            subtract 350000 from player's balance
            set block to red wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on red wool:  #8
        wait 5 ticks
        if player's balance is more or equal to 1000000:
            subtract 1000000 from player's balance
            set block to blue wool
            send action bar "&7Upgraded Generator!" to player
        else:
            send "&cError: &eInsufficient funds to upgrade Gen! "

    on right click on blue wool:  #9
        wait 5 ticks
        send "&cMax Gen" to player

     

    Some Of This Skript Is not mine, though i did make a lot of it. enjoy

     

    EDIT:

    Hey Guys! This Has Hit 1600 Views, wow I Would Like Just To Say Thanks 😄

    • Like 2
  7. I have this skript right here, doesnt work. can anyone help me with telling me whats wrong

     

    on damage of a player:
        if attacker is a player:
            if attacker's leggings is a leather leggings:
                if name of attacker's leggings is "&8Dark Pants":
                    apply wither to victim for 2 seconds

  8. ok so i have this skript right here.

     

    on damage:
        attacker is player
        if victim is player:
        add 1.50 to the attacker's account
        message "&e+1.50" to attacker

     

    I wanna know how to disable this if it is damage from an arrow

  9. Okay So I have this skript right now (not full skript) but i need to know how to set line 6 to players total experience

     

    every tick:
        loop all players:
            toggle loop-player's scoreboard to true
            set title of loop-player's scoreboard to "Blank"
            set line 11 of loop-player's scoreboard to "&b"
            set line 10 of loop-player's scoreboard to "&b&lYou"
            set line 9 of loop-player's scoreboard to "  &7Name: &f%loop-player's displayname%"
            set line 8 of loop-player's scoreboard to "  &7Ping: &f%loop-player's ping%ms"
            set line 6 of loop-player's scoreboard to "  &7 -----> How To Set Players Experience Here <----
            set line 5 of loop-player's scoreboard to "&b&lInformations"
            set line 4 of loop-player's scoreboard to "  &7TPS: &f%rounded 1st element of tps%"
            set line 3 of loop-player's scoreboard to "  &7Online: &f%number of all players%&7/&f%max players%"
            set line 2 of loop-player's scoreboard to "&b"
            set line 1 of loop-player's scoreboard to "E.Minehut.gg"

     

    If Someone could help that would be great

  10. okay thanks for the advice  and ill take note to it, but i dont undertsand what u mean by 

    a) the variable you used to set or change a player's tokens

    b) with [<text>] you are using on the /efficiency command, what is the [<text>] going to be used for? cause currently it has no use at all.

  11. Okay, so I have this skript right here, and i tried to set it so that if u tried to upgrade your pickaxe past efficiency 6 it wouldn't work but it still allowed you to go past efficiency 6, also I cant seem t get it to take tokens from your token balance and it cant seem to understand the code

            if token balance is greater than 9999:
                execute console command "token take %player% 10000"

    If someone could help fix this I would greatly appreciate! 😄


    command /efficiency [<text>]:
        permission: efficiency.enchant
        permission message: [&c&l&!&f] You don't have permission
        trigger:
            if arg 1 is not set:
                if level of efficiency of player's tool is greater than or equal to 6:
                    send "Youre too high!"
                if {wait.%player%} does not exist:
                    set {wait.%player%} to false
                if {wait.%player%} is true:
                    wait 3 ticks
                enchant the tool with "efficiency %level of efficiency of the tool + 1%" parsed as enchantment type
            if token balance is greater than 9999:
                execute console command "token take %player% 10000"
                message "&7Efficiency &chas now been applied on your Pickaxe!"
            else:
                message "&cYou don't have enough Tokens to apply &7Efficiency 6 &con your Pickaxe! You need &f10000&c!"

  12. command /rules:
      trigger:

        send "&3&l<--------[RULES]------>" to player
        send "&e1. No Hacking" to player
        send "&e2. No DDOS Threats" to player
        send "&e3. No Exploiting" to player
        send "&e4. Being Racist Will Result In A Insta-Ban" to player
        send "&e5. Don't Be Toxic" to player
        send "&e6. Respect All Players" to player
        send "&e7. No NSFW Content in Public Chat" to player
        send "&e8. No Advertising " to player
        send "&e9. No Scamming " to player
        send "&e10. No Spamming " to player
        send "&3&l<-------------------->" to player

×
×
  • Create New...