Jump to content

Qwej

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Qwej

  1. I have SkRayFall...

    I want to script a bossbar that is visible for all, at all times! It must show a count-down from 15 minutes to 0, and then restart... there must be a count down going on the whole time

    I want people who joins in the middle of the count down to see a bossbar where half the time has already passed!

     

    I'm close, but cant get it to wooork 😞

     

    This gives no error, so why wont the bossbar appear??? :

    on skript start:
        create bossbar titled "blablabla" and id "contest" for player with progress 100 with colors blue
        loop 100 times:
            set bossbar "contest" value to (100 - loop-number)
            wait 9 seconds # 100 * 9sec = 15 minutes
        remove bossbar "contest"

  2. Thanks again 😄

    With a few modifications i finally got this script to work as intended:

    on server start:
        set {allowed_block} to stone

    loop every 5 minutes:
        if {allowed_block} is stone:
            set {allowed_block} to coal ore
        else if {allowed_block} is coal ore:
            set {allowed_block} to iron ore
        else if {allowed_block} is iron ore:
            set {allowed_block} to stone # Resets the blocks
        send "&cThere's now a new phase!" to all players

    on break:
        if event-block isn't {allowed_block}:
            cancel event
            send "&cThe current phase is &f%{allowed_block}%&c!" to player

     

    Thanks very much! Now the question is if it is possible randomize wich block-event starts after each 5 minutes??

    So instead of having the 'allowed block' change after a pattern in the loop... Can u make it pick a random one? Maybe the same again, or another one from the list

  3. Hey thanks man 😄

    I havent had time to try it yet, but it looks legit. I just dont see where the looping comes in? What happens when the first 2 times 5 minutes has passed?

    Well im total script noob 😅 just started to try and learn... Im struggling with knowing what kind of words and phrases is useable... Can it be looked up somewhere maybe?

    For example How do u know how to write 'on break' and not 'on mine' or 'when break' or whatever else...

  4. Does anyone know if it is possible to make a script that does this; 

    First 5 minutes from server start make ONLY stone breakable. Next 5 minutes make ONLY coal breakable.

    This must run by itself in a loop... I dont want any server restart/update that will stop the game.

    I want a game that by time intervals changes what block type can be mined!

    Think this is impossible 🤔

  5. On 12/23/2020 at 1:42 AM, dbobreinhardt said:

    For my server, I'm getting the "connection reset by peers" problem. What do I do, and is this happening for anyone else? maybe all the servers are down...

    i spent over half a year building and coding on my server and now i cant join

  6. On 12/23/2020 at 1:42 AM, dbobreinhardt said:

    For my server, I'm getting the "connection reset by peers" problem. What do I do, and is this happening for anyone else? maybe all the servers are down...

    its also happening for me i spend over a half year building  on my server and now i cant join it

     

  7. On 12/23/2020 at 1:42 AM, dbobreinhardt said:

    For my server, I'm getting the "connection reset by peers" problem. What do I do, and is this happening for anyone else? maybe all the servers are down...

     

×
×
  • Create New...