Everytime I connect to my server or respawn, the admin pannel is dafaulted back on. How can I fix this? I want for it to be default off and only show the admin pannel when I toggle it on. I also will log in/respawn and not only does it show the pannel, the vanish/god/radar will also be toggled on. Please advise. Thank you!
Admin Panel and features keep turning on after respawn
set Toggle Mode to true in the config and try the version below. I've improved the functionality of Toggle Mode some. though the plugin cannot toggle vanish/god/radar on without clicking the UI buttons for them.
https://pastebin.com/fzFkAaFy
save as AdminPanel.cs
Still a noob. What I did doesn't seem to have worked. I run my server from a hosting site. I went into home/container/oxide/plugins where the origional AdminPanel.cs file was. I deleted that file and uploaded the file from the website provided above (saved as AdminPanel.cs as instructed). I upladed that file in that location, restarted the server and checked. It still by default had the panel on and features on. I toggled the features off and toggled off the Admin Panel. I then F1 and respawned. After respawning the Panel and features were back on without me toggling them back on. Not sure what I did incorrectly.
hi, set Toggle Mode to true in the config
nivexhi, set Toggle Mode to true in the config
Okay. I was checking AdminPanel.cs file for that. I see it in oxide/config/AdminPanel.json. I did as instructed and that seems to have worked but only for the Admin Panel itself. I am still getting Radar and other plugins turning back on after respawn. I searched the config files to see if there were values to change but I am not sure. Are you able to assist with that part?
great!
this plugin requires you to click the button to toggle those plugins. it cannot toggle them when you respawn
those plugins do have options or permissions that cause that behavior.
Wait, u made admin radar too. That is awesome. Thank you for making these. Admin Radar is the only one I cannot figure out in the config files. What is the config for Admin Radar so that one will also stay off after connection/respawn until toggled on?
np, it should be the adminradar.auto permission,
it will also reactivate if the plugin is reloaded and you had adminradar toggled on beforehand
Sooo im new to rust, trying to get the panel but it doesnt show i can only see the purple toggle stuff on.
I've added the new scripts from your post above and im getting this -> https://postimg.cc/tZm2kST2 any tips?
vladyy, try downloading from the link again. I had a different file attached before.
will try again and see if that works