#GlobalBadges

1 messages · Page 1 of 1 (latest)

uneven ferry
fallen swan
#

epic, but I feel like the spacing is kinda off

uneven ferry
#

Fixed it. Thank you

fallen swan
#

tanks <3

fleet sluice
#

is this can viewable with non vencord users?

#

@uneven ferry

uneven ferry
#

Aslong as they use any modded Client with GlobalBadges

fleet sluice
#

oh so it's faking badges

uneven ferry
#

Kinda. Theire not official Discord Badges

#

That plugin only shows Badges from other Client mods. eg. Supporter from Enmity

#

Or Replugged Early User

fleet sluice
#

oh I taught like badge adder

uneven ferry
#

It has support for BadgeVault. And BadgeVault allows you to add your own Badges

fleet sluice
#

also fake?

uneven ferry
#

Well only for everyone with the plugin

#

You cant get official Badges which everybody can see without a plugin

fleet sluice
#

ok thx for explanation

uneven ferry
#

Like if you want to have the Nitro Badge and that everyone should see it, then you need to buy nitro

#

Something like that is not possible with a plugin

fleet sluice
#

I wanted like early supporter badge 😦

uneven ferry
#

Not possible

#

You can only have it client side (Only you can see it)

fleet sluice
#

sad

brisk otter
#

awesome plugin

round pike
#

@uneven ferry ive installed it

#

but now how do i add myself the stuff?

uneven ferry
#

Join Badgevaults server

round pike
#

could u send?

uneven ferry
#

nope. cant send discord invite

round pike
#

dms?

uneven ferry
#

but you can google it

round pike
#

pls

#

@uneven ferry

split bluff
uneven ferry
#

There’s a guide in the Readme

#

Follow that

split bluff
#

only the installer

uneven ferry
#

Then you didn’t follow the guide

severe fable
#

the plugin gives out an error when using pnpm build

#
Build failed
Build failed with 1 error:
import-plugins:~plugins:180:17: ERROR: Could not resolve "./userplugins/BadgeVault"
8 warnings and 1 error
 ELIFECYCLE  Command failed with exit code 1.
uneven ferry
#

Why is the folder named BadgeVault. Did you git clone?

severe fable
#

Ohh I understand my mistake now, thank you!

brisk otter
#

@uneven ferry How do I add my own badge?

brisk otter
#

Oop, didn't see that

#

apologies

uneven ferry
glossy falcon
#

Hey @uneven ferry If i was gonna self-host the global badges is it possible?

#

Im just curious on how it works

uneven ferry
#

You also need to change the url in the plugin code

glossy falcon
#

alright sounds easy to setup then

#

Im guessing i need some stort of database, will mongoDB work?

uneven ferry
#

If you implement that sure. Atm it stores everything in the JSON Files under the users folder to have it transparent on GitHub what changes

glossy falcon
#

can i manually add my userid inside the users folder? and will the API pick it up?

uneven ferry
#

Yes

#

The API checks if the ID exists in the users folder as file name

glossy falcon
#

and for the badge images, it can be any image url?

uneven ferry
#

Yes

#

You can have a look at the other files. It needs to follow the structure

glossy falcon
#

alright

#

okay i got everything setup

#

just making sure i got this right

#

i selfhosted the repo
added my userid.json with the following code:

{
    "BadgeVault": [
        {
            "name": "cat",
            "badge": "https://i.imgur.com/byMLKk6.gif"
        }
    ]
}

762389349676613693.json
whats the next step?

uneven ferry
#

npm start

#

That starts the server at port 5050

glossy falcon
#

oh right, i forgot to change the url

glossy falcon
#

so wait now that i think about it, will people even see my globalbadges if i set it to my own database?

uneven ferry
#

Only when they use your API

#

But if you just want your own Globalbadge, then why not using BadgeVault?

glossy falcon
#

because of the 5 badge limit

brisk otter
meager skiff
#

&

random ridge
#

src/userplugins/GlobalBadges/index.tsx:1:9: ERROR: No matching export in "src/api/Badges.ts" for import "addBadge" src/userplugins/GlobalBadges/index.tsx:1:63: ERROR: No matching export in "src/api/Badges.ts" for import "removeBadge"

uneven ferry
#

Update the plugin

#

git pull

random ridge
# uneven ferry Update the plugin

`remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 23 (delta 7), reused 21 (delta 6), pack-reused 0 (from 0)
Unpacking objects: 100% (23/23), 8.06 KiB | 168.00 KiB/s, done.
From https://github.com/Domis-Vencord-Plugins/GlobalBadges

  • branch HEAD -> FETCH_HEAD
    fatal: refusing to merge unrelated histories`
    uh whar
    it says fatal refusing to merge unrelated histories
#

does that to other plugins as well when i tried to use the cmd

uneven ferry
#

Uhh. TBH I never saw that error before

#

You can delete the plugin and then reinstall

sterile obsidian
#

yo does someone know how this works?

uneven ferry
#

You install and enable it. When you click on someones profile (for example mine) then it should show more badges eg. Enmity Supporter, Replugged Early User

sterile obsidian
#

i mean add badges to my profile

uneven ferry
#

It does work. But you need to wait for the badge to be approved

sterile obsidian
uneven ferry
#

with BadgeVault

sterile obsidian
#

W plugin

sly heron
uneven ferry
#

That doesnt look related to GlobalBadges tho. You could try asking in #🏥-vencord-support-🏥. But quickest way is probably to reinstall the packages

#
pnpm i --frozen-lockfile
floral zinc
#

does it have the discord staff badge in it? or only just custom?

uneven ferry
#

Depends. All predefined Badges dont have any Discord Badges. Maybe some people have custom Badges that look like Discords

#

But iirc BadgeVault doesnt allow Badges that look like Discord

silver totem
#

One of our main rules

fossil bay
#

GlobalBadges aint working rn i believe

#

i deactivated it but every time it tried to load a badge, it just crashed the app

clever oasis
#

Have a nice day ^-^/

fossil bay
#

k thx

uneven ferry
#

Thank you

fossil bay
#

omfg i didnt see the @ reply, eh was still useful for me so still thx

finite frost
#

guys how do you use the plugin