#Best way to protect code?

1 messages · Page 1 of 1 (latest)

night harbor
#

I am looking for to best protect code from other people in a public addon. Is there anyway to do that

tacit haven
#

there isnt really a "best" way to do it

#

obfuscating is a thing, but this will kill your code performance

#

and anyone with experience can deobfuscate the codes easily

night harbor
#

Is there any other encryption thing Minecraft supports

tacit haven
#

no

night harbor
#

Dam so there is no real way to protect your code

tacit haven
#

the best method for protecting your addon is to set up license

night harbor
#

Any information on how it do it

tacit haven
#

search it up on google

night harbor
tacit haven
#

it doesnt really protect your code, but you can do Cease and Desist if someone is not following your license

tacit haven
night harbor
simple grove
#

Just encrypt it lol

wind hazel
simple grove
coarse elm
boreal grail
#

Actually i comment my code so that way the people understand it

#

As they said, if you dont want to show your code dont upload your addon, obfuscating it you can compromise efficiency

violet drift
#

Obfuscation I guess. Either way the source code is still attainable with enough work. I would just embrace it and keep everything open source, like many others do

#

Obfuscated code tends to give off the impression that you're hiding something potentially malicious, so it also just frowned upon anyway.

crystal radish
#

just uglify it imo

stoic path
#

make your code so terrible, nobody could ever think to use it