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

    Skript and Big servers

    Hey there, I am not sure of this topic belongs here, but I have a question. I am planning on using Skript as the main code language of a server which can potentialy get a lot of players. (Think of between 70 and 100). I am also going to use quite a big minecraft world (pre rendered). Is it...
  2. SoMuchWessel

    Removing a NBT tag from an item

    Hey, So i just got a quick question: How do i remove a NBT tag from an item? Because "remove "{Unbreakable:1b}" from nbt of held item" doesn't work. Adding it does btw.
  3. SoMuchWessel

    Click type: Number key

    Hey there, My question is very straight forward: on inventory click: if click type is number key: How can i detect which number key was pressed?
  4. SoMuchWessel

    Targeted player by aggresive mobs

    Hey there, I am trying to make that if a player spawns in a monster by spawnegg, that that mob will not attack the player who spawned it, but it will attack the rest of the players like normal. But i can not find a way to do this, can you guys help me out?
  5. SoMuchWessel

    Endless Gui's

    Hey there, I came to the idea to make a GUI that covers a list variable. In a list variable, I put blocks/elements. If this list gets bigger than the GUI interface, I want it to cut it off and puts the rest in another GUI (like a page 2) until this one is full ect. But I can't come to a way...
  6. SoMuchWessel

    Bossbar countdown

    Hey there, I started working with bossbars, and I thought it would be cool to make a bossbar countdown. After some testing, I ended up with this peace of code: command /countdown [<number>] [<text>]: trigger: create bossbar titled "%colored arg-2%" and id "%arg-2%" for player...
  7. SoMuchWessel

    Getting the next element out of a list

    Hi there, I had an idea to write a code that 'loops' through a list variable. Like in the list you have: A. B, C And if I would run the command /next it will first give me A. The next time I run the command /next, it will give me B ect. But after testing and searching I still could not find a...
  8. SoMuchWessel

    Personal tab color only

    Hi guys, I am looking for a solution for this a long time, but still have not found a way to do it. I want that only on my screen i have a red tab name, which all other players just see my name as white. How can i do this?
  9. SoMuchWessel

    Bugg with removing items

    Hey there, I updated to the latest version of skript lately: 2.4.1 But i got a line of code that is not working correctly: command /remove: trigger: send "%held item%" remove 1 of held item from player's inventory If i have a barrier ( or any other item ) in my hand, with...
  10. SoMuchWessel

    Removing items with and without lores

    Hello guys, I was trying to make a shop like skript, where the currency is emeralds. So i wrote this simple code: command /pay <integer>: trigger: remove arg-1 of emerald from player's inventory This works, but the problem is: If a emerald has a lore or a name, it does not get...
  11. SoMuchWessel

    on hologram touch

    Hello guys, I found out about an event called On Hologram Touch. I really want to use this, but sadly i dont get it to work. on hologram touch: if event-string is "Example": broadcast "Worked" else: broadcast "Not Worked" This was an example i found online. But i get...
  12. SoMuchWessel

    Durability not working

    Hey guys, I have a problem with removing durability from items. I have tried multiple things like: add 1 to the data value of held item set held item's durability to (held item's durability - 1) remove 1 from held item's durability But none of those seems to work like i want it. I want that...
  13. SoMuchWessel

    clearing the result slot of a crafting recipe

    Hello there, I am trying to make a recipe result disappear if you try to make like a iron pickaxe, but you do not have the permission craft.craft I tried many things but it wont work like i want to. Can you guys help?
  14. SoMuchWessel

    Solved 1.13 Potion names

    Hi there, I ran into a problem. I normally used code like "water bottle:11" to get a drinkable jumpboost 1, but with 1.13 the numberic disappeared. I can not find the allias connected to the potions, just the name "water bottle". With splashpotions skript is saying its: "Splash potions of...
  15. SoMuchWessel

    Solved Skript 1.13 gui error

    Hi guys, I am trying to format my code from a 1.12 server to a 1.13 server using the last versions of the addons and skript. The addon i used for my gui's is SkQuery-Lime. Now if i run the command which would give me a gui, i get a empty gui with an internal server error. This is my code...
  16. SoMuchWessel

    coloring held item

    Hi guys, I came to the idea to make a command which will color the leather armor piece you are holding by RGB. command /dye <integer> <integer> <integer>: trigger: if held item is a leather chestplate: dye player's tool (%arg-1%, %arg-2%, %arg-3%) This code above is...
  17. SoMuchWessel

    removing normal and named items

    Hey there, i got a weird situation. I got this code: on right-click on sign: loop all blocks in radius 2 of event-block: if loop-block is chest or trapped chest: if 1st line is set: set {_buy.%event-block%} to "%line 1 of event-block%" parsed as a...
  18. SoMuchWessel

    Solved kill crash bugg

    Hello guys, I got a little bit of a problem here. I have a region with worldguard which has the flag "invincible" active. And i have the last version of the 1.12 skript and the last version of worldguard. But when a player dies with skript using "kill player", that player will 'crash'. He will...
  19. SoMuchWessel

    Solved Giving item and lore

    Hello guys, Is there a way to give a player a item and give the given item a lore? Like: give a dirt to player set the 1nd line of the lore of the given item to "test" And i know about the codeline: Give the player a dirt with lore "test", but that is not what i want here
  20. SoMuchWessel

    Solved Random teams red vs blue

    Category: Teams Suggested name: teams.sk What I want: I want that people can join a lobby. If there are enough people the game will start. This part is already done. I want that there are 2 teams: Red and Blue. After the game starts, i want that everyone in {game::lobby::*} is random assigned...