Read the thread on gmodstore.
Libgmodstore was originally made by Billy to assist content creators with customer support and customer engagement.
Download: Workshop or Direct Download
Website: https://libgmod.justplayer.de
Thanks to:
- Billy for making the initial version of Libgmodstore
- Tom.bat for helping me
This is where server owners will interact with the library. it's a simple and dark design. It's fast, efficient and has maximum portability. It is opened by typing !libgmodstore
in chat.
Please note that currently the icons are loaded from imgur.
If a Gmodstore script installed on the server is outdated, a notification will appear in the server console and on the in-game menu.
The user only need to Login via Steam (ingame) to upload a copy of the server's console.log.
To help with privacy, all IPs (except the server's one) will be removed from the Logfile before uploading.
Debug Logs contain the following informations:
- Server IP Address
- Server Name
- Gamemode
- Average player ping
- Addons that are using libgmodstore (which includes:)
- Addon Name
- Addon Version
- Gmodstore ID
- SteamID of the Licensee
- Addons that are workshop mounted
- User that Uploaded that log
There will be a message if the user need to enable -condebug -conclearlog
.
hook.Add("libgmodstore_init","{{ script_id }}",function()
-- The first argument is the script's ID on gmodstore, the second is a short version of your script's name to identify it
libgmodstore:InitScript("{{ script_id }}", "Short Addon Name", {
-- [Optional] The version of your script.
-- You don't have to use the update notification feature, so you can remove it from libgmodstore:InitScript if you want to
version = "{{ script_version_name }}",
-- [Optional] The version Branch to support multiple version types
-- Default: "stable"
branch = "{{ script_version_release_type }}",
-- [Optional] The SteamID64 of the person who downloaded the script.
-- They will have access to update notifications etc. If you do not supply this, superadmins (:IsSuperAdmin()) will have permission instead.
licensee = "{{ user_id }}",
-- [Optional] Custom validation function.
-- This is ran after all libgmodstore scripts have been indexed.
-- You can use this to check for compatibility with other addons, etc.
-- Return false to mark it as incompatible.
-- Second return value is a string, which will be displayed to the user if it is incompatible.
combatibility = function()
return true, "Your custom validation here"
end
})
end)