Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Block Tick?

Comments in 'Plugin Development' started by H10998, Mar 1, 2014.

  1. H10998
    Offline

    H10998 New Member

    Joined:
    Feb 23, 2014
    Posts:
    7
    Minecraft User:
    H10998/H_10998/H_1998
    I was wondering how to run a section of code every tick or second and not stop the server. I tried using a command and looping it, but it stopped the server.
  2. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    755
    Plugins:
    2
    Minecraft User:
    Darunia18
    Well constantly running a command could overload your server, but if you REALLY wanted to, you'd just have to make a plugin that schedules an event every second (or 20 ticks) and then in that event, have it run the section of code, but if it's more than a few lines, it may overload it.

Share This Page

Advertisement