player

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

    Skript doesn't tell apart offline players' name

    Hey everyone! I am pretty sure that this is a Skript bug and it's driving me crazy. So basically, when I write a skript like the one below, even if I write a non-existent name in the command, it doesn't tell them apart it. No errors either. It just goes "This player's name is fegfkfnfbd". How...
  2. eyzk

    Script SIMPLE BACKPACKS v1.0 2.2-dev34+

    SIMPLE BACKPACKS v1.0 Simple, customizable backpacks in just 10 lines (when compressed)! Compressed? Remove all notes, options, line breaks, and permissions for 10-lines of backpacking beauty! Download the file above, or copy the code from below. # SIMPLE BACKPACKS v1.0 # Please do not delete...
  3. Z

    !NEED HELP ASAP, PLEASE! Sending action bar to a player stored in a metadata value

    So I have made a skript look like this: on damage: if victim is not a player: if attacker is a player: if name of attacker's tool is "&6Sweeper": loop all mobs in radius 5 of victim: if loop-entity is not victim: damage loop-entity by damage / 2...
  4. IViddyy

    Selecting A Random Player

    Hi im trying to make a command that when used selects a random player and calls them a nerd (example: [player] is a nerd!!!) but i dont know how to.I made a command that kinda works but idk how to send the name of the player.Here is the code i have currently command /nerd: trigger...
  5. IViddyy

    Solved Removing Blocks Around Player

    Hi im trying to make a command that can be turned on and off and removes blocks in a 5 block radius while on.But i dont know how to remove blocks around the player so can someone help?
  6. A

    Sword that damages all enities but not player

    hello, I would like a sword that damages all entities in a certain radius but if I use damage all entities, it damages the player too. any fixes? Code will be below. on right click: if player's tool is iron sword named "&6Scylla": if {-p::%uuid of player%::hype} is true...
  7. A

    Not being able to send to player

    I'm new to Skript and I'm trying a simple script that only sends a message when the player used the command, /test. In the test command I have send "hello" to player but I get a huge Skript error in the console: dockerserver-minecraft-1 | [02:09:43] [Server thread/ERROR]: #!#...
  8. IViddyy

    Solved Arguments

    Hi im new to skript and im trying to make a skript that kills the player by the amount u entered (like if u entered 5 it insta kills the player 5 times). Edit: its for insta respawn.
  9. Mjatt_

    Players name as variable

    Hey there, I'm relatively new to coding/skript and wanted to open an GUI when clicking on another player. So that would start with on right click on player bla bla bla. But i want the name of the GUI as the name of the player you clicked on. Could anyone help? I cannot figure it out. All help...
  10. A

    How to detect when a player places a custom head.

    Topic (1) How could I detect when a player places a custom head? Topic (2) How could I place a custom head? Question (1) Could I just do on place: if event-block is a player head with nbt "%nbt%"? Please answer! Thanks in advance, AgentStrawberry
  11. S

    teleport player to last location on world

    Hey so i have 2 worlds smp,hub i want to make it when player teleport to hub skript will save the player coordinates and when he goes back on smp he would get teleported to those coordinates
  12. U

    is there a way to check the player's team in an if statement without any skript plugins?

    i'm making a capture the flag kind of minigame and i want to make it so that you can be killed if you arent on your teams side, i think i got everything else working but how do i check the player's team or is there an alternative?
  13. Z

    Solved Execute command when one player is left

    I'm having a trouble with my skript. I want to execute command when there is one player left in survival gamemode. Example: 2 players in survival mode remaining, and the other player kills the other one -> execute command. I have no clue how to get this to work. command /resetointi...
  14. E

    Can we detect critic attacks

    Can we detect critic attacks?
  15. B

    I am re-making bridge duels from hypixel

    basically, I want it so when {player.1} dies, it cancels the event and teleports them to (231, 152, -195, world). right now (no error message), it cancels the event but doesn't teleport {player.1} . please help #The duel command command /bridgeduel <player>: trigger: # putting players into...
  16. mmaalex22112

    Fetch and check region from player in water?

    Hey all, I've been recently trying to figure out how to check the region of a player who enters water. Right now I have this: on any movement: if block above the block below player is water: if block below region "pk1-aqua-w1": message "&8&lCrazed Man: &r&aThis is...
  17. D

    Solved Scoreboard / Sidebar

    Category: Scoreboards / Sidebars Suggested name: doesn't matter. Spigot/Skript Version: What I want: so i have an OP prisons server, and i want a scoreboard for it. i searched on here & found some older requests with scoreboard skripts, tho i couldn't really get them to work, i always met...
  18. M

    Shears Teleport

    Suggested name: Shears Teleport Spigot/Skript Version: 1.7.10 / 2.1.2 What I want: I want that when a player hits you, the location where you hit is saved and for 10 seconds if you right-click a scissors or any other item, transport you to the location where he hit you (not the player) Ideas...
  19. ItsMCB

    Solved Enable/Disable Scoreboard with %loop-player% and %player%

    I'm trying to create a command that will toggle the scoreboard for that certain player. One player might want to play with it on while another might want it off. This gives them that option. I have gotten the enable and disable part of the code to work, but I'm not sure how I can fit it in with...
  20. A

    Check if player is riding in a boat

    I really want to create a script that checks if a player is in a boat and then sends a message. This is what i currently have but it isn't working. every second: if player is riding a boat: send "This is a test"