Sign Search

Discussion in 'Plugin Development' started by olimoli123, Apr 5, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    olimoli123

    Would it be possible to search for signs around the world with certain text?
    For example, if first line had
    [Bank] it would update it every 1 hr or so.

    I know its possible to save it to configuration then read it from there but I was curious to know if there was a lower effort approach!

    Thanks!
     
  2. Offline

    chasechocolate

    You would need to loop through all the blocks, which may cause some lag. I would listen for SignChangeEvent, check if the first line (line 0) is "[Bank]" and then save it's location to a file.
     
Thread Status:
Not open for further replies.

Share This Page