Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

marchellcx/IpReplacement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

IpReplacement

This plugin takes the player's real IP from their authentification token, stores it and replaces it via patching in Mirror's NetworkConnectionToClient.address getter, effectively replacing it everywhere. Useful if you need to use a proxy to connect to your server.

Config

# Whether or not to enable IP replacement.
is_enabled: true
# Whether or not to show debug messages from the Harmony patch.
patch_debug: true
# Whether or not to show debug messages from the token cache.
cache_debug: true

Dependencies

The only required dependency is Harmony (https://github.com/pardeike/Harmony), specifically version 2.2.2.

About

A plugin to replace Mirror's default address getter by the player's token request IP.

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors

Languages