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

    Solved Get name(??) of loop

    Here is some piece of loop: set {_data::VALUE} to true loop {_data::*}: ... And, how should i get that VALUE in loop?
  2. SniperFox

    Solved Function with variable in its name

    Hello. How can i evaluate function with variable in it? Uh, for example: set {_tmp::name} to "Test" someFunction%{_tmp::name}%()
  3. SniperFox

    Resourcepack Status

    (Disclaimer, probably: Sorry for my bad English) And so, i need some expression, which can say: does player installed custom server resourcepack, or not. If it exists, of course. Can someone help me? P.S. I tried to install RandomSk, but, expression "Resourcepack status" doesn't want to work...
  4. SniperFox

    Location in MySQL

    Skript Version: Skript 2.2-dev36 Skript Author: Bensku Minecraft Version: 1.12 Spigot --- Full Code: So, i need to save location of the spawn to the MySQL database, and then i need to use it to teleport player to it (On Join Event). So, how do i need to save this variable to my database, and...
  5. SniperFox

    Solved Loop blocks

    Hello! How can i loop blocks between or within two variables? I didn't saw the erorr, sorry. Here it is: [10:32:06 FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.AssertionError: TRAP at java.util.concurrent.FutureTask.report(FutureTask.java:122)...
  6. SniperFox

    Solved Check item in player's inventory

    Hello! At me here such problem, I think that under a script it is clear that I want to make :p (By Google Translator) if player's inventory contains {_number} of {_item}: remove {_number} of {_item} from player give player {_itm} named "%{_na}%" send "{@successful}" No errors, but...
  7. SniperFox

    Solved Remove enchantments

    Can i remove enchantments from item? Or from variable, that contains item?
  8. SniperFox

    SkQuery MySQL

    There is database. Let's say its name is "database". This database has a column. Let's say its name is "num". How can I use SkQuery (Fork) to take data from this column and use it? num is a numeric value.
  9. SniperFox

    Push player back

    Okey, I know how to push player forward, but, how to push player back? Solved: if player's horizontal facing is north: push player south at speed 4 else if player's horizontal facing is east: push player west at speed 4 else if player's horizontal facing is south...
  10. SniperFox

    Solved How can i set block at location?

    Well, I have a variable with the block location, the question is: how do I put the block on this location? Here are some snippets of code: Set variable: loop all blocks in radius 5 around {_plotloc}: set {_block} to loop-block set {_blockloc} to location of loop-block ... set...
  11. SniperFox

    Some platforms

    Google translator! Well, such a situation, there is a 5-by-5 platform, and can we somehow do that the extreme blocks of the platform are removed? Ie, that would have turned the platform into 4-by-4 platform?
  12. SniperFox

    Solved Set block

    loop all blocks in radius 5 around {_plotloc}: set {_block} to loop-block set {_blockloc} to location of loop-block if {_block} is stone slab: set block {_blockloc} to magma block Can someone help me with this? Here's the error: [13:43:58 ERROR]: There's...
  13. SniperFox

    Solved Doors

    I'm trying to make a system of protected doors. Well and when I use "on right click on wooden door" (the Essence not that here it is written, and that it should do) When I click on the top of the door everything working fine .. When I click on the bottom of the door, nothing works ... P.S. By...
  14. SniperFox

    Solved Skins

    Hello everyone. I am new in Skript (Almost everyone says so, so I'll say it too) In the menu in Skript there is such a thing as skull of player. So, is there any addon for skins support from SkinsRestorer? Well, or another plugin on skins, which has such a thing ?. P.S. By google translator