File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Changelog
2-
3- All notable changes to this project will be documented here.
4-
5- The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ )
6-
7- ## v1.1.0 - October 4th, 2025
8-
9- ### Changed
10- - Temporarily move name setting to the "Accessibility" tab for better visibility.
11-
12- ## v1.0.0 - September 22th, 2025
13-
14- ### Added
15- - Ability to set a custom preferred in-game name.
16- - Integration with the main menu settings for easy customization.
17- - Localization support for multiple languages.
1+ # Changelog
2+
3+ All notable changes to this project will be documented here.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ )
6+
7+ ## v1.2.0 - November 9th, 2025
8+
9+ ### Fixed
10+ - Resolved a fatal error caused by a change in THE ROOTS update.
11+
12+ ## v1.1.0 - October 4th, 2025
13+
14+ ### Changed
15+ - Temporarily move name setting to the "Accessibility" tab for better visibility.
16+
17+ ## v1.0.0 - September 22th, 2025
18+
19+ ### Added
20+ - Ability to set a custom preferred in-game name.
21+ - Integration with the main menu settings for easy customization.
22+ - Localization support for multiple languages.
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <PluginAuthor >Adeithe</PluginAuthor >
4- <PluginVersion >1.1.1 </PluginVersion >
4+ <PluginVersion >1.2.0 </PluginVersion >
55 <PluginName >CustomizableName</PluginName >
66 <PluginID >Adeithe.Peak.CustomizableName</PluginID >
77
Original file line number Diff line number Diff line change 1- using HarmonyLib ;
2- using Photon . Pun ;
3-
4- namespace CustomizableName . Patches {
5- [ HarmonyPatch ( typeof ( NetworkConnector ) ) ]
6- internal class NetworkConnectorPatch {
7- [ HarmonyPatch ( "Start" ) , HarmonyPostfix ]
8- public static void Start_Postfix ( NetworkConnector __instance ) {
9- PhotonNetwork . NickName = NetworkConnector . GetUsername ( ) ;
10- }
11-
12-
13- [ HarmonyPatch ( "GetUsername" ) , HarmonyPrefix ]
14- public static bool GetUsername_Prefix ( ref string __result ) {
15- __result = Plugin . Config . DisplayName ;
16- return false ;
17- }
18- }
19- }
1+ using HarmonyLib ;
2+ using Peak . Network ;
3+ using Photon . Pun ;
4+
5+ namespace CustomizableName . Patches {
6+ [ HarmonyPatch ( typeof ( NetworkConnector ) ) ]
7+ internal class NetworkConnectorPatch {
8+ [ HarmonyPatch ( "Start" ) , HarmonyPostfix ]
9+ public static void Start_Postfix ( NetworkConnector __instance ) {
10+ PhotonNetwork . NickName = NetworkingUtilities . GetUsername ( ) ;
11+ }
12+
13+ [ HarmonyPatch ( typeof ( NetworkingUtilities ) , "GetUsername" ) , HarmonyPrefix ]
14+ public static bool GetUsername_Prefix ( ref string __result ) {
15+ __result = Plugin . Config . DisplayName ;
16+ return false ;
17+ }
18+ }
19+ }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ containsNsfwContent = false
1313
1414[package .dependencies ]
1515BepInEx-BepInExPack_PEAK = " 5.4.75301"
16- PEAKModding-PEAKLib_UI = " 1.5.0 "
16+ PEAKModding-PEAKLib_UI = " 1.6.1 "
1717
1818[build ]
1919icon = " ../../icon.png"
You can’t perform that action at this time.
0 commit comments