XF 2.1 Broken code

FedericoS

Active member
Hello everyone :)
I am trying to put a code on my thread, but when I do this, the code shows like this:
200790

Original code (Displayed also in message edit):
Code:
version: 1

debug: false

database:

  ip: localhost

  password: passworld

  username: username

  name: minecraft

config:

  language: en

  uuidFix: true

  guestCanUseChat: false

  playersCanUsePremiumNickname: true

  uuidCache:

    useCache: true

    expireTimeInDays: 4

restrictions:

  allowedCommands:

  - /login

  - /register

session:

  useSession: true

  sessionTime: 1h

register:

  enabled: true

  showRegisterInstructions: false

  maxAccountsByIP: 2

  passwordHash: XAUTH

login:

  maxConnectionsPerIP: 3

  hideLoggedWithPremiumMessage: false

protection:

  country:

    useCountryProtection: false

    whitelist:

    - BR

    - PT

    blacklist:

    - A1

  antibot:

    useAntiBot: true

    duration: 15

    sensibility: 10

  proxy:

    checkPlayerIP: false

    urlCheck: http://check.getipintel.net/check.php?contact=email@email.com&flags=m&ip={IP}

    regexPositive: '1'

purge:

  useAutoPurge: false

  daysBeforeRemovePlayer: 60

Thanks for reading :)
 
Is this something you can reproduce here? We have since enabled YAML support and it looks ok to me:
YAML:
version: 1

debug: false

database:

  ip: localhost

  password: passworld

  username: username

  name: minecraft

config:

  language: en

  uuidFix: true

  guestCanUseChat: false

  playersCanUsePremiumNickname: true

  uuidCache:

    useCache: true

    expireTimeInDays: 4

restrictions:

  allowedCommands:

  - /login

  - /register

session:

  useSession: true

  sessionTime: 1h

register:

  enabled: true

  showRegisterInstructions: false

  maxAccountsByIP: 2

  passwordHash: XAUTH

login:

  maxConnectionsPerIP: 3

  hideLoggedWithPremiumMessage: false

protection:

  country:

    useCountryProtection: false

    whitelist:

    - BR

    - PT

    blacklist:

    - A1

  antibot:

    useAntiBot: true

    duration: 15

    sensibility: 10

  proxy:

    checkPlayerIP: false

    urlCheck: http://check.getipintel.net/check.php?contact=email@email.com&flags=m&ip={IP}

    regexPositive: '1'

purge:

  useAutoPurge: false

  daysBeforeRemovePlayer: 60
 
Back
Top Bottom