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

    List variable issue?

    Hey everyone, I'm currently using list variables and I'm having trouble getting them to do what I want. My test code should have 3 variables in"{testvar::*}", however, after adding 10 onto Test1 its adds another blank variable to "{testvar::*}". The output is my code is shown here. Any help is...
  2. W

    Progession GUIs

    Hey everyone, I'm currently working on a turn-based battle skript and have run into a dilemma. In my skript you fight NPCs by being presented a GUI with different items representing each attack, however, as you progress through the game you continue to unlock new attacks. My question is how to...
  3. W

    Solved Saving to yaml file

    Hey everyone, just wondering the best, up to date, way of saving data/variables to a yaml file. I know you can do it using skUtilities however that addon seems to be abandoned. Any help is much appreciated!
  4. W

    Solved TuSKe alternative?

    Hey everyone, I'm wondering if anyone has any recommendations for an addon similar to TuSKe that's updated to the latest version of Minecraft. Any advice is much appreciated!
  5. W

    Saving Player Information

    Hi all, I'm currently trying to save player information such as their experience in different categories (fire, earth, etc) but I feel as though my current method is inefficient. https://pastebin.com/7ZSFTiJB Is there a more efficient way of saving this type of information? Thanks
  6. 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
  7. 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...
  8. 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.
  9. 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...
  10. 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...
  11. W

    Solved Second hand event?

    Hello, is there an event for when an item is put in a player's left hand?
  12. 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...
  13. 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
  14. 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...
  15. 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...
  16. 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
  17. 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...
  18. 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...
  19. 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...