Error in console config.yml not replaced text

Discussion in 'Plugin Development' started by Kolia1_1, May 17, 2018.

  1. Offline

    Kolia1_1

    Error in console config.yml not replaced text

    plugin.yml

    Code:
    main: ru.games.register
    name: RandomMiniGames
    version: 1.0
    author: [kolia1_1]
    description: System random mini games by kolia1_1
    config.yml

    Code:
    msg:
      JoinPlayer: &eИгрок %player% вошел на сервер!
      JoinAdmin: &aАдмин %player% тють!
    Screenshot_85.png
     
    Last edited by a moderator: May 17, 2018
  2. Online

    timtower Ninja on the waves Moderator

  3. Offline

    Kolia1_1

    not send join message + error
     
  4. Online

    timtower Ninja on the waves Moderator

    Post those errors!
    We can't do magic and see them. Those errors tell what is wrong.
     
  5. Offline

    Kolia1_1

  6. Online

    timtower Ninja on the waves Moderator

    @Kolia1_1 Surround the value in the config.yml with single quotes.
     
  7. Offline

    Kolia1_1

    work, and message no send
     
  8. Online

    timtower Ninja on the waves Moderator

    @Kolia1_1 Broadcast the message for debugging purposes, or find another way to get it visible.
     

Share This Page