A Very Simple Plugin to protect your Skript Source Codes! Make you can sell your Source Code /osk Command to Easy Obfuscator Your Skript! /oskLoad Command to Easy Load obfuscated Skript! No One can got your Source Code! /osk (.sk) ^ To Obfuscator a Skript! ^ /oskload obfuscated Skript Loc(.sk).
[Download] .mcfunction-Obfuscator
Hello guys,
I realized that there isn't a way to obfuscate .mcfunction files. You may not know what obfuscation means - an obfuscator is an application which makes source code (in case you use .mcfunction-files: commands) some kind of obscure, unclear, unintelligible. A computer can easily understand what he has to do, a human doesn't. Obfuscation is used for 'hiding' the code and make analyzing harder and to avoid code stealing. I just set up the base of obfuscator, with a few obfuscation methods. You're able to select a .mcfunction file. My application will parse all commands, also the functions called in the selected function (and the functions called in the called function, and so on..). You can also choose a text file with Strings, which have to be obfuscated. The program will split up all functions into various other functions, changes the flow of control, adds redundant (useless) code between the functional code parts, and so on. I look forward to add other obfuscation methods to make 'analyzing' and reading the code harder. The obfuscation is pretty weak, for now. The source of my program is public and easy to find on GitHub.
TL:DR? I made a short demonstration video: https://www.youtube.com/watch?v=T4ppPdlGe30
Download: https://github.com/cartridge3/MCFObfuscator/releases
GitHub: https://github.com/cartridge3/MCFObfuscator I hope that you consider the tool as useful.
Greetings cartridge3
I'm interested in browsing the Minecraft source code and see its classes - especially the code controlling the creeper. Is there a way to do that? Maybe open the minecraft.jar file and peek inside?
![Minecraft Obfuscated Source Code Minecraft Obfuscated Source Code](https://i.ytimg.com/vi/JCe8s1oE_gY/maxresdefault.jpg)
3 Answers
JAR files are simply ZIP files, so you should be able to open them with the archiving tool of your choice. Even Windows Explorer will open them if you change the file extension to .zip.
However, looking at the source isn't as easy as just unpacking the archive. It only contains the compiled .class files, and even if you do get your hands on a JVM byte code decompiler, it's obfuscated and spread out over hundreds of files.
You might want to have a look at MCP (Mod Coder Pack, formerly Minecraft Coder Pack), though. It's a community project that decompiles and (mostly) de-obfuscates the Minecraft sources to aid modders.
There's a way to do this; in fact, this way as well allows you to edit the code and... make your own mods! It's called MCP (Minecraft Coders' Pack), and is a bit of a complicated setup, but it is how nearly all Minecraft mods are made. Check out a video I made on YouTube on setting up and installing it:
Interestingly enough, mention of source code release comes straight from the minecraft website.
'Once sales start dying and a minimum time has passed, I will release the game source code as some kind of open source. I'm not very happy with the draconian nature of (L)GPL, nor do I believe the other licenses have much merit other than to boost the egos of the original authors, so I might just possibly release it all as public domain.'
protected by fredleyMay 28 '13 at 8:39
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?