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 comminuty!

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

  1. Q

    Random Number not working

    I'm trying to make a random item selector (kinda like Mario Kart) and I have this in my .sk file: on step on pressure plate: loop 10 times: set player's selected hotbar slot to slot 0 of player set {_number} to a random number between 1 and 4 if {_number} is 1...
  2. Q

    If a certain block is _____ block

    I'm coding an excavator that mines a 3x3x20 space when used, and I need to make a blacklist of blocks it shouldn't break when excavating (so the player can mine them). Here's the code so far. on rightclick with structure void on stone: if player's y coordinate is less than 40: if...
  3. Q

    Variable Help?

    I'm trying to code a feature where when you click a sign with certain text on it, you will purchase a rank (if you have enough money). on rightclick on sign: if line 2 is "Plus Rank": set {_balance} to value of placeholder "vault_eco_balance_fixed" from player set...
  4. Q

    On Bungeecord Join event anywhere?

    I'm trying to code a system where you can set a custom join and leave message, but the server is running Bungeecord. I don't want the message to repeat every time someone switches servers, but after searching many addons, it seems like there is no event for when someone joins/leaves the proxy...
  5. Q

    .txt file has 0 lines (skUtilities)

    I'm setting up a server, and one of the commands is for custom join/leave messages. It's a Bungeecord server, so I make it a .txt file when they input it. That way, all the servers can access it for when the player leaves/joins. However, when I have it make the .txt file, it says that the file...
  6. Q

    Solved Item Duplicates in Inventory

    I'm coding a plot menu where, when you right click with a certain item, it opens a menu, and each item in the menu is a command. The menu part is being handled by ChestCommands (plugin). However, I have it coded to give the player the item when they join, and to not let the player drop the item...