Garry's Mod
Không đủ lượt đánh giá
Customizable ConVar and ConCommand Manager
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
Kích cỡ file
Đã đăng
Đã cập nhật
181.982 KB
6 Thg10, 2023 @ 2:06am
8 Thg05 @ 10:13am
4 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Customizable ConVar and ConCommand Manager

Mô tả
CCVCCM is an addon made to ease the creation of user configuration panels.

CCVCCM adds a window that can be invoked with the "ccvccm_open" ConCommand. You are able to add tabs, categories, text and nearly every type of ConVar control within your custom root tabs inside the window, as well as save and load the layout of the current window. This lessens the need to trawl through the spawnmenu's menus just to change the value of a single option.

While the above is useful, this addon is actually leveraged more towards addon developers like me. CCVCCM's API allows addon developers to add controls to this window without having to write out hundred of lines of UI code that would also work outside of Sandbox. This window can support simple controls such as boolean ConVars, all the way up to complex data structures such as AddonVar loot tables. CCVCCM also allows user variables to be stored in AddonVars, offering a Lua-based alternative to ConVars with much higher limits on list size, and are automatically saved much more often than ConVars. If desired, ConVars can also be automatically generated by CCVCCM.

If you are interested in the API, check out the CCVCCM wiki on GitHub[github.com].
7 bình luận
Piengineer12  [tác giả] 12 Thg12, 2023 @ 11:36pm 
Oh what the heck, ConVars return '#empty' now when no value is present, seems to be a recent update. I'll get it sorted out on my end.
SuccMeSolidTV 12 Thg12, 2023 @ 11:16pm 
Ok maybe what i am getting here is an error then. I got thag far, typed on ccvccm_open in console, however when it opens it shows nothing. No tabs, no insane stats, anything. Just allows me to make new tabs and new stuff.
Piengineer12  [tác giả] 12 Thg12, 2023 @ 11:08pm 
Type 'ccvccm_open' in the console, then go to Insane Stats > Server > Coin Drops - Shops
SuccMeSolidTV 12 Thg12, 2023 @ 2:48pm 
So, how do I use this to change the shop items on insane stats? I'm more than a little lost
Piengineer12  [tác giả] 5 Thg11, 2023 @ 4:29am 
Yep. Unlike the spawnmenu, CCVCCM will still show up outside of Sandbox, so you don't need to have the spawnmenu open to see the graphical ConVar controls.
frequency 5 Thg11, 2023 @ 2:30am 
does it potentially works in any gamemode?
frequency 5 Thg11, 2023 @ 2:29am 
so useful