Recent content by KingAdmin_YT

  • 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. KingAdmin_YT

    Best way to optimize this skript?

    Some code but really is it necessary loop-player is alive? Already every player is alive
  2. KingAdmin_YT

    Best way to optimize this skript?

    You can share your codes
  3. KingAdmin_YT

    Best way to optimize this skript?

    Since the skript is used, this is the case. If more optimization is desired, a plugin is recommended. Actually, even though the last event is constantly triggered, it is optimized according to the conditions.
  4. KingAdmin_YT

    Best way to optimize this skript?

    i think the best that below options: build-limit: 256 height-limit: 30 bedrock-limit: -5 on player move: if player's y-coordinate >= ({@build-limit} + {@height-limit}): teleport player to (location at player's x-coordinate, {@build-limit}, player's z-coordinate in...
  5. KingAdmin_YT

    Execute a command if 2 players are in a worldguard region

    How it doesn’t work? So when reloaded are there error or?
  6. KingAdmin_YT

    Detect if a list contains another list

    The contains() method checks if it contains the required elements. If it does, it returns true, otherwise it returns false. if contains({items::*}, all items in player's inventory) is true: // contains(required items, available items) send "yes, it's includes" Have you tried it?
  7. KingAdmin_YT

    item lock [help]

    let's try this on inventory item move: if event-item is enchanted with curse of vanishing: if type of holder of event-inventory is not player inventory: cancel event wait 1 tick close player's inventory send "You can not put items...
  8. KingAdmin_YT

    item lock [help]

    you can take a look at this: https://skripthub.net/docs/?id=2137 You can block based on this click pattern.
  9. KingAdmin_YT

    item lock [help]

    yes, it possible. but dealing with scripts is torture. i'm coding spigot java. let's try on inventory click: if cursor slot of player is enchanted with curse of vanishing: if click type is not left mouse button or right mouse button: cancel event stop...
  10. KingAdmin_YT

    Detect if a list contains another list

    function contains(n: items, c: items) :: boolean : if {_n::*} is empty: return false loop {_n::*}: set {_item} to loop-item set {_amount} to amount of {_item} in {_n::*} if {_c::*} does not contain at least {_amount} of {_item}: return false...
  11. KingAdmin_YT

    item lock [help]

    i understood. on inventory click: if event-inventory is not player inventory: if cursor slot of player is enchanted with curse of vanishing: cancel event wait 1 tick close player's inventory send "You can not put items enchanted with...
  12. KingAdmin_YT

    item lock [help]

    on inventory click: if type of event-inventory is not player inventory: if item is enchanted with curse of vanishing: cancel event wait 1 tick close player's inventory send "You can not put items enchanted with &6Curse of Vanishing&r...
  13. KingAdmin_YT

    Execute a command if 2 players are in a worldguard region

    options: region: "test1" on region enter: if region is {@region} parsed as region: manage(region) on region exit: if region is {@region} parsed as region: manage(region) on death: if region is {@region} parsed as region: manage(region) on quit: if...
  14. KingAdmin_YT

    Execute a command if 2 players are in a worldguard region

    set {_region1} to regions at player set {_region2} to regions at player if {_region1} contains {_region2}: send "true" it has one problem with what you said. Which players? What does it depend on? So you need to separate your players in the code
  15. KingAdmin_YT

    When using the Multiverse-Core plugin, if I die, how do I teleport to a world called spawn?

    or you can use the spawn of the world where the player died teleport player to spawn teleport player to spawn point of "world_nether" no tested