Spaces in .yml commands

Discussion in 'Bukkit Help' started by user_91250433, Aug 27, 2018.

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

    user_91250433

    Let's say i want to block a comman with SImple Command Blocker plugin.
    When i add command "example example2" it blocks all comands starting with "example".
    I tried adding . _ :"' ' symbools but all i got is error :D
    Is there any way to define space in config.yml?
     
    Last edited by a moderator: Aug 28, 2018
  2. Offline

    Fenmore

    How do you add your commands?

    What "config.yml" are you talking about? On the linked page is written that they're using a "database.yml" and "messages.yml" but no "config.yml".
     
  3. Offline

    user_91250433

    :D
    yes I forgot lol, but it doesnt matter.

    It also doesn't matter how I add, when i add through command in game it splits the command where i add space.
    And when I add command with space in config file it only reads first word.
     
  4. Offline

    Fenmore

    Are you trying to block a command only with specific arguments? Like blocking "/gamemode survival" but not "/gamemode creative"?
    Because this is not possible with this plugin.
     
  5. Offline

    user_91250433

    Yeah, so there is no way to define space? Other similar plugins doesn't support spaces in .tml commands also :(
     
  6. Online

    timtower Administrator Administrator Moderator

    @REW01WER You can put spaces in the configuration files.
    But the plugin doesn't check command arguments. (looked at the source for this)
     
Thread Status:
Not open for further replies.

Share This Page