command

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

    How to make a system that removes a specific index of list and move all indexes after that down 1 step?

    I am making a /changelog command and I am trying to make a remove system, by running the command /changelog remove 2 it should remove the 2nd row of the changelog and move the rows beneath it up one step. Although, the last row doesn't seem to correctly change position. if i would have the...
  2. T

    I need help urgently <Console Messages>

    I'm using "execute console command" in Skript but it says a lot of messages in the console [01:00:50 INFO]: Displaying particle minecraft:glow [01:00:50 INFO]: Displaying particle minecraft:glow [01:00:51 INFO]: Displaying particle minecraft:glow [01:00:51 INFO]: Displaying particle...
  3. V

    Solved Commands without "/"

    Is it possible to make commands without "/"? It sadly cant be as simple as: on chat: if message is "!test": send "test" It has to have arguments, like: on chat: if message is "!test <arg>": send "test %arg%" But that sadly doesn't work. Is there anyway to get around that?
  4. 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...
  5. P

    Solved Help with custom commands and loop dropping items

    So I have this server that I work on, that basically has different jobs. One of them is going to be a janitor, which will have an area to work, they will clean up dirt, which will just be a dropped item. I have set the coords I want the drops to spawn at, but I want to be able to activate the...
  6. XpelaajaX

    Chest regeneration

    Hi! im making a battle royale game! I want chest system that works like so: 1. Clicking a chest breaks it, summons particles and drops items. 2. on command /chestregen all of the broken chests can someone please help me :D and also my skript plugin is not working beacause it just freezes the...
  7. R

    Solved Modify existing command

    I use FactionsUUID and Lands, I want both to work together so I have been building a script to make it happen. However, when it comes to banning and kicking from factions I need to be able to target the second argument in the command and I do not know how to do that. All commands in this script...
  8. S

    How Do I make trap command? Help please!

    I want to make a trap command were you can do /trap <Player> <Time> and it puts glass all around then for a certain amount of time and then goes back to normal. I found my skript has some problems to it. 1. If the player is jumping there is no floor because I dont know how to save block data...
  9. Ali Tuna BAYLAN

    Block/Unblock Command on Server Skript

    Usage: /blockcmd [command], /unblockcmd [command] Example: /blockcmd help on command: if {blockcmd::*} contains command: cancel event send "This command is blocked." command /blockcmd <text>: permission: op trigger: if arg-1 is set: if...
  10. Z

    Solved /get command for a plugin

    ok, so basically what i need help with is: When a player sends /get ak this command runs: /QA give AK47 and then this also gets executed: /QA give akammo That is all i need help with, as soon as i know how to do this, i can easily create the other guns. :) Thank you. :)
  11. F

    Execute console command in specific world

    Hello there! I'm having some trouble with this: execute console command "/entitydata (UUID of entity) {Attributes:[{Name:generic.followRange,Base:100}]}" But it won't let me. I tried debugging it and manually, in-game, putting in an UUID and it worked! So i figured that since there wasn't a...
  12. N

    Skript Command Not Working

    Hey peoples. So I'm testing out making shop GUI's using skript 2.6, I am on 1.18.1, and don't have TuSke or any other skript addons (except skript of course, so I am doing vanilla skript). For some reason the command I have made will not work, I do /sk reload, and no errors, I look in the...
  13. O

    Solved <Command> JSON With %player%

    When I try and use the <command:command> format in text with Skript, it only shows in chat and is not clickable like how I want it to be. In the file I linked, I showed how it doesnt seem to want to be in the normal format and shows the whole <command> statement thats supposed to be clickable...
  14. D

    Solved Armor Stand Problem

    Hey, I have a problem: I placed an armor stand and with the following script I wanted to execute a command with it. But it doesn't work, why? Here is my code: Skript: on right click on a armor stand: send "test message" player's world = "world": send "test message" if...
  15. C

    Solved Simple Gui not working

    command /menu: trigger: open chest with 3 rows named "Menu" to player format slot 3 of player with book "format slot 3 of player with book" doesn't work. I have the plugins SkQuery and skRayFall
  16. D

    Script Vouchers! 1.0

    This Skript made by me is very useful! It allows you to create vouchers with the item you are holding and then edit the items you get by changing them in a GUI. You can also add commands that will execute when the player right clicks. Addons Needed (Pretty Sure): SkBee Usage...
  17. H

    Solved Help with list variables.

    I'm trying to make it so you can see the time you must wait to use a command again. I understand that you can use "cooldownmessage:" and %remaining time% for that, but it shows 2 decimal places. I want it to only show whole seconds. Here is the code that I tried. I cannot figure out why it does...
  18. C

    Run Linux command with Skript

    Hello, is there a way that i can execute Linux commands with Skript? I tested it already with skutilities and used: run script at "../proxys/proxy-01/start.sh" as code (To startup, it is not the only line) but its not working, every time it comes an Error up: [skUtilities] v0.9.2: Path...
  19. Jonathan Cohen

    Solved Skript Error

    I keep getting this error on the command "/player (mode)" Skript version: 2.2-dev36 Server version: 1.8.8 craftbukkit Code ----------------------------------- command /play [<text>]: executable by: players trigger: if arg-1 is set: if arg-1 is "solo_normal" or...
  20. I

    Solved custom message skript not working

    so i invented these things on my server called MinePhones. I want to make it so theres a text message app. Heres my code: command /minemsg <player> <text>: trigger: {latestmessage} = args 2 {recipient} = args 1 open virtual chest inventory with size 1 named...