Jump to content

ApexSplat

Member
  • Posts

    147
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ApexSplat

  1. send "%{testlist::1}%" to player you replace 1 with the position in the list
  2. send "%{warplist::1}%" to player you replace 1 with the position you want from the list
  3. changing an attribute: https://skripthub.net/docs/?id=4272 attribute types: https://skripthub.net/docs/?id=4280
  4. you have to use it like "" so you need 2 of them so ""text"" would execute "test"
  5. debug your code, work out which line isn't being executed, then you know what line isn't being executed and can fix it or you can reply here with which line isn't being executed
  6. use vanilla guis good tutorial: https://forums.skunity.com/threads/vanilla-guis.8939/
  7. https://skripthub.net/docs/?id=1072 this is called when someone uses an elytra. you just need to cancel it when someone is in combat
  8. Well, it should be working. Are you sure you are changing the right variable?
  9. on join: set {_online} to amount of online players set {_power} to 1 set {_num} to 2 while {_num} != {_online}: wait 1 tick set {_num} to {_num}^{_power} if {_num} > {_online}: stop add 1 to {_power} execute console command "/" # Put the command executed for the key all here not tested
  10. what if there are 8 players and you need 16 online but then 7 people leave and there is 1. does the keyall reset and they need 2 players for a key all again?
  11. on right click with pickaxe: set metadata tag "pickaxe" of player to chest inventory with 5 rows named "&6&lUpgrade": set {_x} to 0 loop 54 times: set slot {_x} of metadata tag "pickaxe" of player to black stained glass pane add 1 to {_x} set {_level} to level of efficiency of player's tool set {_type} to type of player's tool set slot 22 of metadata tag "pickaxe" of player to {_type} of efficiency {_level} + 1 named "&6&lUpgrade" open (metadata tag "pickaxe" of player) to player on inventory click: if event-inventory = (metadata tag "pickaxe" of player): cancel event if index of event-slot is 22: set {_level} to level of efficiency of player's tool if {_level} isn't 5: enchant player's tool with efficiency {_level} + 1 else: send "You have reached the max upgrade of 5!" close player's inventory not tested
  12. well deleting the .jar file and any plugin folders should delete it. it would be nice if there was a video of you deleting it and restarting and it showing up again
  13. it needs to be arg 1 not {%arg 1%}
  14. If you want to do it in skript have a look at https://github.com/ShaneBeee/SkBee/wiki/Shaped-Recipe
  15. options: permission: skript.permission command /freerank: trigger: if player has permission "{@permission}": execute console command "/lp user %player% parent set free" else: send "&c&lYou already have a rank!" change skript.permission to the permission required to execute the command
  16. the 3rd line isn't inside the if statement so will always be executed on a right click regardless if they are holding a book
  17. https://skripthub.net/docs/?id=1103 the example given is: teleport player to 0.5, 0.5, 0.5 in world "world" player = the entity you want to teleport so for example if you want to teleport the last spawned entity use last spawned entity 0.5, 0.5, 0.5 = the coordinates you want to teleport the entity to so in your case it would be 63, 105, 29 "world" = the world you want to teleport the entity to so as an example if you want to teleport them to the nether it would be "world_nether" Now just put it inside an on click event and make sure to teleport the target entity: on click: if target entity is a player: if name of player's held item is "&6Jail Hammer": # insert teleport here
  18. Use this https://skripthub.net/docs/?id=3025, metadata or variables
×
×
  • Create New...