Paste #92199: Unnamed Other: YAML Paste

Date: 2022/01/14 06:37:59 UTC-08:00
Type: YAML

View Raw Paste Download This Paste
Copy Link


#NoVPN [PREMIUM] by besuper_
#thanks for buying
#Config created in 1.15.6

debug: false

#You can use your personal ban plugin
#Don't add /
#You can use %ip% placeholder
#You can use %reason% or directly replace %reason% by your message
#%reason% is defined on the end of the config (message-ban)
#Warning: Bungeecord/Velocity only work with an external ban plugin!
ban-cmd: 'ban-ip %player%/%ip% %reason%'

#Cancel connection to player with invalid IP. (127.0.0.1, 192.0.0.1, etc...)
invalid-ip: true

#Kick when player use VPN/Proxy
kick: true

#Send alert for all player with permission novpn.receive
notify: true

#Ban player using VPN/Proxy
ban: false

#How many player can connect with same IP (-1 to disable)
max-ip: 10

#If you want use firewall for blocking VPN connection
firewall:
  enabled: false
  command: iptables -A INPUT -s %ip% -p tcp --destination-port 25565 -j DROP

blacklist:
  enabled: true
  
  #Add when VPN is detected
  add-on-detect: true
  
#Add player/ip to bypass VPN/Mcleaks/Country verification.
whitelist:
  enabled: true

#Try server stability before enabled this functionality
antibot:
  #Enable/disable antibot protection
  enabled: false
  
  #Max connection per seconds authorized (-1 to disable)
  max-connection-second: 20

  ping-to-join: false #Player need to add the server in server list and ping to join the server!
  ping-to-join-message: &cAdd the server in your server list and rejoin!

  name-check:
    enabled: true
    contains:
      - 'mcdrop'
      - 'mcstorm'
      - 'spammer'
      - 'mcspam'
      - 'bot'

antimcleaks:
  #Enable bad account detection
  enabled: true
  
  #Kick when player use a bad account
  kick: true
  
  #Ban when player use a bad account
  ban: false

  #You can use %reason% or directly replace %reason% by your message
  #%reason% is defined on the end of the config (mcleaks-ban)
  #you can use %ip% %player%
  #let this field empty if you want to disable this option
  ban-cmd: ''

#Player is automatically kick (can be bypass with whitelist)
blocked-country:
  enabled: false
  message: &cYour country is not allowed!
  blocked: #See country list on the plugin page
    - ''

mysql:
  enabled: false
  host: 127.0.0.1
  bdd: my_database
  table: novpn
  user: root
  password: password
  ssl: false
  
messages:
  message-kick: &c系統偵測到您的帳號異常而拒絕您進入 如有問題請到 dc.pecomc.com
  message-notify: &c%player% (%IP%) tried to join using mcleaks/vpn/proxy!
  not_online: &cThe player is not online.
  message-ban: &cYou have been banned for using VPN/Proxy.
  
  #Message for command /nvp
  vpmessage: |-
    &6=========&6[&aNoVPN&6]=========
    &bName: &a%player%
    &bIP: &a%IP%
    &bCountry: &a%country%
    &bBad account: &a%mcleaks%
    &bVPN: &a%info_vpn%
    &6=========================

  #%type% = whitelist/blacklist
  lists-message: &c你在黑名單內!
  lists-add: &a%argument% has been added to the %type%!
  lists-remove: &a%argument% has been removed from the %type%!
  lists-already: &a%argument% was already in the %type%!
  lists-not-in: &c%argument% is not in %type%!
  
  bot-kick: |-
    &c[Antibot]

    Antibot protection is currently ON
    Please wait

  mcleaks-kick: |-
    &c不正當帳號!
    此帳號已被社群反映為McLeaks或TheAltening盜竊帳號!

  mcleaks-ban: &cYou're banned for using bad account!
  
  max_ip: &c太多帳號使用相同IP. (最多 %max%)

  invalid-ip: &c無效IP


Highlighting for 'Other' types handled by Highlight.JS, which was released under the BSD 3-Clause License.