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 community!

    Now, what are you waiting for? Join the community now!

  1. lotzy

    ScoreBoard No work, help.

  2. lotzy

    Solved Problem with duels :D

    I doesn't test this, time to test this and fix. I test this and all work good, idk what your's problem
  3. lotzy

    Need help with basic buying system

    on left click on spruce sign: #<- this is trigger, a.k.a event section message "You are about to buy this, left click again to buy" if %player's balance% is less than 500: # <- this is condition section, we put this inside event sections with 'tab' or 'space' symbols "You...
  4. lotzy

    Solved How i display the lore of a item in a tooltip?

    on chat: if message contains "[item]": cancel event player is not holding air set {_message} to message set {_count} to amount of player's held item in player's inventory set {_lore} to join (lore of player's tool) with delimiter newline...
  5. lotzy

    need to save the position before the player teleports

    [the] (former|past|old) [state] [of] %~object% %~object% before [the event] [the] (future|to-be|new) [state] [of] %~object% %~object%(-to-be| after[(wards| the event)]) https://docs.skriptlang.org/expressions.html#ExprTimeState
  6. lotzy

    Sign on a block not the same as sign standing on ground

    on rightclick on any sign: ??
  7. lotzy

    Teleport after distance

    'last spawned entity' expression return only spawned entity by you with skript in current event. In yours code 'last spawned entity' is always '<none>'. Use another event for handle entity spawn, or create global variable where you put entity
  8. lotzy

    Solved How do I add one to balance when clicking a specific block?

    mmm, add two 'space' symbols on line with 'send "Your Balance: &a%player's balance%"'
  9. lotzy

    Solved How do I add one to balance when clicking a specific block?

    You checked balance with EssentialsX command, yes? Check console also, maybe in console exists error during runtime
  10. lotzy

    Solved How do I add one to balance when clicking a specific block?

    import: com.earth2me.essentials.api.Economy java.math.BigDecimal on rightclick on dirt: Economy.add(player.getUniqueId(),new BigDecimal(1)) Maybe like this, need Skript-reflect installed
  11. lotzy

    Solved How do I add one to balance when clicking a specific block?

    Then you need use something like skript-reflect for get access to essentialsX economy API
  12. lotzy

    Solved How do I add one to balance when clicking a specific block?

    are you have vault installed? What economy plugin do you use?
  13. lotzy

    Solved Problem with duels :D

    I rewrite most part of your's code. command /duel [<player>]: cooldown: 1 second trigger: if {p::%uuid of player%::currentDuel} is not set: if arg-1 is set: if arg-1 is not player: if {duels::requests::%uuid of arg-1%::%uuid of player%} is not set: send "&c%player%...
  14. lotzy

    How can I detect player attacked with if?

    on damage: if attacker is player: if attacker's held item is diamond sword: #do some code
  15. lotzy

    Solved Help me :D

    command /duel [<offline player>]: cooldown: 1 minute trigger: if arg 1 is not set: send "&cNot a valid player" else if arg 1 is set: send "&a%player% wants to duel you | /request accept %player% to accept" to arg 1 send "&aSuccessfully send a request to %arg-1%" set...
  16. lotzy

    effect by rightclicking sign

    on rightclick on sign: if line 1 of clicked block is "Regeneration": apply regeneration of tier 10 to player for 999 days
  17. lotzy

    How to Multiply Amount Given With a Variable

    give {multi}*1 of wheat to player
  18. lotzy

    Solved How do I add one to balance when clicking a specific block?

    on rightclick on dirt: add 1 to player's money
  19. lotzy

    Skript doesn't work, what did I do wrong?

    :emoji_frowning::emoji_frowning::emoji_frowning::emoji_frowning::emoji_frowning::emoji_frowning: When not using reflection in some answers
  20. lotzy

    Async Pre Login Disallow in Skript

    with Skript-reflect: import: org.bukkit.event.player.AsyncPlayerPreLoginEvent on AsyncPlayerPreLoginEvent: event.disallow(AsyncPlayerPreLoginEvent.Result.KICK_BANNED, "You cant join")