Jump to content

JoshG

Member
  • Posts

    61
  • Joined

  • Last visited

  • Days Won

    1

JoshG last won the day on June 10

JoshG had the most liked content!

About JoshG

  • Birthday February 25

Recent Profile Visitors

686 profile views

JoshG's Achievements

Rookie

Rookie (3/6)

2

Reputation

  1. I have always skripted my scoreboards within a function, so when I need to update it I call the function like so: command /reloadscoreboard: trigger: scoreboard(player) send "&7Your scoreboard has been successfully reloaded!" to player function scoreboard(p: player): set title of {_p}'s scoreboard to "Your Title" set line 15 of {_p}'s scoreboard to "Line 1 (closest to top)" set line 14 of {_p}'s scoreboard to "and" set line 13 of {_p}'s scoreboard to "so" set line 12 of {_p}'s scoreboard to "on" set line 11 of {_p}'s scoreboard to "down" set line 10 of {_p}'s scoreboard to "to" set line 9 of {_p}'s scoreboard to "line" set line 8 of {_p}'s scoreboard to "1!" ... This way when say, updating someones balance, you can call the function to reload their scoreboard. But for you, it would be more of: every second: <-- Code for Timer --> loop all players: scoreboard(loop-player) Although I always try to only update scoreboard when I really need to
  2. Is it triggering though? The code I sent will only trigger when fully ripened wheat is broken
  3. Are you using Vulcan Anti-Cheat? If so, remove it. It has a known backdoor giving users access to the server. Use the official one only https://www.spigotmc.org/resources/vulcan-anti-cheat-advanced-cheat-detection-1-7-1-20-1.83626/ found here. Or, use a different one.
  4. Odd, try this function getGenCost(): return "{@cost}"
  5. I'm gonna be adding vouches here 🙂

  6. JoshG

    Custom Domain Error

    That should be good. Try changing TTL to the lowest possible amount of time.
  7. Please use https://forums.minehut.com/forum/18-discussion/ in the future, this forum is for Skript Releases, not support. But, this below should do it if event-block is fully grown wheat plant: set event-block to air give 1 wheat to the player send action bar "&e+1 Wheat" to player if {time.x} is set: give 1 wheat to the player send action bar "&e+2 Wheat &6(2x Multiplier)" to player else: send action bar "&e+1 Wheat" to player
  8. JoshG

    Custom Domain Error

    Did you correctly set up the DNS records? If so, I recommend creating an additional SRV record pointed toward your server aswell. If you are using cloudflare for your DNS heres what it should look like
  9. This is not a very efficient way to do this. First I would add the location to a list: {beaconloc::*} and looking at this it looks very long and kind of inefficient. Looping 1200 times of waiting 1 tick and chances will take a lot on your server, especially if theres multiple at a time. So, you could just set a variable (ex; {beacontime::%unix of now%}) to the unix of now and when people try to open it you check the time between now and the variable set, instead of just tons of waiting.
  10. I don't see why you need to run a function that just returns {@cost}, I would replace the function with just simply {@cost}. But, I can see maybe it being run when the cost option is not set in another file, so I think the easiest fix is function getGenCost() :: number: return "{@cost}" Remember skript see's options as a text, which is the reason the below works options: command: skriptcommand message: Message set in options command /{@command}: trigger: send "{@message}" Let me know
  11. Simple PV Script! Infinite PV's! Permissions: PV.set - Sets a user's allowed PV slots Commands: /pv (#) - Opens the # PV /setpv (player) (number) - sets number of allowed PV's Defaults to 1 PV per player. TOS: No claiming this work for your own. You may edit and change the code Minor support may be given, but shall not be expected pv.sk
  12. You could set the variable or you could use base skript cooldown: 1 hour and add the flag cooldown storage: {variable::%player's uuid%} https://skripthub.net/tutorials/75
  13. Hey hey! I can help! Send me a message here or on discord! Josh.#6656
  14. JoshG

    Minehut

    Hey hey! Please open a support ticket: https://minehut.zendesk.com/hc/en-us/requests/new?ticket_form_id=4999999402643
  15. Hey hey! I have been working on a little project recently and just finished. What is it, you may ask? Glad you asked. It's a free, 12 lesson course all about skript. Just register at https://axiabit.com/skript/ and off you go. That Simple. I would love to hear feedback from anyone who completes the course or anyone who uses it as a reference later on! Contact me on Discord: @Josh.#6656 Heres the lesson outline! Lesson 1: Introduction to Skript Lesson 2: Variables and Data Types Lesson 3: Conditional Statements Lesson 4: Loops Lesson 5: Functions and Subroutines Lesson 6: Lists and Arrays Lesson 7: File Input/Output Lesson 8: Event Handling Lesson 9: Advanced Topics: Classes and Objects Lesson 10: Error Handling and Debugging Lesson 11: Interacting with External Systems Lesson 12: Project Development and Best Practices Also, feedback is welcome in replies!
×
×
  • Create New...