Musty Posted October 18, 2017 Share Posted October 18, 2017 I'm using a module called Pterodactyl, for game servers. http://prntscr.com/gz11xy I have multiple locations, but the module appears to want the location ID, which is generated by the panel itself. The ID is a single number. Is there a way I can have a dropdown where a user can select a location by name, and it's translated into the corresponding number for the panel? I'd like to avoid having to completely start from scratch and implement a totally new panel. Link to comment Share on other sites More sharing options...
WHMCS Support Manager Solution WHMCS John Posted October 20, 2017 WHMCS Support Manager Solution Share Posted October 20, 2017 Hi, This is possible with configurable options, you separate the system value and the friendly name with the | character. Relevant documentation: https://docs.whmcs.com/Addons_and_Configurable_Options#Friendly_Display_Names 1 Link to comment Share on other sites More sharing options...
Musty Posted October 20, 2017 Author Share Posted October 20, 2017 6 hours ago, WHMCS John said: Hi, This is possible with configurable options, you separate the system value and the friendly name with the | character. Relevant documentation: https://docs.whmcs.com/Addons_and_Configurable_Options#Friendly_Display_Names Thanks so much. I know that in module settings, you can use ConfigOption:OptionName and CustomField:FieldName, but can you use them in addition to other text? For example, a Garry's Mod server: ./start.sh -game garrysmod +map gm_construct +maxplayers ConfigOption:Slots Would this work? Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 15, 2017 WHMCS Support Manager Share Posted November 15, 2017 Hi, It really depends whether your provisioning module would accept that as the system name part. Please also note that the delimiter character is the pipe character and not the colon character. Link to comment Share on other sites More sharing options...
Recommended Posts