Jump to content

Vertex_Minehut

Member
  • Posts

    62
  • Joined

  • Last visited

Posts posted by Vertex_Minehut

  1. Hey there, next time ask in the "Help" section of the forums (here) To do this the best way is to get the plugin "Skript", restart your server, go into File Manager, click "Plugins" then click the "Skript" folder, go into "Scripts" and make a new file, name it give.txt or .sk, then paste this code into it

     

    on first join:

      give player 1 of ITEM HERE

     

    then click save and go ingame and type "/sk reload give.(txt or sk, depending on what you did)"

  2. Hey there, Next time you ask a question please ask HERE. How are you trying to upload the file? Dropbox etc.. If it is dropbox you need to replace the 0 at the end of the link with a 1.

  3. I gotchu.

     

    on block break:

      wait 1 tick

      event is not cancelled

      add 1 to {blocksbroken::%player's uuid%}

     

    command /leaderboard-reload:
      permission: lb.reload
      trigger:
        send "&eReloading leaderboards..."
        wait 3 ticks
        reloadBoard("blocksbroken""Blocks Broken")
     
    function reloadBoard(value: text, name: text):
      set {_sort::*} to sorted {%{_value}%::*} from highest to lowest with format "@index|@value"
      delete {top::%{_value}%::*}
      loop {_sort::*}:
        add 1 to {_i}
        set {_split::*} to split loop-value at "|"
        set {_split::1} to {_split::1} parsed as a offline player
        set {top::%{_value}%::%{_i}%} to "&6%{_i}%. &6%{_split::1}%&e: &f%{_split::2}% %{_name}%"
        if {_i} > 9:
          exit loop
      wait 1 tick
      delete holo {leaderboard.holo}
      wait 1 tick
      create a new hologram with lines ("&6Leaderboard &e| &fTop %{_name}%", and {top::%{_value}%::*}, at {hololoc} and store it in {leaderboard.holo}
     
    command /leaderboard-location:
     permission: lb.setlocation
     trigger:
      set {hololoc} to player's location
     
    every minute:
     execute console command "/leaderboard-reload"
  4. Hey there, to make yourself a Server Operator go into the Accessibility section of the Minehut Panel (here) then scroll down to "Server Commands". Type in the Server Commands box "/op <yourname>" with no <> and then press enter.

×
×
  • Create New...