Jump to content

vaczz

Member
  • Posts

    13
  • Joined

  • Last visited

Posts posted by vaczz

  1. this is what i have, but i want to enchant the items, i tryed much things but i cant find out how it works.

     

    on right click:
        if player is holding paper named "&eKits":
            open chest with 1 rows named "&2Kits" to player
            format gui slot 0 of player with diamond sword named "§6Beast" with lore "&7- &eDiamond sword" and "&7- &eDiamond armor" to run:
                open chest with 1 rows named "&eTeleport" to player
                format gui slot 0 of player with oak stair named "§6Spiral Staircase" to run:
                    teleport player to location at 13.500, 25, 72.500 in world "pvp"
                    clear inventory of player
                    wait 1 tick
                    set slot 0 of player's inventory to diamond axe
                    set slot 1 of player's inventory to wooden sword
                    set slot 38 of player's inventory to diamond chestplate #chestplate
                    set slot 37 of player's inventory to diamond leggings #leggings
                    set slot 36 of player's inventory to diamond boots #boots
                    wait 2 ticks
                    enchant slot 0 of current inventory of player with sharpness 1
                    enchant slot 1 of current inventory of player with knockback 1
                    enchant slot 38 of current inventory of player with protection 1 #chestplate
                    enchant slot 37 of current inventory of player with protection 1 #leggings
                    enchant slot 36 of current inventory of player with protection 1 #boots

     

    it doesn't give errors but it just doesn't work

  2. 2 hours ago, BanditEagle said:
    2 hours ago, BanditEagle said:

    This should be this:

    
    
    add 200 to balance of player

    Also, are you using TuSKe  as a skript addon for the gui? Or are you using something else?


    yeah i use TuSKe, but if i reload the skript i get an error

    2021-05-01_18.16.34.png

  3. 20 hours ago, Tarnerd said:

    You aren't adding the balance to the essentials eco. To add money to the essentials eco, do add 200 to player's balance. Currently you are adding 200 to a skript variable. 

    so what do i have to set it to?

  4. 22 hours ago, BanditEagle said:

    can you send your latest code?

    command /bank:
      permission: op
      permission message: "&4This command is'nt ready yet."
      trigger:
        open virtual chest inventory with size 3 named "BANK" to player
        format gui slot 0 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 1 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 2 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 3 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 4 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 5 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 6 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 7 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 8 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 9 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 10 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 11 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 13 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 15 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 16 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 17 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 18 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 19 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 20 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 21 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 22 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 23 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 24 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 25 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 26 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 12 of player with chest named "&bBank" with lore "&6Bank your ores" to run:
          open virtual chest inventory with size 3 named "BANK" to player
          format gui slot 13 of player with diamond named "§b1 Diamond" with lore "§6(amount)" to run:
            add 200 to player's essentials balance
        format gui slot 14 of player with dispenser named "&4UnBank" with lore "&6UnBank your ores" to run:
          open virtual chest inventory with size 3 named "UNBANK" to player
          format gui slot 13 of player with diamond named "§b1 Diamond" with lore "§6(amount)" to run:

  5. 15 hours ago, BanditEagle said:

    if you create your own economy with your own money-value and your own way of setting that value to different things, it is possible. However, it is less reliable and more prone to data leaks and breaks as plugins that are as polished, updated, fixed, and worked on by multiple people will always work better than a skript does. Also, using Java is much more efficient when it comes to this type of stuff than Skript is. Personally, I would go with EssentialsX since it not only adds the economy, but also adds a lot of other useful stuff, but that's my personal preference. Go with whatever you understand the most and is easiest for you to use. It is a matter of personal preference afterall.

    yeah i have the plugin EssentialsX installed and i use it for other stuf to. but it still doesnt work

  6. 16 hours ago, _Tarna_ said:

    What did you do that didn't work? Did you click on slot 12 and then slot 13? Slot 12 is supposed to open a new gui and slot 13 in that gui is supposed to add 200 to the player's balance.

    yea that works but if i do /balance it didn't add 200 to my balance

  7. hey,

    thanks for helping and commenting

    i tried it and it didn't gave an error but i doesnt work for no reason.

     

    command /bank:
      permission: op
      permission message: "&4This command is'nt ready yet."
      trigger:
        open virtual chest inventory with size 3 named "BANK" to player

        format gui slot 12 of player with chest named "&bBank" with lore "&6Bank your ores" to run:
          open virtual chest inventory with size 3 named "BANK" to player
          format gui slot 13 of player with diamond named "§b1 Diamond" with lore "§6(amount)" to run:
            add 200 to {balances::%player's uuid%}
        format gui slot 14 of player with dispenser named "&4UnBank" with lore "&6UnBank your ores" to run:
          open virtual chest inventory with size 3 named "UNBANK" to player
          format gui slot 13 of player with diamond named "§b1 Diamond" with lore "§6(amount)" to run:

  8. command /bank:
      permission: op
      permission message: "&4This command is'nt ready yet."
      trigger:
        open virtual chest inventory with size 3 named "BANK" to player
        format gui slot 0 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 1 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 2 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 3 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 4 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 5 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 6 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 7 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 8 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 9 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 10 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 11 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 13 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 15 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 16 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 17 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 18 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 19 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 20 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 21 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 22 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 23 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 24 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 25 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 26 of player with orange stained glass pane named "§6[]" with lore "§6[]"
        format gui slot 12 of player with chest named "&bBank" with lore "&6Bank your ores" to run:
          open virtual chest inventory with size 3 named "BANK" to player
          format gui slot 13 of player with diamond named "§b1 Diamond" with lore "§6(amount)" to run:
            add 200 to {balances::%event-offlineplayer's uuid%}
            message "You got 200 balance and banked 1 diamond"
        format gui slot 14 of player with dispenser named "&4UnBank" with lore "&6UnBank your ores" to run:
          open virtual chest inventory with size 3 named "UNBANK" to player
          format gui slot 13 of player with diamond named "§b1 Diamond" with lore "§6(amount)" to run:

×
×
  • Create New...