Title Help :)

Discussion in 'Spigot Plugin Development' started by BK201, May 16, 2015.

  1. Hello, i'm trying to replace the $mine$ to change to the mine name could you help me please..?
    I'm using Title and action api 1.8.3 :)
    message = message.replaceAll("$mine$", Mine.getName());
    Title.broadcastAllFullTitle(7, 16, 7, "&e&lThe Mine $mine$ Has Been Reset", "&9&lInfomation");
     
  2. Use String#replace()
     
  3. Thanks think you could add it to the class for me as i have never seen that before im still new> message = message.replaceAll("$mine$", Mine.getName());
    Title.broadcastAllFullTitle(7, 16, 7, "&e&lThe Mine $mine$ Has Been Reset", "&9&lInfomation");
     
  4. He gave you the answer, use message.replace(string, string);
     
  5. Thanks (Sorry for wasting your time)
     
  6. This forums is made for us to help you.

    No need to feel sorry, we're to help everyone!
     
  7. sorry but its not working, or its because im a noob :(