1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Requesting skript "packager"

Discussion in 'Requests' started by KroterPvP, Aug 6, 2017.

  1. KroterPvP

    KroterPvP Active Member

    Joined:
    Apr 10, 2017
    Messages:
    178
    Likes Received:
    7
    Hi, I'm searching and learning how to package or obfuscate a skript. I know about WildSkript, but it's easy to deobfuscate. I was thinking about any addon wich reads the code automaticly throught google, so the skript code won't beve visible for humans.

    You must upload your skript code to hastebin (or any site where the code is private, only readable by the addon).

    Then, using a syntax to read from the link, so the first time it runs you must have internet connection, and then it will save the code to memory or to a unreadable file.
    Code (Skript):
    1. load from "https://example-link.com"
    When the skript with this line of code loads the full skript located to the link will be ready

    It will also allow you to download from link to a location using:
    Code (Skript):
    1. download from "https://examplelink.com" to "plugins/skript/scripts"
    And to prevent curious users from seeing your code, you will need to write this to the code uploaded to the link.
    Code (Skript):
    1. enable/disable downloading/loading from file/link
    It will make the download syntax proces to stop.

    Can somebody code this?
     
  2. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Impossible. Skript scripts (even in memory) can always be reverse-engineered into the original code (or something very similar). Trying to "obfuscate" a script only worsens the experience for your users by making your script reliant on a third-party service and opening up security vulnerabilities.

    If anyone tries this, I will break your "obfuscation" technique, and I'm sure other developers will do the same.
     
    • Agree Agree x 6
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220

    O really?
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Same here, if you find a way to obfuscate your script I'll find a way to reverse it. I'm so against the obfuscation of scripts, it's just so pointless and doesn't have any benefits.
     
    • Agree Agree x 3
  5. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    I completely agree with btk5h and snow-pyon.

    its skript... no ones going to a want to steal it and even if someone did, as long as they have half a brain and a little determination, the best obfuscation wont stop them.

    Chances are you're not making anything ground breaking that hasn't been done before in a real java plugin (which usually don't obfuscate their code unless its some really unique paid plugin).
     
  6. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
  7. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    I'm going to release a premium skript and I know that leaks are very usefull for users who don't wanna pay.

    What should I do? Post it, and update it a lot to obligate the users to buy it?
     
  8. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    First of all, you shouldn't make a premium script. Secondly, live with it, there are some users that will pay for it and some that don't.
     
    • Agree Agree x 1
  9. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Why shouldn't I make and publish a premium skript?
    There are premium skripts in spigot, so mine will be there as well.

    I know that. So it's impossible to completly hide the skript code?
     
  10. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Because it's utterly pointless, Skript wasn't made to make money for you and the fact that your script is very badly coded (I've checked the lite version) makes me think you just want sell your script to make fast money with something that's not even worth of that money. If you're gonna sell something at least sell something that's worth of that. And for me, there is no script that's worth to be sold.

    Now, answering your question, no, there is no way and I hope there will not be.
     
    • Agree Agree x 2
  11. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Thanks for your answer, but dude, you don't know how the premium version is couse is not released. I can ensure you that it's much better than the lite one. It has all the known bugs fixed & a lot of more options.

    Why is SuperBans lite very badly coded?

    Who told you that skript was not made to make money? Yes, you can make money from it. There are skript resources in spigot wich are sold for 10€ and they have more than 400 downloads and a lot of positive reviews. Do why do you think skripts aren't selleable?
     
  12. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    I don't necessarily think that all scripts aren't sellable but why on earth would anyone buy a ban skript when there are many many free ban plugins out there?
     
    • Agree Agree x 1
  13. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Couse mine has extra features, which other plugins like AdvancedBan or LiteBans doesn't.
     
  14. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    People will still not buy yours , you just got downloads because is a free resource , not because ppl really like your damn product to pay for it.
    it's just a manager script , a tons of plugins are already on spigot.
    Maybe spigot resource staff will not accept your resource too.
     
  15. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    People has liked my resource, for that reason they reviewed it. Seen with the reviews, it has liked so much, and I have some PM's of people who want to buy it.
     
  16. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Have fun with it so.
    I will never sell a 53.7kb script , coded not really well and with things like:
    Code (Skript):
    1.                 set slot 5 of player's current inventory to black stained glass pane named "&7" with all removed NBT
    2.                 set slot 6 of player's current inventory to black stained glass pane named "&7" with all removed NBT
    3.                 set slot 7 of player's current inventory to black stained glass pane named "&7" with all removed NBT
    4.                 set slot 8 of player's current inventory to black stained glass pane named "&7" with all removed NBT
     
    • Agree Agree x 2
  17. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    The premium version has 200 KB, you are always talking about the free version, wich obiusly is lighter than the premium one.

    It's not bad coded, it's the free version.
     
  18. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    So wait:
    free version: shit coded
    premium version: well coded?
     
    • Funny Funny x 1
  19. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    I prefer the premium version to be beter coded, so players will receive a better skript, they pay to receive the best support and code too.
    I will recode the free version too, as it has bugs, and to give a better impression to customers.
     
  20. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    That's want i wanted to hear.
    The only difference between the two versions , are just the features on it , not the type of code.
    Wish you the best luck with the project.
     

Share This Page

Loading...