Badlion Client users get crate key for using blc

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Goose

Supporter
Nov 23, 2019
439
33
28
Hey y'all, so a week a two ago somebody found a Skript server that awards people for using Labymod, and I was curious how I would be able to do this with Badlion Client users? Your help will be appreciated!
[doublepost=1576277400,1576157112][/doublepost]Bump
 
There is an Badlion Api i knoww you can disable mod by that i think you might be able to detect if player is using BAC

-> https://github.com/BadlionNetwork/BadlionClientModAPI

Sorry but you can't do it with skript

Huuuuum maybe with skmirror because with sk mirror you can use java expression i don't really know how skmirror work but

Hre is the link -> https://forums.skunity.com/resources/skript-mirror.254/
I know the server used packages to detect whether or not a player is using Labymod
 
i saw that with labymod

Code:
import:
    net.labymod.serverapi.bukkit.event.LabyModPlayerJoinEvent
  
 
on LabyModPlayerJoinEvent:
    set {_p} to event.getPlayer()
    set {_uuid} to {_p}'s uuid
    set {LabyMod.Use::%{_uuid}%} to true
    {_p}.sendMessage("&7Thank you for using &bLabyMod&8!")

So i'm almost sure u can do almost the same thing with BAC
 
i saw that with labymod

Code:
import:
    net.labymod.serverapi.bukkit.event.LabyModPlayerJoinEvent
 
 
on LabyModPlayerJoinEvent:
    set {_p} to event.getPlayer()
    set {_uuid} to {_p}'s uuid
    set {LabyMod.Use::%{_uuid}%} to true
    {_p}.sendMessage("&7Thank you for using &bLabyMod&8!")

So i'm almost sure u can do almost the same thing with BAC
There is a part of the code that says import: and then there is a package on the next line "net.labymod.serverapi.bukkit.event.LabyModPlayerJoinEvent", do I just change that package to "net.badlionclient.serverapi.bukkit.event.BadlionClientPlayerJoinEvent" or is it more complicated?
 
Status
Not open for further replies.