Search results

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  1. JustADev

    Fix this sk

    if {_p}'s inventory contains {_amount} of {_item}: add {_price} to balance of {_p} remove {_amount} of {_item} from {_p}'s inventory message "%{_prefix}% &a&lYou've sold &f&l%{_amount}%x %{_ItemName}% &a&lfor &f&l$%{_price}%!" to {_p} else: message...
  2. JustADev

    Solved I said something but Skript ignore it

    clear inventory of {_p} should work or try "clear {_p}'s inventory"
  3. JustADev

    If arg 2 is not set: Broken?

    command /lootbox [<text>] [<player>]: trigger: if arg-1 isn't set: send "Specify a text [ie: Help]" else if arg-2 isn't set: send "You must specify a player" else if arg-1 is "help": if arg-2 isn't set: if player has...
  4. JustADev

    [Help] Gun Skript

    well, that is 1 limitation of Minecraft, that you need space to shoot a projectile, else it sometimes doesnt fire
  5. JustADev

    Solved I said something but Skript ignore it

    set slot 0 of {_p} to iron sword
  6. JustADev

    List Variable to All Files in Specified Directory

    Question: I use Skript-YAML, and have looked at the syntax. But is there a way to set a list var to all files in a specified directory using Skript-YAML. My current system is: And inside Rotations I have: And I want to set like {_List::*} to all of the files within the "Rotations" folder...
  7. JustADev

    How to replace the code?

    show 10 "FLAME" particles at location 1 meter above block at location {property.activebuy::%loop-player%::pos1} for loop-player offset by 0, 2, 0
  8. JustADev

    Virtual inventory/chest

    open virtual chest with 6 rows named "CHEST" to player
  9. JustADev

    Virtual inventory/chest

    try "open virtual"
  10. JustADev

    Virtual inventory/chest

    set slot 1 of player's current inventory to dirt
  11. JustADev

    Help with packets

    Then use MundoSK's: on tab complete: set {_TabCompletions::*} to split {@FakeTab} at ", " loop {_TabCompletions::*} add loop-value to completions
  12. JustADev

    Help with packets

    No, if you use "on tab competer" or "on tab completion", it will call anytime you try to [TAB] in chat, but you can make it run only for a specific command, as noted in skQuery's syntax
  13. JustADev

    Help with packets

    Oops, its "on tab completer" not "on tab complete" ;) my bad
  14. JustADev

    Help with packets

    options: FakeTab: Player1, Player2, Player3 on tab complete: set {_TabCompletions::*} to {@FakeTab::*} split at "," delete completions loop {_TabCompletions::*}: add loop-value to completions It requires skQuery and you don't need packets
  15. JustADev

    Solved PlaceholderAPI integration

    Did you register the placeholder In-Game using PlaceholderAPI for "playerpoints_points"?
  16. JustADev

    skUtilities parse Date

    you can, but I was just showing u an example of how SkStuff's date conversions work
  17. JustADev

    Equip a Player's Skull

    set helmet of player to ("MHF_ArrowLeft" parsed as offline player)'s skull
  18. JustADev

    essentials sell multiplier

    Your best guess is to register placeholders when a player right clicks an essentials sign using PlaceholderAPI or Mv Placeholder API
  19. JustADev

    Solved disguise nick as real player

    Yes, It Requires skQuery for the addon command /nick [<text>]: trigger: if arg-1 isn't set: send "Put a nick here" else: if {Nick::%player's uuid%} is set: remove {Nick::%player's uuid%} from {ServerNickNames::*} set...
  20. JustADev

    skUtilities parse Date

    //You need to check if {LastLogin.%loop-value%} is actually a timespan command /timespan [<timespan>] [<text>]: trigger: if arg-1 isn't set: send "You must specify a timespan" else if arg-2 isn't set: send "You must specify something to convert to"...