Jump to content

Krowder2

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Krowder2

  1. Here you go! 

    on join:
        while player is online:
            set {_online} to true

    every 1 seconds:
        loop all players:
            if {_online} is true:
                set {_Random} to a random number between 1 and 4
                if {_Random} is 1:
                    add 1 gold ingot to loop-player
                if {_Random} is 2:
                    add 1 iron ingot to loop-player
                if {_Random} is 3:
                    add 1 Emerald to loop-player
                if {_Random} is 4:
                    add 1 Diamond to loop-player

  2. Hello! I wonder, how do i make a KDR? (Kill death rate)

    If it helps it's supposed to be for a scoreboard and i have skbee and skript, is there any other plugin i need if so, let me know. 

    So at first i thought it started at 1.00 and when you kill someone it goes up by 0.5 and when you die it goes down 0.5 but it seems way to boring and not correct at all. I am very bad at programming 😕

    and yes i could use some programming tips and "functions" aka like "if" and "wait". Thanks!

     

     

     

  3. On 3/6/2022 at 1:37 AM, ninjea said:

     

    command discord: 
        trigger:
            send "<link:https://discord.gg/your link here> &aClick to join the discord!"

    you forgot to add "/", and "to player" its supposed to be

    command /discord:

        trigger:

            send "<link:https://discord.gg/your link here> &aClick to join the discord!" to player

     

  4. Here is what i did for my server and it might be usefull for you:

    (Keep in mind that you need the plugin "Skbee" and "Skript" for this)

    (&9 = blue, &i = "bold" chat font, &e = yellow, &6 = orange, &c = light red)

    on join:
        if {deaths::%player's uuid%} is not set: 
            set {deaths::%player's uuid%} to 0
        if {kills::%player's uuid%} is not set: 
            set {kills::%player's uuid%} to 0
        if {killstreak::%player's uuid%} is not set: 
            set {killstreak::%player's uuid%} to 0
        while player is online: 
            set title of player's scoreboard to "&6&l⊂(Your server)⊃"
            set line 1 of player's scoreboard to "&9» IP: &c(Your server).minehut.gg"
            set line 2 of player's scoreboard to "&9» Killstreak: &c%{killstreak::%player's uuid%}%"
            set line 3 of player's scoreboard to "&9» Deaths: &c%{deaths::%player's uuid%}%"
            set line 4 of player's scoreboard to "&9» Kills: &c%{kills::%player's uuid%}%"
            set line 5 of player's scoreboard to " "
            set line 6 of player's scoreboard to "&e&lStats"
            set line 7 of player's scoreboard to "&9» Online players: &c%size of all players%/%max players%"
            set line 8 of player's scoreboard to "&9» Player: &6%player%"
            set line 9 of player's scoreboard to " "
            set line 10 of player's scoreboard to "&e&lInfo"
            wait 1 second
            
    on death: 
        attacker is a player:  
            add 1 to {kills::%attacker's uuid%}
            add 1 to {killstreak::%attacker's uuid%}
        
    on death:
        victim is a player: 
            add 1 to {deaths::%victim's uuid%}
            set {killstreak::%victim's uuid%} to 0

     

    it looks like this (for me):

    and btw the kill counter and death counter defaults to 0 i changed it manually (by killing and dying) and yes it does track your kills, deaths, people online, your user and killstreak)

     

    Namnlös.png

  5. Okay so i had this problem myself and messed around a lil bit to try and fix it and now i know how to fix it!

    So basically, if there is a kolon ":" on the end of a line, you should type 1 tab, a bit like this:

     

    command /rules:

        trigger:

            send "[1]: Use common sense (etc.)" to player

     

    NOT

     

    command /rules:

    trigger:

    send "[1]: Use common sense (etc.)" to player

     

    I hope this was helpfull 🙂

     

     

  6. So i made this script:

    on join:
        if {deaths::%player's uuid%} is not set: 
        set {deaths::%player's uuid%} to 0
        if {kills::%player's uuid%} is not set: 
        set {kills::%player's uuid%} to 0
        if {killstreak::%player's uuid%} is not set: 
        set {killstreak::%player's uuid%} to 0
        while player is online: 
            set title of player's scoreboard to "&6&l⊂BoxxUniverse⊃"
            set line 1 of player's scoreboard to "&9» IP: &cBoxxUniverse.minehut.gg"
            set line 2 of player's scoreboard to "&9» Killstreak: &c%{killstreak::%player's uuid%}%"
            set line 3 of player's scoreboard to "&9» Deaths: &c%{deaths::%player's uuid%}%"
            set line 4 of player's scoreboard to "&9» Kills: &c%{kills::%player's uuid%}%"
            set line 5 of player's scoreboard to " "
            set line 6 of player's scoreboard to "&e&lStats"
            set line 7 of player's scoreboard to "&9» Online players: &c%size of all players%/%max players%"
            set line 8 of player's scoreboard to "&9» Player: &6%player%"
            set line 9 of player's scoreboard to " "
            set line 10 of player's scoreboard to "&e&lInfo"
            wait 1 second
            
    on death: 
        attacker is a player:  
        add 1 to {kills::%attacker's uuid%}
        add 1 to {killstreak::%attacker's uuid%}
        
    on death: 
        victim is a player: 
        add 1 to {deaths::%victim's uuid%}
        set {killstreak::%victim's uuid%} to 0

     

    and when i try to reload it (/sk reload scoreboard.sk) it pops up "Empty configuration section!" and does anyone know how to fix it and possibly also tell me what "empty configuration setting" means? Thanks! And btw, yes i did use skbee.
        

×
×
  • Create New...