Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #┌--┐ ┌-----┐ ┌--┐ ┌--┐ ┌--┐ ┌--┐ ┌--┐ ┌--┐ ┌--┐ ┌--┐ ┌----┐ ┌--┐ ┌--┐ ┌--┐ ┌--┐
- #| | | ┌┐ | | | | | | | └--┘ | | | | └--┘ | | | ┌┐ | | | | | └--┘ | |
- #| | | └┘ | | |┌┐| | | └---┐ ┌--┐ ┌-┘ └-┐ ┌-----┐ | | ┌--┐ ┌-----┐ ┌-┘ └-┐ | └┘ | ┌-┐ ┌-┐ | | ┌-┐ | | ┌-┐ ┌--┐ ┌-┘ └-┐
- #| | | ┌--┘ | └┘└┘ | | ┌┐ | | | └-┐ ┌-┘ | - | | | | | | ---| └-┐ ┌-┘ | └┐ | | | | | |/ / | |/ / | | └-┐ ┌-┘
- #| | | | | ┌┐ | | || | | | | | | ┌---┘ | | | | └--┐ | | | | ┌┐ | | | | | | \ | \ | | | |
- #| | | | | ┌┘└┐ | | || | | | | | | └---┐ | | | | ┌--┘ | | | | └┘ | | └-┘ | | |\ \ | |\ \ | | | |
- #└--┘ └--┘ └--┘ └--┘ └--┘└--┘ └--┘ └--┘ └-----┘ └--┘ └--┘ └-----┘ └--┘ └-----┘ └-----┘ └--┘ └-┘ └--┘ └-┘ └--┘ └--┘
- #Plugin made by davidcubesvk.
- #
- # ► Don't understand / know how to set up?
- # All terms and setup process are available on my website. Link is in all of my plugins' descriptions.
- # ► Need any help?
- # Contact me through any of listed methods on my website, I'd like to help!
- #
- #Disconnect messages:
- disconnect:
- #If player tries to connect to the server with IP not corresponding with any of whitelisted IPs, disconnect with message (use \n for new line):
- whitelist: "&7[&bIPWhiteList&7] &cPlease connect with IP: yourserver.com!"
- #If SocketClient failed to start (type = SOCKET), or failed to connect to the database server (type = MYSQL), or data.yml file not found (type = YML)
- #and player tries to join, disconnect with message (use \n for new line):
- failure: "&7[&bIPWhiteList&7] &cWe are now having technical problems.\n\n&cPlease try again in a while."
- #If player tries to connect as player that's already online:
- online: "&7[&bIPWhiteList&7] &cAlready connected to the server!\n\n&cIf you believe this is an error, contact staff."
- #Logging:
- log:
- #Enable logging:
- enabled: true
- #Log the CHECK_CONNECTION data output message (if connect.type = SOCKET):
- #INFO! Connection messages are also logged - e.g. data input and output of socket, what is being written in the database.
- # If using socket connection, IPWhiteListBukkit sends the CHECK_CONNECTION message to IPWhiteList to check the connection.
- # Checking connection is set to every second (can change on connect.socket.connectionCheck), so you get this message
- # every one second in log file. This can lead to 4.3MB/24h logs only from this message.
- logCheckConnection: false
- #Connecting to bungeeCord:
- connect:
- #Type of the connection (more and detailed info can be found on the wiki):
- #- YML: connection provided by data.yml file created in plugin's data folder
- #- SOCKET: connection using sockets
- #- MYSQL: connection using MySQL database
- type: YML
- #Full path to data.yml file in IPWhiteList's folder (on BungeeCord):
- #NOTE! You can use ../ strings at the beginning of the path to go one folder up (begins at folder where this plugin's .jar file is).
- # As directory and file separator please use \\ (on Windows) or / (on Linux).
- bungeePath: 'C:\Users\Митко\Desktop\Servers\BungeeCord\plugins\IPWhiteList\data.yml'
- #Socket configuration:
- socket:
- #IP of the server (IP of the machine where is server with IPWhiteList plugin hosted, or 127.0.0.1 if on the same machine):
- ip: 127.0.0.1
- #Port of the server (as set in IPWhiteList's config.yml):
- port: 4444
- #Automatic connection check delay (in ticks):
- connectionCheck: 20
- #Reconnect delay when failed to connect or connection failed (in seconds):
- reconnect: 2
- #MySQL connection:
- mysql:
- #Host:
- host: ""
- #Port:
- port: ""
- #Username
- username: ""
- #Password:
- password: ""
- #Database:
- database: ""
- #Table name to use (as set in IPWhiteList's config.yml):
- table: "ipwhitelist"
- #Use SSL certificate to connect (secure way for communication):
- useSSL: true
- #Delay between reconnecting attempts, when connection has been unexpectedly closed (in seconds):
- reconnect: 3
- #Command configuration:
- command:
- #No permission message:
- noPermission: "&7[&bIPWhiteListBukkit&7] You do not have permission to run this command!"
- #Invalid format message:
- invalidFormat: "&7[&bIPWhiteListBukkit&7] Invalid format. Please use &b/ipWhiteListBukkit &7to reload the connection."
- #Successful execution:
- connectionReload: "&7[&bIPWhiteListBukkit&7] Connection reloaded!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement