Network Playercount Sync
You must do this in order to have fake players sync to your Velocity or Bungecord server.
Step 1 - Enable the plugin on proxy.
First you will need to place the HalosPlayerSpoofer plugin on the Velocity or Bungeecord server. Configure the Redis or Mysql DB in the config.yml
MySql Example
database:
# Possible values: SQL, REDIS or NONE
type: SQL
sql:
url: jdbc:mysql://localhost:3306/spoofer
username: root
password: passwordRedis Example
database:
# Possible values: SQL, REDIS or NONE
type: REDIS
redis:
url: redis://loca1host:6379
password: passwordAfter you input your Database information, restart the Velocity/Bungeecord server. Ensure there are no errors. Then move onto Step 2.
Step 2 - Connect Spigot Server
In the configuration of the spigot server, toggle on the proxy mode setting to true.
# If you wish to run Spoof within a proxy,
# enable this and specify controller settings below.
proxy-mode: trueNext, you must also specify your server-id. This server-id is case sensitive. You must type exactly what is in your velocity.toml/config.yml(bungeecord) proxy server files. To what is specified for the spigot server you are configuring the spoofer on. If you do not set the correct id or typed incorrectly the sync will not work.
# This is your unique server identifier, this MUST be
# set if using a proxy - e.g. BungeeCord.
server-id: TestFinally, similar to the setting up the proxy configuration, you will need to connect the MySQL or Redis DB.
MySql Example
database:
# Possible values: SQL, REDIS or NONE
type: SQL
sql:
url: jdbc:mysql://localhost:3306/spoofer
username: root
password: passwordRedis Example
database:
# Possible values: SQL, REDIS or NONE
type: REDIS
redis:
url: redis://loca1host:6379
password: passwordOnce you configure all the settings. You must restart your spigot server, and ensure there are no errors.
Step 3 - Final
Once you have configured both Proxy and Spigot server. You will be able to see Fake player counts reflect in the server list counts. If you have multiple spigot servers, repeat Step 2 on all your additional servers. Ensure that the server-id is not the same for multiple spigot servers or else the sync will not work.
Last updated