Solved Sending lines from a .txt file

Discussion in 'Plugin Development' started by theearlypc423, Oct 31, 2013.

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

    theearlypc423

    So currently I have a plugin that can create a text file with a command, I am trying to have the lines from the file be able to be sent to the player. Like the essentials motd. I want it so every time the file goes down a line it will send a different message to the player with sender.sendMessage. Any help? :D
     
  2. theearlypc423
    Why not just use the standard config file? Its much easier to do :p
     
  3. Offline

    theearlypc423

    Well that's not really the point of the plugin. The plugin makes complex menus.
     
  4. Offline

    Phinary

  5. Offline

    theearlypc423

    Won't work
     
  6. Offline

    MCCoding

    Phinary and DAZ3DNDC0NFUS3D like this.
  7. Offline

    theearlypc423

    Found an example in a blog with a different variable for loading the file. Worked smoothly :D
     
Thread Status:
Not open for further replies.

Share This Page