PW how to disable player access to debug UI?
NightbladeCH
Member Posts: 10
Evenin folks, my apologies if this isnt the correct place or if this has been answered previously. I run a PW and we just discovered this debug menu and are currently trying to disable player access to it. Ive tried adding DebugMode=0 to nwn.ini as well as setting visability = false in the settings.tml file. Any help would be greatly appreciated. Thanks yall.
0
Comments
[Network/ResMan/GUI/Steam] all show clientside things.
[NWScript] needs the player to be a DM.
[DM] needs the player to know the DM password.
[DebugMode] can only be toggled by a DM
[renderaabb/rendertpn] are for tileset debugging and provide no real use for a player and does not affect your server.
Put another way, you never and any control over how things are drawn on the user's screen. All you do is provide the defaults. Once the user goes into the debug menu, or starts messing with haks/nwsync on their machine, they can change your big evil dragon to look like a pink pony, and can make your carefully placed hidden tiny placeable be huge and glowing.
This is because you already told them the placeable is there. If you want to hide something from them, the only way is to never tell them about it at all (e.g. don't create the plc until needed).
For the debug menu in particular, the nwserver.exe will automatically validate the DM/NWScript/DebugMode commands for you, and unless the player knows the DM password they can't do anything to cheat in that way.