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. W

    Solved Pass NPC Name as function parameter

    Hey everyone, I'm wondering how I can get the name of the NPC that was right-clicked previously to pass to my function. Heres what I'm thinking but I can't get it to work: https://pastebin.com/SQSCwERJ . Thanks
  2. W

    Solved GUI Function Issue

    Huh, decided to go through and remove plugins that may be interfering and it turned out LuckPerms was causing the issue as its working perfectly now. I believe LuckPerms would just require a line for permission: "permission". Anyways, thanks for the help!
  3. W

    Solved GUI Function Issue

    Thanks for the reply but its just saying there's no player in the a function event, even after three different applications of what you said: https://pastebin.com/aEHRd5xt Until this bug is hopefully sorted out, I made a sorta klugey fix: https://pastebin.com/hhy7tcfq
  4. W

    Solved GUI Function Issue

    I re-formatted the code to TuSKe's GUI Manager and deleted skQuery: https://pastebin.com/4wYupzB6 I still am having the same issue. Recently noticed this error appearing in the console when clicking on the item: https://pastebin.com/SbafpBfk . Can anyone make any sense of it?
  5. W

    Solved GUI Function Issue

    Hey Everyone, I'm having an issue trying to move my GUI from a command to a function. Here is the code for the commands I created, which worked great: https://pastebin.com/beQLntQK And here is the code for the function I created, which opened the chest but the command wouldn't run, the diamond...
  6. W

    Solved GUI Next Page Error

    Hello, I am having an error with my GUI creation. Using latest version of skript and TuSKe Code: https://pastebin.com/35zAptVp After clicking potion named "Test1" Console Error: https://pastebin.com/F6JnmZMr Thanks.
  7. W

    Solved Loop problem

    Appreciate ya
  8. W

    Solved Loop problem

    But if player has permission "TT.gag.{_count}": format gui slot {_count} of player with dirt named "worked" add 1 to {_count} Works but if player has permission "TT.gag.{_count}": format gui slot {_count} of player with dirt...
  9. W

    Solved Loop problem

    I don't understand what you mean by "in another variable? Do I just have to add percent signs around _count?
  10. W

    Solved Loop problem

    Skript Version: Skript 2.2 (dev20c) Skript Author: Bensku Minecraft Version: 1.12.2 --- if player has permission "TT.gag.{_count}": format gui slot {_count} of player with dirt named "worked" else: format gui slot {_count} of player with...
  11. W

    Boarding Group

    Category: Skript Suggested name: BoardingGroup What I want: When any player enters the boarding group region they will be given a tool, for example an emerald named Invite. Upon right clicking a chest will open with Yes or no. No will close the chest, yes will send the same prompt to the...
  12. W

    Solved Second hand event?

    Hello, is there an event for when an item is put in a player's left hand?
  13. W

    Last Area Skript

    Skript Version: 1.12 Skript Author: bensku Minecraft Version: 1.12 Hello, I am trying to create a that when a player logs off it teleports them to the last known region they entered but its not working. Code: https://pastebin.com/iXLHisCy Error: http://imgur.com/a/iRPyb Any help is very much...
  14. W

    Solved How to detect when a player enters a certain region

    I am trying to create a skript that needs to detect when a player enters a certain region but I cannot find an event for this. The best that i've found is "On Region Enter", is it possible to do like "if %region% is (Region I want). Any help is apperciated
  15. W

    Solved Scoreboard Broken

    Skript Version: 1.12 Skript Author: bensku Minecraft Version: 1.12 Hello, I created a Scoreboard skript about a week ago but now it no longer works, I can't figure out why. My only guess is another plugin is overriding the creation of the scoreboard or the installion of TuSKe changed the code...
  16. W

    Solved Making Staffchat On or Off

    Skript Version: 1.12 Skript Author: bensku Minecraft Version: 1.12 Hello, I have already made a staff chat skript but in order to talk in it you must do /staffchat (message). Im wondering if there is a way to do just /staffchat or /staffchat on then all your messages will be in staffchat then...
  17. W

    Solved Disabling drowning damage?

    Skript Version: 1.12 Skript Author: bensku Minecraft Version: 1.12 Code: https://pastebin.com/jwCi2idY I would think my code would work but it isn't, no errors show up when reloading SOLVED: Server needed a restart
  18. W

    Help creating a report skript

    Skript Version: 1.12 Skript Author: bensku Minecraft Version: 1.12 Hello, I am currently trying to create a report skript. I just started and my first goal is to make sure the player that is being reported is online. My first problem that i've run into is I am trying to set "{_allPlayers} to...
  19. W

    Solved Detecting if mode is already enabled broken

    Skript Version: 1.12 Skript Author: bensku Minecraft Version: 1.12 Code: https://pastebin.com/1L3HpFv4 Hello, I am creating a staffmode plugin and I am trying to make it detect if the mode is already on and stop it if you are trying to turn on staffmode while it is still enabled. No errors in...
  20. W

    Solved Code to close a chest GUI?

    Hello, I am making a multi-page chest gui but once I go to a different page than the main page it glitches out. For example things that are set "to be unstealable" are stealable. I believe its because when I go to a new page I just have another chest open which just overlays the old one. So my...