Jump to content

StarBunnie

Member
  • Posts

    438
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by StarBunnie

  1. 48 minutes ago, PixelTrainerYT said:

    Basically I want the game to think that deaths caused by skript damage was actually caused by player damage, so if anyone knows how to do that and is willing to help me, thanks.

    Things I tried so far:

    • damage victim by {dmg} with fake cause attack
    • set last damage cause of victim to attack (would come up with an error)
      image.png.ea6a168c833b82514f649a9fae1ddf65.png
        

    Server version: 1.17

    Hmm I'm not really sure that is possible I found this tho maybe that can help you somehow https://skripthub.net/docs/?id=3892

  2. 1 hour ago, dogenite_youtube said:

    could someone make a scoreboard for the my skript I want it to say the balance in orange with the words gems 

    here is the script

     

    variables:
        {money::player's uuid} = 0
    on left click:
        if name of player's held item is "&e&lT1":
            add 1 to {money::player's uuid}
    command /clicker:
        trigger:
            give a grass block named "&e&lclickerT1" to player
    command /balance:
        trigger:
            send "%{money::player's uuid}%"

    Here 

    on join:
     while player is online:
      set title of player's scoreboard to "Scoreboard title"
      set line 1 of player's scoreboard to "&7Gems: &6%{money::%player's uuid%}%"
      wait 1 second

    This requires SkBee

    Also important info for you

    You wrote the variable like this

    "%{money::player's uuid}%"

    Which is "wrong" if you want player based variables because the variable currently is only read like you read it here.

    The correct way would be

    "%{money::%player's uuid%}%"

    That way the player's uuid will be used instead of just the word "player's uuid"

    Here's an overview how it looks for skript

    "%{money::player's uuid}%" -> {money::player's uuid}
    
    "{money::%player's uuid%}%" -> {money::aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee}

     

    • Like 1
    • Thanks 1
  3. 1 hour ago, NotKaizo31 said:

    Is there a way to use hex codes in skript? Like this:

    1 of glowing cobblestone named "&#00000Hello!"

     

    For hex codes use 'em like this

    <##123456>

    Reason for that is that a # marks a line as a comment so skript doesn't read it by writing two # this is prevented and it just reads it as one

    • Like 2
  4. 25 minutes ago, zuyn said:

    I am looking into creating a timer with skript, does anyone know what the most efficient way is to create a timer. It should do the following:

     Count the time someone takes doing some parkour (milliseconds too)

     Not cause any lag while multiple players are online

     

    on walk on gold block:
     set {timer::%player's uuid%} to now
    
    on walk on diamond block:
     set {_time} to difference between {timer::%player's uuid%} and now
     delete {timer::%player's uuid%}
     send "&7You took &e%{_time}%"

    Obviously replace the blocks with how you detect they started a parkour and end it.

    I made a jumpworld with WorldGuard by making zones called "jumpstart-jumpname" & "jumpend-jumpname" and when they enter a zone I just split it to detect the jump they are currently on and start the timer.

    • Like 2
  5. 4 minutes ago, RealUser_ said:

    guys i need help i am trying to make it so that whenever someone new join i want it to make it say Welcome to [not gonna advertise]! with hex colours

    i made it like this

    on first join:

        wait 3 ticks

        broadcast "&8[&#0473fe&lH&#015eff&le&#0049ff&lx&#0055fb&lB&#0054f8&ll&#0053f4&lo&#0043f9&lb&8] [&a&lCo-Owner&8] &a&lDankMemerBot&8] [&#032cfc&lBLOB&8]&f: &6&lWelcome to &f&l[1]&6&l[2]&6&l!"

     

    this isnt alloing the skript to work because it has hex colours

    how do i make it work, pls help

    To use hex colors write the like this

    <##123456>

    also pretty sure broadcast can't send hex colors so just use this

    send formatted "<##123456>&lHello" to all players

    Unsure if the formatted is needed tbh but use send instead of broadcast

    • Like 1
  6. 39 minutes ago, TheProB said:

    if it says <none>, you have to set the value first

    example of this is like

    if {mined::%player%} is not set:
        set {mined::%player%} to 0

    im pretty sure

    when adding something this isn't really necessary and if you want to use it in a message while it's not that you can use "?" 

    send "&7Blocks mined: &e%{mined::%player's uuid%} ? 0%"

    That is good because the var doesn't need to be set right away so new player's that only join for a second don't add to many variables and clutter up your server

  7. 5 hours ago, WilliamWert said:

    Hello, I have made this skript where when you mine a block, it adds one to a counter of how many blocks you've mined.

    It says that there arent any errors but when you break stone it gives you the item but doesnt add to the counter.

    How do I fix this?

    on break of stone:
    	event-block is stone:
    		cancel event
    		set block to air
    		add 1 to {mined::%player%}
    		give player 1 stone named "&fStone" with lore "&f&lBASIC"

     

    Would you mind showing us the skript where you read the variable to check if it has increased?

  8. 3 hours ago, TimelyShark said:

    For a while we had a group that was playing on a server that had Fundy's impossible mode installed.  That server ended up closing and was wondering if there was anyway to add that plugin to Minehut? Thank you!

    Could you provide a link to the plugin so the admins have an easier time finding/testing it?

  9. 1 hour ago, docdr22 said:

    I don't understand how that's possible as they literally have a betterend plugin but for 1.16.5, all i'm asking is to update to the newer version

    1934105153_Screenshot2021-07-15213451_LI.thumb.jpg.4c24288394c3aa25c43f3559a0b57bb3.jpg

    There is a difference between mods and plugins. Mods add new code to minecraft while plugins only work with code that already exists. Both of your options are mods meaning they are not supported by a plugin server software and those mods have nothing to do with the betterend plugin. I believe if you click on the plugin in the dashboard a link pops up that leads you to the plugins website.

    • Like 1
  10. 43 minutes ago, PikiBanana said:

    can i get a command to reset the player uuid

     

    command /reset [<offlineplayer>]:
     trigger:
      if {start::%arg 1's uuid%} is set:
       delete {start::%arg 1's uuid%}
       send "reset"
      else:
       send "can't reset because it's not set"

     

  11. 1 minute ago, PikiBanana said:

    can i get help with one time command

    this is my skript i hided the commands i just want to know how to make it one time command

     

     

    command /start:
      cooldown: 10000000 minute
      cooldown message: &bOne Time Command
      cooldown bypass: cooldown.nocooldown
      trigger:
        make console execute command ""
        make console execute command ""
        set {start::%player's uuid%} to true
     

    i whould like help to how i can make the command without a giant cooldown

    command /start:
     trigger:
      if {start::%player's uuid%} is not set:
       make console execute command ""
       make console execute command ""
       set {start::%player's uuid%} to true

     

  12. 30 minutes ago, Potato_w0ffles said:

    I recently made a new server and some random player joined. I let him stay but soon he burned my whole house down. He also killed me and destroyed my bed meaning I respawned hundreds of blocks away while he was destroying everything. He also stole all my stuff. I banned him and I want to report him to minehut but I don’t know his user. The /banlist command won’t work so I can’t get his user. Is there any other way of getting a list of banned players. He is the only player I’ve ever banned but seeing how quickly he got full armour and burned it it seemed like this was not his first time grieving someone’s world. Please help me because this guy needs to be banned from minehut entirely.

    I'm unsure why /banlist doesn't work but also Minehut can't really do anything about the griefer as long as they are not hacking on the official hubserver. Everything that happens on user servers is the server owners responsibility.

  13. 5 minutes ago, DereC4 said:

    Hey! I was wondering if anyone had read this yet or their thoughts because I've been trying to get this idea out for almost 2 months now and was wondering if it was possible to do. 

    They are working on cross-version plugin lists it just takes a bit to add such a large feature.

    • Like 1

    1.18

    2 hours ago, sweetwolf2007 said:

    How do I update my server to 1.18?

    Due to Minecraft 1.18 not being out yet it's gonna be a bit hard to do. What you can do tho is update your server to 1.17.1 on Spigot or 1.17 on Paper in your Dashboard

    image.thumb.png.8cb08a14b0764488089dbb244d164c60.png

  14. 28 minutes ago, HALLO12846j said:

    Hi I am making a scoreboard for my server but my scorboard doesnt work fully.

     

    the code:

    every 5 tick in "ul_spawn":
    	loop all players:
    		wipe loop-player's sidebar
    		set name of sidebar of loop-player to "&6&lCopperClic"
    		set score "&7&m--------------------------" in sidebar of loop-player to 8
    		set score "&e&l» Money:" in sidebar of loop-player to 7
    		set score "     &2Money » &2$%{money.%loop-player%} ? ""&20""%" in sidebar of loop-player to 6
    		set score "     &6&lC&e&lr&a&le&2&ld&3&li&b&lt&9&ls » &2%{credits.%loop-player%}%" in sidebar of loop-player to 4
    		set score "" in sidebar of loop-player to 4
    		set score "&e&l» &b&lPlayer:" in sidebar of loop-player to 3
    		set score "     &7You » &b%{loop-player}%" in sidebar of loop-player to 2
    		set score "     &7time played » %loop-player's time played%" in sidebar of loop-player to 1

    the result:

    image.png.3258425384d75adc9aea1dca4e6a9dc2.png

     

    I am using skRayFall and this should work?

    so please help me, I am not sure what the problem is, Is it a skRayFall or skript error/problem?

    One error is that you're using line 4 twice image.png.8dc58b2129c77b8dc2fbded2982e6a1e.png

    and I'm not exactly sure if a line can be completely empty maybe try "&7" instead of ""

    If you're still running into issue maybe give SkBees scoreboard a shot it's way easier and has an overall better performance

  15. 11 minutes ago, XavierNewMoon said:

    hello Minehut, can you add proximity voice chat, so we can have more immersive gameplay with roleplaying, here's the link for thee plugin i hope you'll consider adding it. 

    Skoice: Proximity Voice Chat | SpigotMC - High Performance Minecraft

    It's actually not a plugin but a skript. It has been requested many times to add this but right now that's not possible due to it requiring two Skript-addons that are not available on Minehut and probably won't be for a while due to them being a threat for Minehuts current system. 

    DiscordSRV seems to be a proximity chat plugin that is already on Minehut maybe check that out.

     

    • Thanks 1
  16. 5 hours ago, pete_parker said:
    command /disableores [<text>]:
      permission: hcf.admin.ore
      permission message: &cYou lack permission!
      trigger:
        if arg 1 is "true":
          if {ore} is true:
            send "&7Disableores is already &aEnabled"
        else:
          set {ore} to true
          send "&7Disableores is &aEnabled"
        if arg 1 is "false":
          if {oreregen} is false:
            send "&7Disableores is already &aDisabled"
        else:
          set {oreregen} to false
          send "&7Disableores is &aDisabled"
        if arg 1 is not set:
          send "<enable/disable>"
    on place:
      if {ores} is true:
        player is holding ancient debris
        cancel event
        send "&e&l(!) &eThis item cannot be placed"
    
      

    So if i run this command this happends 

    https://imgur.com/a/Vz9Get8

    Any help on this?

     

    You used two different variables

    {ores} and {oreregen}

  17. 3 hours ago, ___Rodney_RWR___ said:

    Soo uhh skript is giving me mental pain

    im trying to do:

     

    on rightclick:
    	if clicked block is Gray Shulker Box:
    		if players tool is tripwire hook with name "&#808080&lDaily Crate Key":
    			if player is in world "ul_void_world_2":
    				cancel event
    				send "hu"

     

    but it just breaks HeLp Me PlEaSe

    try if "%clicked block%" contains "shulker box":

     if "%clicked block%" contains "gray":

×
×
  • Create New...