Jump to content

belac136

Member
  • Posts

    61
  • Joined

  • Last visited

Posts posted by belac136

  1. Long, long, long story short, I had my texture pack working perfectly and now its completely broken and I didn't change anything. Basically, I want Minecraft to stop telling player's to equip a texture pack that doesn't exist. I already removed it from the panel in the settings tab. and I tried removing it from the files with no success. It keeps appearing when I remove it after I restart. It has some random link that doesn't take you anywhere in the files. Any help is appreciated.

  2. So, not exactly sure why this is happening, but the other day I had my server resource pack and it was working perfectly, but then I changed the server to paper 1.17.1 instead of spigot 1.17.1, because skript told me that I needed paper to do "on step of player:"

    After I changed the version and restarted the server, my pack was no longer working. I have tried deleting the pack, reuploading the pack, and everything else. Nothing is working. And the weird thing is, when I join the game, my textures reload a few different times, with a small flash of gameplay in between. During these moments, I have the texture pack on and its working perfectly, but then on the last time, it reloads and then stops reloading, and I have no texture pack equipped and there are no custom textures.

    Update:

    So, I'm pretty sure that the reason it keeps reloading textures, is because there is some sort of saved texture pack from before that it is trying to load in addition to the one that I can see. I tried removing all texture packs and starting the server, and it was only reloading twice this time, the first it had the correct texture pack, the second it was nothing. I think this is why it is showing the correct texture for a second.

    PS: Please help, I have been spending all day on this...

  3. So I was trying to figure out how to stop block breaking animations with certain blocks. I'm using skript-gui and I found a rather strange solution to this problem.

    on block damage:
        if event-block is spruce planks:
            create a gui with virtual chest inventory with 1 rows
            open the last gui for the player
            close player's inventory

    For some reason this works perfectly and I am yet to find any bugs or issues with this piece of code. It doesn't stop sprint or flash a gui or anything. Plus I haven't seen any other way to do this. So, you're welcome I guess...

  4. So I have my server on 1.17.1, and I have skript installed.

    But for some reason, when I try to install Skellet or TuSKe, all of my previous skript commands, that worked before, don't exist.

    I do not get any errors when I reload the skript, and there is nothing wrong in my console, but when I try the commands, it just says:

    "Unknown command. Type "/help" for help."

    If anyone knows how to fix this please help. This happens on both paper and spigot server type. I believe the addons are causing this problem, but forked TuSKe works fine.

  5. So I have my server on 1.17.1, and I have skript installed.

    But for some reason, when I try to install Skellet or TuSKe, all of my previous skript commands, that worked before, don't exist.

    I do not get any errors when I reload the skript, and there is nothing wrong in my console, but when I try the commands, it just says:

    "Unknown command. Type "/help" for help."

    If anyone knows how to fix this please help. This happens on both paper and spigot server type.

  6. command: /foodshop
        trigger:
            open virtual chest inventory with size 1 named "&7Food" to player
            format gui slot 1 of player with cooked porkchop named "&fCooked Porkchop &7[&fx16&f]" with lore "Costs 10 Dungeon Tokens" to run:
                if player has less than 10 diamonds:
                    message "&cYou don't have enough &4Dungeon Tokens"
                else:
                    give 16 cooked porkchop to the player

     

    My server is on 1.17.1 with skript and tuSKe

    Please help

  7. Every time I try to grab an item, it does this. I'm not sure why this is happening but it makes it very hard to develop my server. All of my mods and devs aren't having this problem.

    This is in my creative inventory and in survival. If I try to grab an item, it instantly disappears.

  8. Your issue is probably your indentation. Make sure to use either 4 spaces or a tab for every new line after a " ".

    Here is a fixed version:

    every 1 minute:
        broadcast "Type &c%{text}% &fin &dchat &ffor &a%{reward}%!"
        set {game} to 1
        set {done} to "false"
        wait 10 seconds
        if {done} is "false":
             set {game} to 0
             broadcast "No one was &dquick enough!"
    every 1 tick:
        set {text} to random integer between 1000 and 9000
        set {reward} to random integer between 1000 and 3000


    on chat:
        if {game} is 1:
            if message contains "%{text}%":
                  broadcast "&d%player% &chas gotten &a%{reward}%!"
                  add {reward} to player's balance
                  set {game} to 0
                  set {done} to true

  9. Well in your mute command you can do:

        set {mutetime::%player's uuid%} to [whatever thing is the time]

    and then:

     

    on chat:

        if {mute::%player's uuid%} is "1":

            cancel event

            send "&cYou are muted for another %{mutetime::%player's uuid%}%!"

     

    or something idk. I haven't used skript in a while so im not sure if any of that will work.

  10. i have a terrible solution that i use and that is:

    command /itemset [<text>]:
        trigger:
            set {whateveryouwant::%arg 1%} to player's held item

    I just hold the head I want when I do that and then in the GUI i do:

    format gui slot 1 of player with {whateveryouwant::1} named "whateveryouwant"

  11. I'm not sure if this is the issue, but i think that your indentation is wrong, and you need a few elses. Don't take my word for it, because i have had the same problem and im new to skript, but i would do it like this:

    on break:
        if event-block is cobblestone:
            set {_cobble} to a random number between 1 and 5

            if {_cobble} = 1:
                set event-block to cobblestone
            else if {_cobble} = 2:
                set event-block to iron ore
                else if {_cobble} = 3:
                    set event-block to coal ore
                    else if {_cobble} = 4:
                        set event-block to diamond ore
                        else if {_cobble} = 5:
                            set event-block to emerald ore

  12. Does anyone know how to make custom break speed for blocks? Ex. when holding a dirt block named "&6SlowTest" if you are breaking wood it mines really slowly, or a grass block named "&6FastTest" that mines wood quickly.

    Do I need an addon for this or something? If so, please let me know the addon and/or what to skript.

    Thanks! 😄

  13. Is {pos} only used in this skript? Because if so, you can probably just use {_pos}, and it will delete itself after the skript finishes. (I think so I'm still pretty new to skript 🙂 )

    • Thanks 1
  14. I have this skript, and i don't know why it doesn't work... Help?

    command /shop:
        trigger:
            open virtual chest inventory with size 5 named "&6Crates" to player
            format gui slot 11 of player with {crate::1} named "&fBasic Crate" with lore "&7[&fCosts 1 &bDiamond&7]" to run:
                if player's inventory has 1 diamond:
                    remove 1 diamond from player's inventory
                    set {_random} to random integer between 1 and 2
            if {_random} is 1:
                send "&7You opened a crate and found: &b1 diamond&7!" to player
                give player 1 diamond
            else:
                if {_random} is 2:
                    send "&7You opened a crate and found: &b2 diamonds&7!" to player
                    give player 2 diamonds
                   
    command /itemset [<text>]:
        trigger:
            set {crate::%arg 1%} to player's held item

    • Like 1
  15. I just realized that the free minehut plan lets you add infinite plugins so i added a few. This is great but i didn't know TAB adds health bars to everyone, including npcs. I don't want to turn this off, I just dont want the npcs i have to have "0 Health" above them. Can anybody help?

    (NOTE: Im using citizens and tab)

  16. 6 minutes ago, Dragon-Master said:

     

    Uhh....

    I'm so sorry to bother you but I'm not sure how to make this work with my gui. Do I do this? (I'm using Tuske btw)

     

    command /warps:
        trigger:
            open virtual chest inventory with size 3 named "Warps" to player
            format gui slot 11 of player with grass path named "&6Market" to run:
                teleport player to {warp::market}
            format gui slot 13 of player with spruce sapling named "&2Forest" to run:
                teleport player to {warp::forest}
            format gui slot 15 of player with grass block named "&aSpawn" to run:
                teleport player to {spawn}
            format gui slot 0 of player with barrier named "&cClose" to run:
                close player's inventory
            format gui slot 18 of player with blaze rod named "&7"
            format gui slot 26 of player with arrow named "&7Next Page" to run:
                open virtual chest inventory with size 3 named "Warps &7[&a2&7]" to player
                format gui slot 13 of player with farmland named "&bFarm" to run:
                    teleport player to {warp::farm}
                format gui slot 0 of player with barrier named "&cClose" to run:
                    close player's inventory
                format gui slot 18 of player with blaze rod named "&7Previous Page" to run:
                    make player execute command "/warps"
        
    command /warp [<text>]:
        trigger:
            if arg-1 is set:
                if {warp::%arg-1%} is set:
                    wait 1 second
                    send "&aTeleporting..."
                    teleport player to {warp::%arg-1%}
                if {warp::%arg-1%} is not set:
                    send "&cThis warp does not exist!"
                    stop
            if arg-1 is not set:
                send "&6Usage: /warp <warp name>"
      
    command /setwarp [<text>]:
        trigger:
            if arg-1 is set:
                if {warp::%arg-1%} is not set:
                    set {warp::%arg-1%} to location of player
                    send "&aSuccessfully set new warp!"
                if {warp::%arg-1%} is set:
                    send "&cThis warp already exist!"
            if arg-1 is not set:
                send "&6Usage: /warp <warp name>"

    wait nevermind I think i fixed it

×
×
  • Create New...