Skip to content

marchellc/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

License

Stars

Watchers

Forks

Packages

No packages published

Languages