Returning Config Paths To Chat

Discussion in 'Plugin Development' started by AtrainTheGamer, Jan 2, 2015.

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

    AtrainTheGamer

    is there anyway to send a chat message to a player that contains the paths inside a specific path in a config file?

    ive tried: p.sendMessage(plugin.customConfig.getConfigurationSection(args[1]).getKeys(false).toString());
    and it returns an internal server error
     
  2. @AtrainTheGamer (Console errors? Code?)
    Are you certain that the player is sending the right ConfigurationSection in args[1]? If it doesn't exist, it may throw an error (That's all I can really deduce from what you've given us).
     
Thread Status:
Not open for further replies.

Share This Page