#SSMenuSystem

1963 messages · Page 2 of 2 (latest)

latent cape
#

ok the first image is good

#

but all informations you need is written on the readme !

wanton zinc
#

dudmb@root-$

latent cape
wanton zinc
#

Nothing

wanton zinc
wanton zinc
wanton zinc
latent cape
wanton zinc
latent cape
latent cape
#

exemples

gloomy oyster
latent cape
#

Any errors on the console or the LA ?

gloomy oyster
gloomy oyster
wanton zinc
#

:(

latent cape
#

Can you send me the plugin in MP (the dll one) so i can test some things (like a LOT OF log.info) please ?

gloomy oyster
latent cape
#

So i'll send you a ton of log.Info and you send me the output ?

grave linden
#

im not getting the SSS menu to show up

grave linden
#

it keeps disappearing and reappearing

noble mantle
craggy phoenix
grave linden
latent cape
#

Weird

#

@grave linden @noble mantle
can you send me the output of "version" command please ? (LA command)

noble mantle
#

but it's 9.5.0 for exiled

#

and latest for sl also

latent cape
dire bough
#

menu is working for me

#

so ig just an skill issue

fallen basalt
#

for me too

fallen basalt
dire bough
fallen basalt
dire bough
#

Achso dachte schon kek

latent cape
#

For exemple:
"ban tatata 20 20 annoying" command's output is:
Done ! Successfully banned 1 player !

grave linden
grave linden
#

Does it show up in the server console?

latent cape
#

just the "version" command on server panel

grave linden
#

Oh

grave linden
latent cape
gloomy oyster
#

pls fixed this

wanton zinc
#

If yea then W

gloomy oyster
wanton zinc
gloomy oyster
latent cape
fallen basalt
#

(I'm Deutsch btw)

latent cape
#

it was an issue between localhost and remote server

#

but i still don't understand why T_T

gloomy oyster
fallen basalt
#

🙏 🥶

latent cape
#

@gloomy oyster i assume that the code is the same on localhost and on the server.... did you tried to Log.Info the referenceHub nickname on the event ?

#

like

(hub, isPressed) => {
Log.Info(hub.nicknameSync.MyNick);
}
fallen basalt
#

Or just get the player out of the hub?

latent cape
fallen basalt
#

Player player = Player. Get(hub);

#

Yes

latent cape
#

this the same way bro T_T

fallen basalt
#

Ik

#

But i had a problem with hub before and with this it works

latent cape
#

wtf

fallen basalt
#

I have no idea why

latent cape
fallen basalt
#

But also could be a skill issue

#

My sever is Linux but yeah my pc windows

latent cape
#

server is always linux

fallen basalt
#

Yes!

latent cape
#

electricity (optional) with linux trolling

#

oh shit

latent cape
#

i forgot that my high school use WINDOWS SERVERS T_T

fallen basalt
#

🤯

gloomy oyster
latent cape
#

(they are not stable at all)

latent cape
wanton zinc
#

Just do Player.Get

latent cape
#

did you tried to do something like Player.Get blablabla) Log.Error("plr not found"); return;

gloomy oyster
latent cape
gloomy oyster
latent cape
latent cape
gloomy oyster
#

or?

latent cape
#

juste add preventInteractionOnGui: false

gloomy oyster
gloomy oyster
latent cape
craggy phoenix
#

why ccan be

#

just this menu( i register this menu) and scp proxity chat

craggy phoenix
dusky thicket
#

Just how to disable the frost ssmenu or enable only for admin

#

(I want only admin can see the admin menu for teleport player etc)

latent cape
latent cape
latent cape
gloomy oyster
gloomy oyster
latent cape
#

weird

#

what thing does not work

#

I just realised we reached 200 downloads ! thanks you all 🫶
❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️

craggy phoenix
gloomy oyster
craggy phoenix
gloomy oyster
craggy phoenix
#

just add some log and instead of subscribing yourself, override in menu like this:

public override void OnInput(ReferenceHub hub, ServerSpecificSettingBase setting) => OnSettinValueReceived(hub, settingBase);
latent cape
# gloomy oyster

@craggy phoenix is right, prefere use the OnInput override than subscring yourself

#

(all this is explained in the readme)

brisk current
#

How can I make a menu to be loaded always?

craggy phoenix
#

@versed comet download this

latent cape
#

it's always loaded

#

even after a restart

brisk current
#

I mean

#

If the menu is not open where the scpproximity chat is in

#

it's not working

latent cape
craggy phoenix
#

which is normal

latent cape
#

ye it's not possible for now

#

but i think i will add an update for this

latent cape
#

For all persons who encountered a bug please:
Go one https://github.com/skyfr0676/SSMenuSystem/issues and create a new issue (it's can be a feature request)

  • For Bugs:
    Please copy paste the output of version command (Server Console)
    Give the version of SSMenuSystem
    Forks versions is not supported.
    Describe exactly the steps to reproduce the bug
    If the bug is one your menu, please give the menu code (all class)

  • For Request:
    Please put exactly your request, even the more useless detail is apprecied !

grave linden
#

for some reason I can only have 1 plugin that uses SSSS menu

#

if i have 2 plugins (I use scp proximity chat and respawn timer) It doesn't show up for both plugins or the SSSS menu

brisk current
grave linden
latent cape
#

I will investigate, but can you please create an issue?

grave linden
latent cape
grave linden
latent cape
#

i love when linux doesn't want me

latent cape
#

ok guys i fixed my problem

#

(yes, it dook me a buisness day)

noble mantle
#

🎉

wanton zinc
#

NWApi will not be maintained anymore...

latent cape
#

but LabApi is still in BETA

#

so a lot of people is on NWAPI

wanton zinc
#

It's up to you anyway

latent cape
#

for me i will still maintain NWAPI until the first LabApi release

wanton zinc
#

Fuck I meant LabAPi

#

And not release but announcement

latent cape
#

?

wanton zinc
#

Annoucement

#

LabAPI

wanton zinc
#

Oh wait a minute

latent cape
wanton zinc
#

It's on NWApi discord that is such a scam #974275638401851432 message

wanton zinc
#

Nvm 14.1

latent cape
#

i know

#

oh wait i'm blind

#

up to one month

#

NWAPI support is ended for SSMenuSystem (thats mean EXILED will support only LabApi version)

latent cape
latent cape
#

**V2.0.5 is out: ** https://github.com/skyfr0676/SSMenuSystem/releases/tag/v2.0.5

NWAPI support is officially ended
What's changed
Add: Suppport of LabApi
Remove: Support of NWAPI
Add: server_exiled and server_labapi option in build.sh to automaticly change api version.
Rework: The automatic menu selection if he's the only one available. Also fix a bug that show the Return to Menu button and be disabled.
Rename: typo in Compatibilizer...
Add: the own Log logic

Full Changelog: https://github.com/skyfr0676/SSMenuSystem/compare/v2.0.4...v2.0.5

latent cape
craggy phoenix
#

I will offer a suggestion but I don't know if it makes sense, can we do it in a role change just like you did in OnPlayerGroupChanged, for example: if the new role is scp role, add the scp proximity chat menu??

latent cape
craggy phoenix
latent cape
craggy phoenix
#

Yeah, I mean, now that you put it that way, yeah, it might be a bad idea, but yeah, that was the idea.

#

or like spawned role

latent cape
#

it's would be configurable, and include some events, like role changed, or something

craggy phoenix
#

so it doesn't overload them if they don't use it, and you can add versatile menus like by role or by team. this is a great idea

latent cape
#

in fact iit's already available with CheckAccess

#

but you know you can create a PR !

#

From this

#

To this

#

Nuget Versions below 2.0.5 is now marked as "Deprecated". Please do not use it!
(ps: it will be delisted <t:1740070800:R> - <t:1740070800:f>)

noble mantle
#

@latent cape is the exiled version still maintained/working?

noble mantle
#

because i came back to it thinking that my issue would be fixed, but i still cannot register a menu

#

heres the menu, pretty much ripped straight out of the example

#

and it still doesnt load

noble mantle
#

the Load() method is just there for testing, if i remove it the same will happen

noble mantle
#

exiled

latent cape
#

because 2.0.4 is not compatible with NWAPI

noble mantle
#

i thought it was

#

i can go to 2.0.3 to check if itll work

#

but the dependency loaded with no issues so i assumed it worked fine

latent cape
#

for LabApi version

noble mantle
#

i dont use labapi

#

i use exiled 9.5

latent cape
#

oh

#

weird......

noble mantle
#

main plugin also tries to register

#

which is futile

#

but i tested to see if that would change something

latent cape
noble mantle
#

it as a plugin works just fine, the menus get registered

#

but as a depenency not really

latent cape
#
    public void Load()
    {
        Log.Info("loaded test");
        _instance = new();
        Menus.Add(_instance);
        try
        {
            RegisterAll();
            Log.Info("all registered!");
            Register(_instance);
            Log.Info("registered by instance");
        }
        catch (Exception e)
        {
            Log.Error(e.ToString());
        }
    }```

i don't understand, what is this ?
noble mantle
#

this was for me to test if maybe i need to use Register(Menu m)

#

but that didnt work either

latent cape
#

because it's already called in main plugin

noble mantle
#

this one?

latent cape
#

ye

noble mantle
#

k

noble mantle
latent cape
#

i suspect to know where is the bug

#

can you try to load your plugin first using PluginPriority please ?

noble mantle
#

as highest?

latent cape
#

yes

noble mantle
#

k

noble mantle
#

loaded first

latent cape
#

wait

noble mantle
latent cape
#

you loaded it as a dependency

#

it's a plugin

#

not a dependency (because of patchs and client send)

wanton zinc
#

Andrzejki did opsies

noble mantle
latent cape
#

ah

#

👍

noble mantle
#

wait

#

is it said in the docs

#

that its a plugin

#

cuz i read it like 5 times

#

😭

latent cape
noble mantle
#

well it works but my menu doesnt show up, do i need to change something in the config?

#

also the same error

latent cape
#

do you removed the plugin in dependence ?

noble mantle
noble mantle
latent cape
latent cape
#

i assume you didn't removed the PluginPriority

noble mantle
#

oh nvm, i removed HSM instead

#

lmao

latent cape
#

hsm ?

noble mantle
#

both with -Exiled suffix

noble mantle
latent cape
noble mantle
#

alr now it works fine

#

thanks ^^

latent cape
#

no problem 👍

#

i'm glad it's work now

olive shuttle
#

for some reason

#

the default key only appears when pressing that star

olive shuttle
#

it looks like this

#

and when i press in the star it sets the default key

latent cape
olive shuttle
#

yes

latent cape
#

and what is the question ?

#

why there is a star ?

olive shuttle
#

no

#

it's empty until i press the star

#

when i press the star the default key appears

latent cape
#

yes, for security reason, you can set a "Prefered key" but not a "Default key". The Client will always know what is the current bind

#

it's not me, it's NW

olive shuttle
#

damn

latent cape
#

and you can't know what the player set

olive shuttle
#

shitty ass nw moment

latent cape
#

no

#

it's european law if i remember

#

(because you can do an hidden key logger)

lusty sluice
#

So what version do I use for a non LabAPI server

craggy phoenix
lusty sluice
#

It says it's deprecated

latent cape
#

but for non LabApi server, you need to use v2.0.4

lusty sluice
lusty sluice
#

nevermind. it breaks all the other plugins using SS

lusty sluice
#

actually, is there a way to fix that?

#

fixed. had to changhe some settings

#

actually i have a question.
with the system in the plugins, not everything shows up from other plugins like scp prox chat and useful hints. is this just because they're not made with SSMenuSystem and the menusystem is doing the best it can?

latent cape
#

Normally it's work together, even if they don't use SSMenuSystem

lusty sluice
#

because without it Usefull hints has about 5 options, with it it only has 1.
we also have scp prox chat but it does not show up

lusty sluice
#

i mean we have it but with the SSMenuSystem it does not show up

craggy phoenix
#

try it

lusty sluice
#

oh. thanks

lusty sluice
#

it keeps saying my command is above 0. it's -600

#

the menu id is -2

#

prox chat works now but usefull hints is still lacking some things. oh well

grave linden
grave linden
lusty sluice
#

like default keybind?

grave linden
latent cape
lusty sluice
#

uhhh. i can get it to you later

#

actually, i think i might have one

#

let me check

#

nope. I'll get you in a bit. let me finish reading this scp article

lusty sluice
#

@latent cape
i also have an issue with another plugin but I doubt anything can be done because it's a modified version to give a header and the plugin system is not made to support headers. but if you could help with that, it'd be great, if not it's completely fine

#

but i am really happy a system like this does exist

#

if my boss allows it, i could make a UI for admins since i cant make things inside RA

#

i mean i do get the system is doing it's best but because of that specific plugin i mention (the one that does support headers and with meny system it just doesnt show) i doubt i will be able to use this on our server. but then again, i might find a way

#

i will try and find a way

latent cape
lusty sluice
#

without 4 options show up

grave linden
#

I realized anything that had a sub menu never showed up. Like for setting keybinds

latent cape
# lusty sluice

weird... i will looking at this but can you please create an issue on the github please ? thanks 👍

lusty sluice
#

yeah. i will see what i can do

#

wait, what repo? menu or usefulhints and what exactly do i say because i dont understand whats going on (if its the useful hints repo)

lusty sluice
#

got it

final ice
#

Hey just asking but did the plugin get removed from the hub?

#

because checking out the link it seems it is

#

this one is the correct one

latent cape
#

thanks for notice that !

final ice
#

i was testing it for a project i was doing

#

because of how well it was implemented

final ice
#

Like seen here

final ice
#

inside the Server-Specific tab

latent cape
latent cape
#

btw it was quit difficult to make global keybinds

lusty sluice
final ice
#

Is it possible to get the player that is looking at the menu / dynamically show stuff, because i want to make a dropdown based on specific permissions

final ice
#

found out that ProperlyEnable is the same

#

but i don't know if its just for me or for everyone

zinc tinsel
#

@latent cape Sorry for the ping, but is there another way to load the menus for a player? Basically, when they join, they spawn with a custom role that has an ability, but the issue is, they can’t use the ability unless they manually load the menu themselves.

latent cape
latent cape
# zinc tinsel own

so you can use "Keybind" (SSMenuSystem.API.Wrappers.Keybind), and when you initialize it (new Keybind()), add isGlobal: true

zinc tinsel
latent cape
zinc tinsel
# latent cape ofc it can also be non global

Huh, i dont understand... I made this:

            new Keybind(12, "Custom-Ability", (hub, triggered) =>
            {
                if (!triggered) return;

                if (PlayerExtension.TryGetSummonedInstance(Player.Get(hub), out SummonedCustomRole val))
                {
                    if (val.GetModule(out SCP173Tantrum scp173Tantrum))
                    {
                        scp173Tantrum.Run(Player.Get(hub));
                    }
                }
            }, preventInteractionOnGui: false, isGlobal: false),``` and people have to load the server-specific settings for the hotkey to work. :/
latent cape
zinc tinsel
#

but you said i can use nonglobal too xd

latent cape
lofty spade
#

@latent cape you should set pluginpriority to higher or anything

final ice
#

hub.GetParameter<OptionsMenu, SSTwoButtonsSetting>(2).SyncIsA;
Doesn't work i think outside of the menu

latent cape
#

it's even work if the player never opened the menu

final ice
#

let me log it

#

Wait

latent cape
# final ice strange

not strange, when the player connect i send all static settings (defined in DefinedSettings), just to sync, and when it's finished i send to the player the main menu

#

tell me if it's not work

final ice
#

but

#
              condition: (hub =>
                {
                    Player player = Player.Get(hub);
                    
                    if (player.IsNPC)
                        return false;
                    Log.Info("Works");
                    
                    bool MusicOn = hub.GetParameter<OptionsMenu, SSTwoButtonsSetting>(2).SyncIsA;
                    
                    Log.Info(MusicOn);
                    
                    return Players.Contains(player) && MusicOn;
                })
#

The works logs but

#

not the music

#

Its a YesNoButton

#

but i don't think that is important

latent cape
#

wdym by "not the music" ?

final ice
latent cape
#

"condition:" ?

#

first line

final ice
latent cape
#

but the "log" work ?

final ice
#

yea

#

the logs works fine

latent cape
#

so the problem is on "return"

#
                    return Players.Contains(player) && MusicOn;

here

latent cape
#

probably Players.Contains(player)

final ice
#

Oh wait

#

nope now it doesn't log anything

#

but if i remove all of the references for the SSSS

#

it just works fine

final ice
#

Ok i found out that Host is not counted as an NPC

latent cape
final ice
latent cape
#

if yes, yeah they also count the dedicated server

final ice
#

before LabAPI

latent cape
#

anyway, if it's work, good !

final ice
#

yea

burnt slate
#

Hi, when I am loading this plugin, it says I need to have LabAPI, but I am using Exiled version. What should I do?

final ice
#

1 LabAPI

#

Another one for Exiled

#

here the one im using

#

the previous one still supports NWAPI

#

so it works

burnt slate
#

I see. Thanks!

final ice
#

no problem

latent cape
#

Thanks man

noble mantle
#

@latent cape

#

it seems that any keybinds i add to this menu are erroring

#

but things like TextArea dont

latent cape
# noble mantle

Can you please activate the debugger so i can check ? (debug: true)

noble mantle
latent cape
# noble mantle

key not found ? wtf
maybe caused by you, i forgot to place a try catch

noble mantle
#

modified it accordingly

latent cape
noble mantle
#

and it still didnt work

latent cape
#

ill check the soon i can @noble mantle

noble mantle
#

k

latent cape
#

the "soon i can" in question: (fucking exams)

gloomy oyster
#

Does this work, or should I do it differently?

Remove:
public override string Name { get; set; } = "Examples";

using SSMenuSystem.Features;
using UserSettings.ServerSpecific;

namespace Nodelex
{
    internal class NoMenu : Menu
    {
        public override ServerSpecificSettingBase[] Settings => new ServerSpecificSettingBase[]
       {
        new SSGroupHeader("Test"),
        };
        public override string Name { get; set; } = "Examples"; // Remove this
        public override int Id { get; set; } = -464;
    }
}```
#

@latent cape

gloomy oyster
#

so that it's not a menu

gloomy oyster
#

I meant GlobalKeybind, how can I do that?

latent cape
gloomy oyster
gloomy oyster
latent cape
#

i will check the soon i can (after exams)

gloomy oyster
final ice
#

Hey i've probably encountered an issue if you have a keybind set and the guy doesn't open the menu the keybind just doesn't work

latent cape
final ice
latent cape
#

so this is normal

#

if you want keybind to be global, you net to set isGlobal to true

final ice
#

thank you still

latent cape
#

so whats the issue ?

latent cape
#

i don't understand

latent cape
#

wait no i understand where is the problem

#

here, it's just normal nothing happen, you said nothing will happen

gloomy oyster
latent cape
#

because that will just do nothing

gloomy oyster
noble mantle
#
  • buttons dont work in that menu
#

when i remove a different menu, everything suddenly works

#

and yes, all IDs are unique

latent cape
latent cape
noble mantle
#

there isnt a menu with the same ID as another menu

latent cape
#

can you try to reinstall SSMenuSystem please

noble mantle
#

im pretty occupied this weekend, so any testing will take a lil bit longer on my side

gloomy oyster
latent cape
latent cape
# gloomy oyster

is "Interface" a menu ?
(with Interface : Menu)
i ask because it shouldn't throw an error
and wdym by isGlobal: true is broken ?

latent cape
latent cape
#

can you please open an issue in github ? so i keep track of bugs

latent cape
#

is Settings { get; set; } = null ?

gloomy oyster
craggy phoenix
#
public void OnChangingRole(ChangingRoleEventArgs ev)
 {
     if (ev.NewRole == RoleTypeId.Scp106)
     {
         SpecialFeatureUsing = false;
         SettingBase.Register(SettingsMenu.Better106Menu());
         SettingBase.SendToPlayer(ev.Player, SettingsMenu.Better106Menu());
         ev.Player.ShowHint(new Hint(Plugin.Instance.Translation.Scp106StartMessage, 10, true));
     }
 }```
final ice
#

and the stuff should use a menu

craggy phoenix
#

no need menu

#

it needs to provide its own compatibility, the game was working when I used the normal methods, I use the exiled wrappers and now it doesn't work, it breaks

craggy phoenix
#

ok I will make a separate dll for ssmenu but does it support exiled wrapper because oninput does not have a method containing settingbase

craggy phoenix
#

ok I'll just use the ssmenu wrappers

craggy phoenix
#

its a weird , your method with your wrapper give error

int TargetRoomIndex = player.ReferenceHub.GetParameter<SettingsMenu.ServerSettingsSyncer,Dropdown>((int)Plugin.Instance.Config.AbilitySettingIds[Methods.Features.TeleportRoomsList]).SyncSelectionIndexRaw;```
#

but if I use the dropdown of the base game, there is no problem

int TargetRoomIndex = player.ReferenceHub.GetParameter<SettingsMenu.ServerSettingsSyncer,SSDropdownSetting>((int)Plugin.Instance.Config.AbilitySettingIds[Methods.Features.TeleportRoomsList]).SyncSelectionIndexRaw;```
latent cape
#

normally

latent cape
#

it's SSDropdownSetting or something like this

#

normally in the last version ive added a warning for that

craggy phoenix
craggy phoenix
latent cape
craggy phoenix
# latent cape normally oninput also work

yes normally ınput workıng but when you used exıledd wrappers you need SettingBase intead of ServerSpecificSettingBase , so oninput need extra methods like

public override void OnInput(ReferenceHub hub, SettingBase setting) => OnSettinValueReceived(hub, settingBase);```
#

normally only exists for the base game, so it's like this

public override void OnInput(ReferenceHub hub, ServerSpecificSettingBase setting) => OnSettinValueReceived(hub, ServerSpecificSettingBase);
latent cape
#

i fucking hate discord april fools

craggy phoenix
latent cape
gloomy oyster
#

@latent cape
Could you add a dropdown to switch to the other settings?

latent cape
gloomy oyster
latent cape
#

Maybe i can create an option for that

gloomy oyster
latent cape
gloomy oyster
latent cape
latent cape
dire bough
craggy phoenix
latent cape
#

in this case: what did you do to get the error ? what is the menu code ? what is the SSMenuSystem version ? what is the EXILED version ?

#

i can do nothing with just this error

craggy phoenix
#

the short bug said send it to the developer, so I did.

#

just single keybind

latent cape
craggy phoenix
#

Replacing it with sskeybind fixed it for some reason the keybind with ssmenun's wrappers doesn't work very well

latent cape
#

it's possible

#

what did you do with Keybind ?

craggy phoenix
#

just register and boomm

latent cape
#

what is the code of the menu, please ?

craggy phoenix
latent cape
craggy phoenix
#
public override int Id { get; set; } = -189;
public override string Name { get; set; } = "Custom Ability";
public override bool CheckAccess(ReferenceHub hub) => hub;
public override ServerSpecificSettingBase[] Settings { get; } =
[
    new SSKeybindSetting
        (
            id: 867,
            label: "Custom_Ability",
            hint:  "Press twice to change a Custom Ability and once to use it",
            suggestedKey: UnityEngine.KeyCode.X
        ),
];
#

no before

#

only after

#

i replace it , its gone

latent cape
#

weird

#

i will take a look

gloomy oyster
#

@latent cape look dm

latent cape
#

The update for 14.1 will occure soon

latent cape
#

WHO GHOST PINGED ME

final ice
latent cape
#

ok let me cook SSMenuSystem

final ice
latent cape
#

wait a second are we going to reach 500 downloads ?

#

YO CHAT WHAT SHOULD I DO 🔥 🗣️ 🗣️ 🗣️ 🗣️ 🗣️

final ice
latent cape
final ice
#

sorry bro

latent cape
#

lemme cook

final ice
#

gg

latent cape
#

i will also cook a full rework, but not for 14.1

latent cape
final ice
#

Monkey brain activated

latent cape
#

yeah @gloomy oyster i will look at your problem 😄

latent cape
craggy phoenix
#

im using it on 14.1

latent cape
#

but i didn't tested it on 14.1 and i'm glad that it's work

#

the first time NW doesn't break code

craggy phoenix
#

At least I can say that these ones work

bool Stalkmode = hub.GetParameter<mymenu, SSTwoButtonsSetting>(22).SyncIsB;
int Stalkdistance = hub.GetParameter<mymneu, SSSliderSetting>(24).SyncIntValue;
gloomy oyster
gloomy oyster
gloomy oyster
#

SCPSL 14.1

gloomy oyster
#

I got Costura.Fody and Fody for my plugin from NuGet, but unfortunately it's no longer working with SSMenuSystem. Can you fix it?

#

@latent cape

latent cape
# gloomy oyster <@711972488707571762>

If i understant it right, you have another plugin, that menus want to be related to HeavyDuty.***, but it's not work, right ?
If it's not work it's probably because your plugin was loaded before the related plugin.

gloomy oyster
latent cape
gloomy oyster
latent cape
gloomy oyster
# latent cape 👂

How can I make it so that I need a specific role permission, like my own custom one, to use a command?

        public override bool CheckAccess(ReferenceHub hub) => PermissionsHandler.IsPermitted(hub.serverRoles.Permissions, PlayerPermissions.FacilityManagement);
#

for example, like a command.

            if (!sender.CheckPermission("mp.size"))
            {
                response = "You do not have permission to use this command";
                return false;
            }
latent cape
#
        public override bool CheckAccess(ReferenceHub hub) => Player.Get(hub).CheckPermission("mp.size")
#

for exemple

latent cape
craggy phoenix
#

yeeeyy and others ! 🥳 🎉

final ice
#

Hey @latent cape i was trying to make a system to update dynamically the maps on my menu but it doesn't work and it reloads every few seconds do you know any ways that i can actually implement it

https://sourceb.in/9ThOY0eizU

Because my system has a way to actually configure if a gamemode can be played on an arena but implementing it seems to not work or to make it always reload

#

(i uploaded it on sourceb.in because its too many characters)

latent cape
#

maybe i forgot to change a dll

latent cape
#

do you have some Menu.LoadForPlayer anywhere ?

latent cape
final ice
#

but you mean in my code? or in general

#

because in general yea for DNT

latent cape
#

so the entire menu reload or it's just the text areA ?

#

because i don't really see an issue in the code

final ice
final ice
#

or vice-versa

#

to display the non blacklisted

#

but started looping so badly and lagging everything that even my client died

latent cape
#

idk what you want to do but the code you sended is great

final ice
#

if you select an Arena you see the gamemodes for that arena and remove the blacklisted one

#

and if you select Gamemodes they change the arenas to display the one they support

#

thats why im asking you last time i tried, i got in an update loop

latent cape
#

and it's update for all or just for player ?

final ice
gloomy oyster
latent cape
#

can you try this one please

#

oh wait it's labapi version

gloomy oyster
latent cape
#

sorry !

latent cape
final ice
# latent cape and it's update for all or just for player ?

sorry for interrupting but what do you think i should do, like keep it in this way or just try to see if i can dynamically update them, because im more to wanting to try the dynamically one but i just get everytime in an infinite loop

latent cape
final ice
#

but it kept reloading

#

because everytime you look at a menu it calls the OnChange

#

for the first time

latent cape
final ice
#

I know but i need a way to dynamically update both of them depending on one of them

latent cape
#

because client while receiving the dropdown, he will sent on the server his registered value, and the server while reload, and again and again

#

i think you can try

List<ReferenceHub> isReloading = new()
onChanged(hub, _, __) => {
  if (isReloading.Contains(hub){
    isReloading.Remove(hub);
    return;
  }
  // do your thing
  isReloading.Add(hub);
  // reload the menu
}
final ice
#

i will test it later

#

and let you know

#

even tho i have some concerns still

#

because i need to update both of them

#

so if Arena changes Gamemodes changes too

#

and vice versa

gloomy oyster
#

@latent cape
Unfortunately, I have to remove the NuGet packages Costura.Fody and Fody from my plugin in order to be able to use SSMenuSystem.

craggy phoenix
latent cape
latent cape
#

because i didn't understand his goal

gloomy oyster
gloomy oyster
#

Hi, I noticed a mistake.
I actually have 10 menus, but in the menu list it looks like I have fewer — only 9.
But when I try to change the idea, it messes up, and I can't go beyond 9.

@latent cape

gloomy oyster
#

Because if there are more than 9, other menus won’t be shown in this one place.

latent cape
#

tf is that possible

latent cape
gloomy oyster
latent cape
#

yeah so it's definitly an issue with enumeration, but how 😭

gloomy oyster
latent cape
#

anyway, thanks a lot for this

gloomy oyster
#

@latent cape

Can you add support for Costura.Fody and Fody?

craggy phoenix
#

for lastest versıon

#

some times return button disappears

#

i cant return main menuı

latent cape
gloomy oyster
latent cape
# craggy phoenix

this is strange, can you please disable ForceMainMenuEventIfOnlyOne config ? it's fix the issue (normally)

latent cape
gloomy oyster
latent cape
latent cape
#

but what Costura.Fody and Fody does ?

#

just what is his function and why SSMenuSystem doesn't work with ?

gloomy oyster
# latent cape but what Costura.Fody and Fody does ?

Fody is an extensible tool for weaving .NET assemblies at build time. One of its most popular add-ins is Costura.Fody, which allows you to embed external dependencies (DLL files) directly into your compiled executable. This simplifies deployment, since you don’t need to ship separate DLLs for most libraries.

In my project, I use Fody and Costura.Fody to automatically include required dependencies for the Discord bot. Thanks to this, I don’t have to manually place every dependency into the dependencies folder.

However, some libraries like HintServiceMeow-Exiled and SCPSLAudioApi must still be added manually, as they cannot be embedded properly using Costura.Fody—either due to technical limitations or how they are loaded at runtime.

latent cape
# gloomy oyster

when i can i will send you a DLL with more debug lines to see where it crash

grave linden
#

im having an issue

#

one of my plugins arent showing up in the menu

#

only respawn timer and not SCP proximity chat

gloomy oyster
latent cape
latent cape
gloomy oyster
grave linden
#

The respawn timer isn’t updated but I still have it enabled on my server

latent cape
#

wait i didn't saw but we just reached 500 total downloads ! 🔥 ❤️

latent cape
grave linden
grave linden
#

I forgot about that

empty flame
#

@latent cape, hello. Could you help me figure out why custom binds only work when the settings menu of a specific plugin is open?

craggy phoenix
empty flame
craggy phoenix
empty flame
final ice
#

@latent cape

[2025-05-16 19:26:51.516 +00:00] [ERROR] [SSMenuSystem] there is a error while receiving input 4 (Select Arena): Index was outside the bounds of the array.
Activate Debugger to show full details.
[2025-05-16 19:26:51.526 +00:00] [DEBUG] [SSMenuSystem] System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SSMenuSystem.EventHandler.OnReceivingInput (ReferenceHub hub, UserSettings.ServerSpecific.ServerSpecificSettingBase ss) [0x0030c] in <ee56ea7ece5b44888c7c2a1dd89fb173>:0

Im having like a quite bad issue, if i remove one index from a dropdown and the player tries to join they CANNOT open the menu anymore and i cannot even do try and catch because its directly from your plugin

final ice
#
case Dropdown wDropdown:
                                    SSDropdownSetting dropdownSetting = (SSDropdownSetting)ss;
                                    // clamp the raw index so it cannot go out of bounds
                                    int raw = dropdownSetting.SyncSelectionIndexRaw;
                                    int maxIndex = wDropdown.Options.Length - 1;
                                    int safeIndex = Mathf.Clamp(raw, 0, maxIndex);

                                    // now invoke the action with a guaranteed-valid index
                                    wDropdown.Action?.Invoke(
                                        hub,
                                        wDropdown.Options[safeIndex],
                                        safeIndex,
                                        dropdownSetting
                                    );
                                break;

This is how i fixed it btw

latent cape
latent cape
#

v2.0.7 is out ! (https://github.com/skyfr0676/SSMenuSystem/releases/v2.0.7)

What's changed ?

Move: Translation (GetTranslation deleted, replaced by the Translation variable (built-int EXILED and added for LabAPI): Plugin.Instance.Translation)
Move: Config (StaticConfig was replaced by a Plugin Instance: Plugin.Instance: Plugin.Instance.Config)
Fix: bug with Menu::GetSettingsFor where Action variable on wrappers wasn't called
Skill issue: Dropdown.Action using SyncIsB instead of SyncIsA
Add: Menu::GetSettingsFor(ReferenceHub) to Parameters::SyncAll
Rework: plugin initialization for better comprehension (some #if removed, merged events)

Full Changelog: https://github.com/skyfr0676/SSMenuSystem/compare/v2.0.6.1...v2.0.7

Git being Git, merging dev to master caused a lot of problems, maybe the code of master will not be the same as dev...

#

-# btw sorry NuGet lover, i lost the account 😰

final ice
latent cape
#

nah i have a lot of microsoft account, but no one targeting the right account thats raging

latent cape
latent cape
weak atlas
#

The new Version v2.0.7

Just fully removes the SSS Menu
Not sure if its a me issuse.
Is Enabled and Debug shows it loading the examples
But it doesn't show even with My Plugin that adds a SSSS key doesnt even make it show either.

#
[2025-05-24 08:26:09.753 +00:00] [INFO] [Exiled.Loader] Loaded plugin SS-Menu [email protected]
[2025-05-24 08:26:09.946 +00:00] [DEBUG] [SSMenuSystem] loading assembly SSMenuSystem-EXILED...
[2025-05-24 08:26:09.956 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Examples...
[2025-05-24 08:26:09.967 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Examples is now registered!
[2025-05-24 08:26:09.976 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Abilities Extension...
[2025-05-24 08:26:09.986 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Abilities Extension is now registered!
[2025-05-24 08:26:09.996 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Text Area...
[2025-05-24 08:26:10.006 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Text Area is now registered!
[2025-05-24 08:26:10.016 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Demo Example...
[2025-05-24 08:26:10.027 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Demo Example is now registered!
[2025-05-24 08:26:10.037 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Light Spawner...
[2025-05-24 08:26:10.047 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Light Spawner is now registered!
[2025-05-24 08:26:10.057 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Primitive Spawner...
[2025-05-24 08:26:10.067 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Primitive Spawner is now registered!
[2025-05-24 08:26:10.077 +00:00] [INFO] [SSMenuSystem] loaded assembly SSMenuSystem-EXILED with 6 menus. A total of 6 menus.
[2025-05-24 08:26:10.088 +00:00] [INFO] [Exiled.API] SS-Menu System v2.0.7 by Sky has been enabled!
[2025-05-24 08:26:55.992 +00:00] [DEBUG] [SSMenuSystem] syncing MikeWolfey registered parameters for menu Examples .
craggy phoenix
latent cape
#

what plugins do you have enabled on your machine please

weak atlas
latent cape
#

and it's only on certain rounds, not all?

zinc tinsel
#

same for me

vocal barn
#

Same

latent cape
#

what

#

i'm the only that don't have THIS bug ?

latent cape
#

ok guys i have the same bug so i can working to fix it

weak atlas
latent cape
#

@craggy phoenix@weak atlas@zinc tinsel @vocal barn this issue will be fixed in the next release, i hope this morning
to explain, it was an exception in a coroutine

#

i have some other bugs to fix

weak atlas
#

Might be a bug
Whenever i have a key set to a Key bind
Whenever the round end that Key bind wont do what's its meant to
Unless i go back into the SSS and Open that menu again and closes it
Then the keybind will work

Best Example i got is the default Abilities Example
Speed Boost
Set it as a key and after the round end on the next round that key wont do the Abilities unless you reopen that SSS Submenu and close it.

Hope this makes sense XD

trail hatch
latent cape
#

I've pushed a wrong version first, and fixed it in the same release

trail hatch
weak atlas
latent cape
gloomy oyster
#

@latent cape
Please fix the issue where some menus cannot be seen for no reason, and sometimes the return button is missing in certain places.
This problem is forcing me to quit all the time and I can’t continue because of it.
If you want, I can write it in French too — I’ve learned that language as well.
So please fix this, it's really stressing me out.

latent cape
#

but it's quit difficult with my exams in two weeks

craggy phoenix
#

When entering the first menu for no apparent reason, the return key does not appear and you get stuck in that menu to

latent cape
#

bro wtf these bug coming from

weak atlas
latent cape
#

broooooooo LabApi breaked a lot of features, idk why

latent cape
#

@gloomy oyster @craggy phoenix @weak atlas can you please guys tell me how many menus (without Sub Menus) there is when you got the bug ?

latent cape
#

[TESTING RELEASE]
This version should resolve:

  • An issue with CharacterLimitOriginal, if SSPlaintext is used in a GetSettingsFor
  • The Silent crash issue, caused if there is no GetSettingsFor
  • The positive menu ids causing an exception (intended, but removed the check)
  • Adding statics methods: ReloadPlayer and ReloadAllPlayers

I'm still investigating for the "Return to menu" bug

#

if someone can test this please, idk why SCPSL won't launch on my PC

latent cape
#

i'm looking for the code that poping the button and there is no reason that causing this bug

latent cape
latent cape
#

normally

craggy phoenix
#

return button is here for now

#

its like good

final ice
# latent cape <@1096077111007129690> <@508699304693858308> <@263988289424326659> can you pleas...

Hey im testing the lab api version and it loads but i game it doesn't

[2025-05-31 17:21:26.493 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Server Options...
[2025-05-31 17:21:26.504 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Server Options is now registered!
[2025-05-31 17:21:26.514 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Statistics...
[2025-05-31 17:21:26.524 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Statistics is now registered!
[2025-05-31 17:21:26.534 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu Cosmetics Options...
[2025-05-31 17:21:26.544 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu Cosmetics Options is now registered!
[2025-05-31 17:21:26.554 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu KeyBinds Options...
[2025-05-31 17:21:26.564 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu KeyBinds Options is now registered!
[2025-05-31 17:21:26.574 +00:00] [DEBUG] [SSMenuSystem] loading Server Specific menu DNT Options...
[2025-05-31 17:21:26.585 +00:00] [DEBUG] [SSMenuSystem] Server Specific menu DNT Options is now registered!

[2025-05-31 17:21:56.388 +00:00] [DEBUG] [SSMenuSystem] syncing Dexter Morgan registered parameters for menu Server Options .

latent cape
final ice
#

latest

final ice
#

today

latent cape
#

weird

final ice
latent cape
#

but i fixed it, changed the dlls

#

so it's shouldn't be back

final ice
final ice
#

so i can tell you if it fixes

latent cape
#

the latest latest

latent cape
final ice
#

it works

#

but now its full of logs

weak atlas
# latent cape fixedf

Getting this error
No matter what Menu i try to open, i get this error and the menus break.

[2025-06-01 00:25:55.699 +00:00] [ERROR] [SSMenuSystem] there is a error while receiving input 7 (Speed Boost - Activation Mode): Failed to find the sent setting.
                                 Activate Debugger to show full details.
[2025-06-01 00:25:55.709 +00:00] [DEBUG] [SSMenuSystem] System.Exception: Failed to find the sent setting.
                                   at SSMenuSystem.EventHandler.OnReceivingInput (ReferenceHub hub, UserSettings.ServerSpecific.ServerSpecificSettingBase ss) [0x00340] in <b68d3ea3d39c485dac6d2f26082e2b08>:0
weak atlas
#

@latent cape
Any news on this?
(Sorry for the ping)

versed comet
#

My SS Menu won't appear I disabled most fo them, not a single one works

latent cape
weak atlas
grave linden
#

i installed the latest version but i get no menu

craggy phoenix
#

@latent cape new update error

craggy phoenix
#

@latent cape my man whatsapp when hot fix ?

latent cape
#

wtf

#

there was an sl update ?

craggy phoenix
#

They added a new bool parameter just for sskeybınd.

#

yes

#

14.1.1

latent cape
#

why ?

#

no lemme check the patchnote

#

i'll fix the soon i can

craggy phoenix
#

nw added allowSpectatorTrigger value to Sskeybindsetting

latent cape
#

And update will come i hope today

vocal barn
#

may the force be with you

versed comet
latent cape
#

there is some issue regarding next version but i'm working on

latent cape
#

SSMenuSystem v2.1.0 is out ! (https://github.com/skyfr0676/SSMenuSystem/releases/tag/v2.1.0)
What's changed

Fix: Issues created by GetSettingsFor
Version changed: EXILED passed from v2.6.0 to v2.6.1
Added: DEBUG values
Changed EXILED version for EXILED nuget package to accept latest versions, and not specific version
Added Static Menu.ReloadAllPlayers and static Menu.ReloadPlayer
Removed: Negative menu id limitation

Full Changelog: https://github.com/skyfr0676/SSMenuSystem/compare/v2.0.7...v2.1.0

latent cape
craggy phoenix
tacit flower
#

Hiya, I'm having issues trying to get this up and running on my server. Everytime I click on something in the settings menu, it breaks and says it has an internal server error and puts this in the console. Am I missing something?

latent cape
tacit flower
#

Just updated yesterday, to the most recent one

latent cape
#

the fuck is the id i just saw

tacit flower
#

If I open one, I get this

latent cape
tacit flower
#

Yeah

latent cape
# tacit flower Yeah

thats weird, can you try opening "Exemples" without Respawn Timer plugin loaded please ?

tacit flower
tacit flower
#

So I have it working now, unfortunately I can't seem to get SCPProximityChat to show up on it for some reason

latent cape
tacit flower
#

Is it something I've done wrong?

latent cape
vocal barn
#

Fixed?

#

Dont think so

grave linden
#

And everything started working

tacit flower
#

What one ingame?

latent cape
grave linden
grave linden
latent cape
#

Is they arr all public, like #scpproximitychat ?

grave linden
#

When I deleted the ssmenu .dll all of that started to show the menu

latent cape
grave linden
#

The menu just never shows up

latent cape
#

any error in the console ?

grave linden
#

Nope

latent cape
#

can you send me the plugins used please

grave linden
#

Yeah

latent cape
#

i'll figure it out

grave linden
#

Can’t really send you the .dlls but I can send you the links

glass tiger
#

oh hey look it's me, I did Boombox lol

glass tiger
#

hey um im actually just dumb so mb

umbral cypress
#

Is it possible to display a player's keybind in the hint?

latent cape
#

with the HintParamater, on 14.1 (KeybindHintParameter if i'm remembering right) you can

umbral cypress
#

Player::SendHint("Press {0} to suicide", [new SSKeybindHintParameter(id)]);

surreal ledge
#

If a plugin tries to register several settings with the same ID (and the types of settings are different), then InvalidCastException is thrown, although it would be more logical to write your own exception with a corresponding message (I spent 30 minutes trying to figure out what I did wrong until I realized that the problem was in the same IDs of the settings)

#

And for some reason the return button doesn't always appear. Don't know what the problem is?

latent cape
latent cape
surreal ledge
surreal ledge
latent cape
#

this is a problem related with this, but i don't know why the return button is.... yes

surreal ledge
#

I can say, the problem is related to MenuRelated as well

#

its null

#

when its not supposed to be null

surreal ledge
#

hey @latent cape, i probably i got it

surreal ledge
#

at least it works 5/5

surreal ledge
latent cape
#

mmh ?

surreal ledge
#

wait, couple more tests

#

i think there is wrong main menu check

#

ill create a PR

#

if it working

#

fr

#

seems so

#

worked 5/5 with force_main_menu_even_if_only_one: false

#

Files not sending. Damn government

latent cape
#

thanks for the PR !

surreal ledge
#

Is it possible to find out which player certain settings are loaded for?
I want to change the contents of the dropdown menu depending on the player (and his access).

#

nvm, i found

versed comet
#

Thinking of making a system where you unlock documents after certain XP levels and dying g to certain roles is it even possible?

#

Or at least hard to do?

surreal ledge
#

nah, thats simple

#

There are CheckAccess and GetSettingsFor methods

#

you can check there any conditions

surreal ledge
latent cape
#

With the addition of CollectionId, SSMenuSystem IDs will be simplified a LOT (and i love that)

#

I'll update the soon i can

surreal ledge
#

I wish there will be automatic assignment of all IDs

latent cape
#

But now CollectionId fixed this issue

#

(I just don't know why CollectionId is a byte and need to be between 0 and 19)

surreal ledge
#

and how exactly to use automatic id assignment?

latent cape
surreal ledge
#

Possibly. I mean the ability to not enter id when creating buttons and menus. So that the plugin automatically assigns free id to all elements.

willow radish
surreal ledge
willow radish
#

Well uhhh if you can somehow get the ids of all currently registered menus ingame and then assign different ids to the new menus. Then sure that would work

#

Also you would have to change on how you handle when the setting is triggered. So you know what button was pressed

wanton zinc
#

Creating wrapper that auto handles IDs ☕

gloomy oyster
#

It's still not fixed, some menus can't be seen.
@latent cape

#

example

celest ember