Command to toggle GUI on/offSolved
Can you add a chat command to disable/enable the gui for those that dont want to use it ?
personally i find it quicker to press b to open the backpack instead of pressing "chat" key then use the mouse to click on the gui,  But some players obviously want it and now they have the opportunity to do so.
I came to second this.  As an admin that has enabled the icon, much to the joy of most players, there are quite a few VERY against the icon and want it off.  So now we are torn between
or at the very least be able to move the button to the opposite side of the hot bar as its current location interferes with the scraponomics lite UI
The button location can already be moved via configuration. There are some examples in the documentation.

Could we get a command for players to Toggle the Backpack Icon On/Off if they want?

Some players love this but some really want the ability to turn it off, I want to make all groups happy on my server. Thank you!

Hey, I don't know if this is something you were having trouble with or if it was just a design decision, but I discovered a way that you can toggle the whole inventory on backpack close instead of just closing the loot window.

[ConsoleCommand("backpack.open")]
private void OpenBackpackConsoleCommand(ConsoleSystem.Arg arg)
{
    BasePlayer player = arg.Player();

    if (player == null || !player.IsAlive())
        return;

    if (permission.UserHasPermission(player.UserIDString, UsagePermission))
    {
        if (_openBackpacks.ContainsKey(player))
        {
            player.ClientRPC(null, "OnRespawnInformation", new RespawnInformation { spawnOptions = new List<RespawnInformation.SpawnOptions>() }.ToProtoBytes()); // Closes the inventory with no side effects
            return;
        }

        player.EndLooting();
        timer.Once(0.1f, () => Backpack.Get(player.userID).Open(player));
    }
    else
        PrintToChat(player, lang.GetMessage("No Permission", this, player.UserIDString));
}​
Do with this information what you will.
I found that workaround as well but havent investigated if it can have any other side effects. Will look into adding this.

Sorry for the delay. This was implemented a few months ago and was now just released in v.3.4.0. Players can now run the /backpackgui command to toggle the icon on/off. You will have to educate players about this.

Locked automatically