[FREE] [Tutorial] Learn how to protect your plugins against leaking.

Status
This thread has been locked.

Norska

Java Developer (https://norska.dev)
Supreme
Feedback score
68
Posts
901
Reactions
1,407
Resources
14
I'm creating this thread/tutorial because I believe such knowledge is vital and important for every developer, in order to protect their rights, code, and sales. This tutorial will be split into many parts where I explain how you can have an extra layer of protection when it comes to your plugin getting leaked/mirrored/re-distributed by a 3rd party.

How do I protect myself against leaking & slow down the leaking process?
First, you have to understand that leaking and taking down leaks is a perpetual loop, you can't permanently stop someone from leaking your resources but you can take a few easy steps to make it hard, detectable and sometimes not worth the time of the leaker. There are many ways to do this which do not require much effort, such as, DMCA takedown requests, obfuscation, licensing systems and more.

A. What are "DMCA Takedown Requests"?
When content is removed from a website at the request of the owner of the content or the owner of the copyright of the content. It is a well established, accepted, internet standard followed by website owners and internet service providers. Any owner of the content has the right to process a takedown notice against a website owner and/or an Online Service Provider (e.g. ISP, hosting company, etc.) if the content owner's property is found online without their permission.

Simply said, you send a form to the website (or host which the website is on), requesting a DMCA takedown. You do this via e-mail and most of the time the e-mail you contact is in such form "[email protected]". Most of the time you can find those e-mails and more information regarding the host's policies at the bottom of the website, branded as "Copyright" or "DMCA", etc. Keep in mind that by filing a DMCA complaint you take full responsibility for the outcome/consequences, if you are unsure about what you are doing you should get legal advice first.

Here's a DMCA takedown request template (Make sure to edit it to your needs):
Greetings,

My name is [YOUR NAME] and I am the developer/owner of "[YOUR RESOURCE]", which is a paid plugin (software) for a video game called Minecraft. My file ([YOUR RESOURCE]) was uploaded to your servers without my permission and is infringing on at least one copyright owned by me.

You can find the main page of "[YOUR RESOURCE]" here: [ORIGINAL LINK TO THE RESOURCE]

The unauthorized and infringing copy can be found at:
[THE LINK WHERE THE LEAKED FILE IS HOSTED]

This letter is an official notification under Section 512(c) of the Digital Millennium Copyright Act (”DMCA”), and I seek the removal of the aforementioned infringing material from your servers. I request that you immediately notify the infringer of this notice and inform them of their duty to remove the infringing material immediately and notify them to cease any further posting of infringing material to your server in the future.

Please also be advised that law requires you, as a service provider, to remove or disable access to the infringing materials upon receiving this notice. Under US law, a service provider, such as yourself, enjoys immunity from a copyright lawsuit provided that you act with deliberate speed to investigate and rectify ongoing copyright infringement. If service providers do not investigate and remove or disable the infringing material this immunity is lost. Therefore, in order for you to remain immune from a copyright infringement action, you will need to investigate and ultimately remove or otherwise disable the infringing material from your servers with all due speed should the direct infringer, your client, not comply immediately.

I am providing this notice in good faith and with the reasonable belief that the rights I own are being infringed. Under penalty of perjury, I certify that the information contained in the notification is both true and accurate, and I have the authority to act on the copyright(s) involved.

Should you wish to discuss this with me please contact me directly.

Thank you.
[YOUR NAME],
[YOUR EMAIL]

A1. What if my resource is not hosted on an external host, but on the leak website itself?
You can find information about any website by using simple tools that can be found on the internet. Some of those include https://who.is/ , https://hostingchecker.com.

Keep in mind that DMCA complaints are only viable within the US, meaning that hosts which are outside of the US do not have to comply with your DMCA complaint. About that, there's not much you can do except take further steps to add more protection layers to your resource.

B. What is obfuscation?
Obfuscation is the practice of making something difficult to understand. Programming code is often obfuscated to protect intellectual property and prevent an attacker from reverse engineering a proprietary software program. Obfuscation will not necessarily 100% protect you against leaks.

Simply said, obfuscators can make your plugins really hard to read/understand, impossible to read/understand and even crash decompilers (software used to view source code).

There are many publicly available tools that can obfuscate plugins and make them hard to understand/reverse engineer for leakers. Obfuscation is easy to do and pretty much just adds an extra wall of "wasting other people's (leakers) time and will to leak your resource". Some of the most popular choices when it comes to plugin obfuscation are ProGuard, Allatori, Klassmaster, ClassGuard and many more. Obfuscation combined with licensing systems, anti-piracy placeholders will most of the time make cracking/leaking your plugin not worth it. Some obfuscators are free to use, others are paid. Keep in mind that most of them support student licenses, so if you're a student don't forget that you can gain access to such tools for free.

Here are a few tutorials regarding obfuscators:



splitter.png

Generally summing up, as mentioned above -- leaking resources and taking them down is an infinite loop. Some decide to accept it and others decide to do something about it, and, the good thing is that it's not hard at all to take a few precautions to protect your work.

Addressing the drama in this thread: There have been disagreements with me and Ghast/some other users in the past and you may come across toxic content in the replies, please ignore it as many months have passed since then and there's no need to pour gas in the fire.

- Make sure to update your plugin often, every update is a new chance to further protect your resource and slow down leakers.

Some interesting threads:
"Tips on privacy 'n shit" by Hymfu https://www.spigotmc.org/threads/331152/

"Get Spigot Name and ID from Downloader (Anti-Piracy)" by DevCubeHD https://www.spigotmc.org/threads/172052/
 

Attachments

  • splitter.png
    splitter.png
    7.8 KB · Views: 1,934
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Vierdant

Explorer
Supreme
Feedback score
20
Posts
627
Reactions
312
Resources
0
This is a really useful/well-written thread that will for sure help a lot of developers out there. Especially me. Thank you for taking time of your day to write this helpful thread. +Respect.
 

Remen

Feedback score
0
Posts
82
Reactions
8
Resources
0
Really appriciate you taking the time to write this all out. Keep em going :)!
 

Nykorrin

i-
Premium
Feedback score
6
Posts
812
Reactions
299
Resources
0
You are a lifesaver, thank you so much for this information.
 

Norska

Java Developer (https://norska.dev)
Supreme
Feedback score
68
Posts
901
Reactions
1,407
Resources
14
I'd like to thank everyone reacting to the thread and leaving replies so far. I'll be updating the thread at least once a week and add new content such as further steps to take in order to protect your resource, tricks (like the spigot nonce one), and so on.

If you have any questions please ask, and, feel free to contribute to the thread yourself.
 

Method

Freelance Java Dev
Premium
Feedback score
5
Posts
47
Reactions
15
Resources
0
Honestly what a hero. So many people don't know about obfuscation. I know I personally didn't know about the spigot nonce trick! Kudos :tup:
 

Norska

Java Developer (https://norska.dev)
Supreme
Feedback score
68
Posts
901
Reactions
1,407
Resources
14
I've added a basic code tutorial for anti-leaking and some interesting threads (in "Extra" spoiler).
 

Ghast

Founding Father of Hypocrisy - https://artemis.ac
Supreme
Feedback score
54
Posts
2,096
Reactions
3,285
Resources
79
This has many flaws.

1. EU Located Hosts/Websites
As many of you guys may be aware, Digital Millenium Copyright Act does not apply in any countries other than the United States of America. Thus, many hosts located in Germany, France, or even Sweden will not have the same jurisdiction. DMCA Templates are ineffective in those areas.

2. Legal responsibility
When submitting a DMCA notice, you agree to put you and your family to legal trouble if you don't do things right. Talking with a legal advisor beforehand is highly suggested. Without knowledge, you might find yourself facing a lawsuit for failing to meet certain criteria etc...

3. Big Organization
Youtube, GitHub, Mediafire,... All of these have been known to bias certain organizations and to fail to listen to smaller entities requesting a takedown. You need contacts to ensure you are on a priority. Waiting months for no reply will be certainly disappointing.

4. Security
When submitting a DMCA notice, you are putting your security out to the real world. Your full legal name will be required, thus the person receiving the notice will have the power to search up your identity and harass you. Having lawyers backing you up is a strong plus.

5. This is not a kids game
I have to repeat myself constantly. Legal is not for inexperienced people. Look up the law and do your research. Talk to a legal advisor. Ensure everything you are doing is right and would be valid in court. Always and I say always have parental permission and consent.

Best regards,
Ghast.
 

Norska

Java Developer (https://norska.dev)
Supreme
Feedback score
68
Posts
901
Reactions
1,407
Resources
14
This has many flaws.

1. EU Located Hosts/Websites
As many of you guys may be aware, Digital Millenium Copyright Act does not apply in any countries other than the United States of America. Thus, many hosts located in Germany, France, or even Sweden will not have the same jurisdiction. DMCA Templates are ineffective in those areas.

2. Legal responsibility
When submitting a DMCA notice, you agree to put you and your family to legal trouble if you don't do things right. Talking with a legal advisor beforehand is highly suggested. Without knowledge, you might find yourself facing a lawsuit for failing to meet certain criteria etc...

3. Big Organization
Youtube, GitHub, Mediafire,... All of these have been known to bias certain organizations and to fail to listen to smaller entities requesting a takedown. You need contacts to ensure you are on a priority. Waiting months for no reply will be certainly disappointing.

4. Security
When submitting a DMCA notice, you are putting your security out to the real world. Your full legal name will be required, thus the person receiving the notice will have the power to search up your identity and harass you. Having lawyers backing you up is a strong plus.

5. This is not a kids game
I have to repeat myself constantly. Legal is not for inexperienced people. Look up the law and do your research. Talk to a legal advisor. Ensure everything you are doing is right and would be valid in court. Always and I say always have parental permission and consent.

Best regards,
Ghast.

1. Already mentioned in the thread.

2. Give me ONE example where the person that submits the DMCA complaint is not mentally challenged, but still manages to not "do things right".

3. Completely false, I've taken down multiple leaks with just one DMCA complaint (2 from MediaFire, 4 from GitHub, 9 from other sources), all were sorted within 7 days.

4. It's plugins for Minecraft, no one will pay actual lawyers for a "backup" unless they're literally making thousands from their software.

5. Once again, there's little to no chance you can get in trouble by a simple DMCA complaint e-mail, as long as what you're claiming is the truth.

6. You're not a legal advisor nor is your service anything "official", you just charge people to send their DMCA complaints for them, which for someone "experienced" like you, because of your apparent "internship at Nintendo" (which trust me when I say this, literally no one cares about), should know that only the person that explicitly owns the content should file a DMCA complaint. Stop trying to play the nice guy while you're ripping people off, with a service they shouldn't even have to pay for in the first place.

EDIT: If you feel like continuing this we could do it over PM.
 
Last edited:

Ghast

Founding Father of Hypocrisy - https://artemis.ac
Supreme
Feedback score
54
Posts
2,096
Reactions
3,285
Resources
79
1. Already mentioned in the thread.

2. Give me ONE example where the person that submits the DMCA complaint is not mentally challenged, but still manages to not "do things right".

3. Completely false, I've taken down multiple leaks with just one DMCA complaint (2 from MediaFire, 4 from GitHub, 9 from other sources), all were sorted within 7 days.

4. It's plugins for Minecraft, no one will pay actual lawyers for a "backup" unless they're literally making thousands from their software.

5. Once again, there's little to no chance you can get in trouble by a simple DMCA complaint e-mail, as long as what you're claiming is the truth.

6. You're not a legal advisor nor is your service anything "official", you just charge people to send their DMCA complaints for them, which for someone "experienced" like you, because of your apparent "internship at Nintendo" (which trust me when I say this, literally no one cares about), should know that only the person that explicitly owns the content should file a DMCA complaint. Stop trying to play the nice guy while you're ripping people off, with a service they shouldn't even have to pay for in the first place.

2. Please translate that to english.
3. That’s a personal case. If you haven’t noticed yet, I don’t care about you. My facts are based on consumer reviews.
4. DMCA does not only apply to minecraft plugins, but to all copyright protected content, do more research would you.
5. This proves my fact. One single email can result in enormous trouble. Consequences can be truly gigantic, and yet you don’t know. You are giving legal advice without even properly knowing the topic nor knowing the consequences or damage you could cause a user who has followed these steps.
6. I’m no lawyer nor legal advisor. I have close family who I rely on for that. You say I’m ripping people off? It’s very controversial as ALL of my customers keep a very good opinion of my service. I’ve received many positive comments on how effective my service is. In all honesty, you are pittyful. You can’t afford a fiver per month thus you have to make some huge thread to rant on my service.
Also am I playing the nice guy when:
063B96A4-0E07-464C-ABBC-730401CC49E8.png


I do not have to justify myself. I’d appreciate if you would refrain from slandering my service and continuously making false allegations.

Kings regards,
Ghast.
 

Attachments

  • 063B96A4-0E07-464C-ABBC-730401CC49E8.png
    063B96A4-0E07-464C-ABBC-730401CC49E8.png
    3.3 KB · Views: 1,336

Norska

Java Developer (https://norska.dev)
Supreme
Feedback score
68
Posts
901
Reactions
1,407
Resources
14
2. Please translate that to english.
3. That’s a personal case. If you haven’t noticed yet, I don’t care about you. My facts are based on consumer reviews.
4. DMCA does not only apply to minecraft plugins, but to all copyright protected content, do more research would you.
5. This proves my fact. One single email can result in enormous trouble. Consequences can be truly gigantic, and yet you don’t know. You are giving legal advice without even properly knowing the topic nor knowing the consequences or damage you could cause a user who has followed these steps.
6. I’m no lawyer nor legal advisor. I have close family who I rely on for that. You say I’m ripping people off? It’s very controversial as ALL of my customers keep a very good opinion of my service. I’ve received many positive comments on how effective my service is. In all honesty, you are pittyful. You can’t afford a fiver per month thus you have to make some huge thread to rant on my service.
Also am I playing the nice guy when:
View attachment 182598

I do not have to justify myself. I’d appreciate if you would refrain from slandering my service and continuously making false allegations.

Kings regards,
Ghast.

It is English, not my fault if you can't understand simple words.

Once again, you believe that I cannot afford 5$ while I said multiple times that your service not worth anything remotely close to 5$ but you can't seem to understand that because you think too much of yourself and your rip-off service. You either get excited at calling people "broke" or you just, as I said, can't understand simple words.

Please explain how someone would get damaged if they literally do what you're doing and charging 5$ for, or don't, it doesn't really matter.

As for positivity and effectiveness, compare how many reactions my thread got compared to yours whilst mine has been up for 1/10th of the time yours has.

Regarding the screenshot of me calling you what you are, which seems to be the only thing you know how to use to shield yourself, you should include the whole conversation and background, and not just the parts that make me look bad. :)
 
Last edited:

Ghast

Founding Father of Hypocrisy - https://artemis.ac
Supreme
Feedback score
54
Posts
2,096
Reactions
3,285
Resources
79
It is English, not my fault if you can't understand simple words.

Once again, you believe that I cannot afford 5$ while I said multiple times that your service not worth anything remotely close to 5$ but you can't seem to understand that because you think too much of yourself and your rip-off service.

Please explain how someone would get damaged if they literally do what you're doing and charging 5$ for, or don't, it doesn't really matter.

As for positivity and effectiveness, compare how many reactions my thread got compared to yours whilst mine has been up for 1/10 of the time yours has.
Oh my word you are so repetitive. Can’t you come up with something more clever? Maybe such as "you are just bribing people" or "your service is a scam".
Something informative: "of my your service is using public methods!"
Something sarcastic: "Could you please dmca the parliament"
Something critical: "Oh my poor people that bought this subscription"
No nothing? Just the same "rip off" excuse! You know why? You are not creative enough! If you want to slander me, at least use a braincell or two. Come back to me when you have written something clever.
I’ll be waiting,
Ghast.
 

Kavish

deephelp.org
Premium
Feedback score
14
Posts
702
Reactions
396
Resources
0
Ghast, going to be honest, there was no need for you to interfere here. Norksa is just trying to do a PSA and your trying to push your overpriced plugin leak protection service by scaring people into thinking it won't work or they can be harassed. You are acting like this is suing someone. It's not, and this is commonly used on the internet. There is no way you can get in trouble unless the thing you are trying to take down isn't mostly yours. You don't have to point out anything bad, he is doing this for free and to help people, not earn money. Appreciate what he is doing.

Also, stop attack Norska as a person when you came here to argue his post; completely irrelevant and unprofessional.


Also, I'm sure taggind me with funny and me calls you out is "Holding your self to the highest standards of professionalism". Yeah right
 
Last edited:

Norska

Java Developer (https://norska.dev)
Supreme
Feedback score
68
Posts
901
Reactions
1,407
Resources
14
Oh my word you are so repetitive. Can’t you come up with something more clever? Maybe such as "you are just bribing people" or "your service is a scam".
Something informative: "of my your service is using public methods!"
Something sarcastic: "Could you please dmca the parliament"
Something critical: "Oh my poor people that bought this subscription"
No nothing? Just the same "rip off" excuse! You know why? You are not creative enough! If you want to slander me, at least use a braincell or two. Come back to me when you have written something clever.
I’ll be waiting,
Ghast.
Congratulations, trying yet again to find something to hide behind of. I could describe your RIP-OFF service with a hundred more words but it's really not worth the effort. Anyway, do what you want, I honestly don't care. It's obvious at this point that you're trying too hard, and it's also obvious that you're failing at it.
 
Status
This thread has been locked.
Top