Hi I was wondering if someone had any luck with permissions. I have InfoPanel running great, but I dont want the general population of the server to see online players or sleepers, but I would like the Admin/Mod teams to have that ability.
Reading the instructions its "infopanel.< Permission >" but I have not had any luck... can anyone tell me what I am doing wrong?
Help with Permissions
Could you show an example of how you are using it? The < and >just indicate that is a placeholder. A valid permission would be something like... infopanel.use, although the plugin doesn't appear to actually use permissions anymore from what I can see. If anything, it would sound like it is provided via a configuration, but the code doesn't have any mention of permissions anymore.
I looked at the code of the plugin too and thought the same, thats why I commented. In code we see
(From infopanel.cs)
{ "Sleepers", new PanelConfig
{
Available = true,
Permission = null,
Dock = "TopLeftDock",
Order = 3,
So I figured in config I would do the following
(FROM infopanel.json config)
"Sleepers": {
"AnchorX": "Left",
"AnchorY": "Bottom",
"Autoload": true,
"Available": true,
"Permission": "admin",
This does not break anything as InfoPanel still loads fine, but the Sleepers Doc is hidden/does not load for the admins. UMOD does not see a new permission for infopanel either, but again I dont see code for it to do that. So then I tried to supply from the consol and from the in game F1 consol
infopanel.admin
But no dice still.
Right, it sounds like it was removed at some point.