Sueta

OnlyProxyJoinSQL

2017-12-29

Adjustable OnlyProxyJoin with autoban and MySQL log function

·Plugin

This plugin contains a system that only allows the player to connect via the proxy (Bungeecord) and with a built-in auto-ban system.

Instructions

1. Start the server and wait until the config.yml has been created.
2. Create a database and then enter this data at the point "dbname" in the config file.
3. Edit the config as you see fit.
4. Set "FirstRun" to "false".
5. Restart your server.


Example config

Servername: Yourservername
ProxyIP: 127.0.0.1
Kick-MSG: |-
  &c&lPlease join via &byourproxylink.net
  &bAttempt: &c&l[attempt]
MySQL:
  adress: 127.0.0.1
  port: '3306'
  user: user
  password: password
  dbname: OPJ-log
AutoBan:
  Enabled: 'false'
  tries: 3
  msg: |-
    &c&lYou are banned from this server.
    &b&lBecause you violated our policies several times&c&l!
FirstRun: 'true'

NOTE
Please fill in all data in the config and continued until the end "FirstRun" to "false", otherwise unforeseen errors could occur.

You can see the log at your database under the table "logs".

Similar projects

Plugin →