Hey all, I want to add a feature to my plugin to display realtime stats onto a sign that has [Parkour] on the first line (rather than the x,y and z pos). If this is possible then please help If you dont understand this is kinda the thing I want [Parkour] (course)Views100 Anyone? :/ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Hello A5H73Y, 1. Save the Sign location to a HashMap / List / config / etc. 2. Use a Repeating Task (every X Ticks) 3. Obtain an instance of the signs @ the Location (1.) 4. Update sign text Hope i could help you
I said without the need for locations? (If possible) Can i not check for all the signs containing [Parkour] in the first line or something..?
yes you could use the player interact event or check every block on the whole world. (with would be very laggy)