Optifine's cape system, which replaces s.optifine.net, mainly this project is for people who want to see how this works!
If you want to insert your cape you have to put the .png file in the same directory of built jar
Add a line to local system host's file:
(website server's ipv4) s.optifine net
for example:
1.2.3.4 s.optifine.net
Feel free to write your own application which will change the host's file
I've used Mongo Database for this project, in the properties file (application.properties
) you have to change host, port, login data etc.
{
"name": "nickname",
"cape": "fileName"
}
Just upload the built jar file to your server then run it (Wow! It's so simple)