Jump to content

karlip_a

Member
  • Posts

    33
  • Joined

  • Last visited

Everything posted by karlip_a

  1. These are the commands: /Stats -- Shows your stats /Resetstats -- Reset your stats /Resetlocalstats -- Reset the servers stats (Only for operators) This is what it tracks: Times you reset your stats Grass blocks stepped on Logs you have broken Player joins Deaths Heres the code for it variables: {%player%.gs} = 0 {%player%.dc} = 0 {%player%.tr} = 0 {%player%.tb} = 0 {%player%.joins} = 0 {lgs} = 0 {ldc} = 0 {ltr} = 0 {ltb} = 0 {join} = 0 on step on grass block: add 1 to {gs} add 1 to {lgs} on join: add 1 to {joins} add 1 to {join} on break of any log: add 1 to {ltb} add 1 to {tb} command /stats: trigger: send "&a&lYour player stats" send "" send "&4Times stats restarted: &7&l%{tr}%" to player send "&2Grass blocks stepped on: &7&l%{gs}%" to player send "&2Logs broken: &7&l%{tb}%" to player send "&2Player joins: &7&l%{joins}%" send "&2&lDeaths: &7&l%{dc}%" to player send "" send "&a&lLocal stats" send "" send "&4Times stats restarted: &7&l%{ltr}%" to player send "&2Grass blocks stepped on: &7&l%{lgs}%" to player send "&2Logs broken: &7&l%{ldc}%" to player send "&2Player joins: &7&l%{join}%" send "&4Deaths: &7&l%{ldc}%" to player command /resetstats: trigger: add 1 to {tr} add 1 to {ltr} set {dc} to 0 set {tb} to 0 set {gs} to 0 send "&2&lYour stats have been reseted!" to player close player's inventory on death of player: add 1 to {ldc} add 1 to {dc} command /resetstatresets: permission: op trigger: send "&4&lYour stats reset counter has been reseted" set {tr} to 0 command /resetlocalstats: permission: op trigger: set {ltr} to 0 set {ldc} to 0 set {ltb} to 0 set {lgs} to 0
  2. on click: if name of player's held item is "&7Magical Compass": set {player} to position of event-block send "%{player}%" to player on right click: if name of player's held item is "&7Magical Compass": send "%{player}%" to player teleport the player to {player} command /mc: trigger: give a compass named "&7Magical Compass" to player This was a learning experience for me, im not the best at skript so i had to research to find answers
  3. on break of any log: loop blocks upwards: if loop-block is any log: drop the loop-block-1 at event-block set the loop-block to air When you break a log the logs above the log you broke will be broken
  4. on break of any log: if player's held item is air: cancel the event Its pretty simple but it could be helpfull.
×
×
  • Create New...