Pivity

libgmodstore

Last read Never
#1

#libgmodstore

libgmodstore is a simple Lua library designed to assist content creators with customer support and customer engagement.

It is open source so if you want to contribute; be my guest.


Features

####In-game menu

This is where server owners will interact with the library. At the moment, it's a simple docked default Derma skin frame, so it's not the nicest looking thing in the world but it's fast, efficient and has maximum portability. It is opened by typing !libgmodstore in chat.

Screenshot

####Script update information

If a gmodstore script installed on the server is outdated, a notification will appear in console and on the in-game menu

Screenshot 1

Screenshot 2

If you want to release an update without saying the script is outdated on people's servers, you can use a special string in the version's description to signal this.

To see an example of how to do this, check out bLogs' versions. You can see that Remastered-9 r1 (r = revision) is just a small edit to Remastered-9, so it would not be necessary to notify server owners that their script is outdated.

####Debug logs

Perhaps the biggest of features that content creators will love is the debug logs. These are easily accessible, guided console.logs that can be requested from customers by content creators and uploaded through the in-game menu in a couple of clicks.

Debug logs contain the following information:

  1. Server IP address
  2. Server name
  3. Gamemode
  4. Uploader
  5. Requester
  6. Average player ping
  7. console.log

And yes! If console.log does not exist on the server (-condebug is not in the command line) it shows instructions on how to fix the issue.

To generate debug logs, ask your customers to open the libgmodstore menu, navigate to "Debug Logs" and enter an authentication code.

Example

Screenshot 1

Screenshot 2

Screenshot 3

##Download & Usage

GitHub

You can package it in your addon's .zip file and instruct users to install it. Then, you need to add this snippet of code somewhere appropriate in your addon:

This snippet is just an example of how it could be implemented into bLogs. Change the variables to your needs.

local SHORT_SCRIPT_NAME = "bLogs" -- A short version of your script's name to identify it
local SCRIPT_ID = 1599 -- The script's ID on gmodstore
local SCRIPT_VERSION = "Remastered-12" -- [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
local LICENSEE = "{{ user_id }}" -- [Optional] The SteamID64 of the person who bought the script. They will have access to debug logs, update notifications, etc. If you do not supply this, superadmins (:IsSuperAdmin()) will have permission instead.
hook.Add("libgmodstore_init",SHORT_SCRIPT_NAME .. "_libgmodstore",function()
libgmodstore:InitScript(SCRIPT_ID,SHORT_SCRIPT_NAME,{
version = SCRIPT_VERSION,
licensee = LICENSEE
})
end)

##Problems

If you are experiencing a problem with this (and you are a content creator), contact me via Discord or open an issue on GitHub.

If you are a customer and are experiencing a problem with this, open a ticket for the related addon.

Friendly x 6Winner x 4Optimistic x 1Dumb x 1
#2

hi i keep getting unpooled error pls fix your libgmodstore

Agree x 2Funny x 1
#3

#๐—ผ๐—บ๐—ด ๐˜‚ ๐—ต๐—ฎ๐—ฐ๐—ธ๐—ฒ๐—ฟ ๐—บ๐—ฒ ๐˜€๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐˜‚๐—ฟ ๐—ป๐—ผ๐˜„ ๐—ถ๐˜ ๐—ธ๐—ถ๐—ฝ ๐—ฟ๐—ฒ๐˜€๐˜๐—ฎ๐—ฟ๐˜๐—ถ๐—ป๐—ด

refund or chargeback twice

Agree x 6Dumb x 2
#4

thanks m8, needed something like this for future addons <3

#5

good idea honestly, something most server owners could make good use of

#6

Big step in improving customer service. Thanks :) I hope i will kill my inner laziness to implement this.

#7

Awesome idea but that name is a bit long.

Why not call it GMSlib?

Dumb x 4Optimistic x 1
#8
ByMomox | MomoxStudios.Netat 28th of December 2017 14:40:00
Awesome idea but that name is a bit long.

Your username's a bit long. Why not just "Momox"?

Winner x 5Agree x 1Funny x 1
#9
Bykanalumaddelaat 29th of December 2017 22:09:34
Your username's a bit long.Why not just "Momox"?

Yeah would be an idea. But how can you be so over-triggered by me simply suggesting to shorten that name. Be honest. libgmodstore just doesn't sound that good and it's just a bit of a mouthful to say. Nothing wrong with the product it self, it's just a simple idea/suggestion.

Dumb x 2Agree x 1
#10
ByMomox | MomoxStudios.Netat 28th of December 2017 14:40:00
Awesome idea but that name is a bit long.Why not call it GMSlib?

Lilgmodstorelib sounds better

Agree x 1
#11
ByMomox | MomoxStudios.Netat 29th of December 2017 22:15:23
Yeah would be an idea. But how can you be so over-triggered by me simply suggesting to shorten that name. Be honest. libgmodstore just doesn't sound that good and it's just a bit of a mouthful to say. Nothing wrong with the product it self, it's just a simple idea/suggestion.

I didn't name it with the intention of it "sounding good" or not being a mouthful. I named it practically because it describes what the fuck it actually is

French customer looks in addons directory or console and sees "gmslib" -> HON wtf c'est MDRRR (English: "What the hell does gms and lib mean?" -> support ticket because they don't know what it is and they think it's breaking their server or something

Funny x 2
#12
ByBilly | ๐ŸŽ… CHRISTMAS SALE ๐ŸŽ…at 30th of December 2017 17:14:14
I didn't name it with the intention of it "sounding good" or not being a mouthful. I named it practically because it describes what the fuck it actually isFrench customer looks in addons directory or console and sees "gmslib" -> HON wtf c'est MDRRR (English: "What the hell does gms and lib mean?" -> support ticket because they don't know what it is and they think it's breaking their server or something

cEsT bAcKdOeUr

Agree x 4Dumb x 1
#13

-snip- im autistic and reading over it I cringe.

#14

Billy: has multiple disabled addons because he doesnโ€™t have the time to update them Also Billy: libgmodstore!

Funny x 1Optimistic x 1
#15
BySkepticat 7th of January 2018 16:51:54
Billy:has multiple disabled addons because he doesnโ€™t have the time to update themAlso Billy: libgmodstore!

I actually only have one, and I'm prepping it for release now. Lol

Friendly x 1
#16
ByBillyat 7th of January 2018 17:51:32
I actually only have one, and I'm prepping it for release now. Lol

What about Blogs Web :(

#17
BySkepticat 7th of January 2018 18:46:49
What about Blogs Web :(

That's Lunaversity's project now. Bug him, not me :)

Optimistic x 1
#18
ByBillyat 7th of January 2018 19:00:41
That's Lunaversity's project now. Bug him, not me :)

Don't do that. He's busy.

#19
Bydrizzy.vip - cridentat 8th of January 2018 09:59:56
Don't do that. He's busy.

I can't wait for the release of classified

Agree x 1
#20

cdn code is not ran, and even if updated since yesterday on github, the cdn doesn't get refeshed since rawgit never delete cache.

Users viewing this thread
Nobody