#Maven project content hiding

1 messages · Page 1 of 1 (latest)

jade bluff
#

say you had a project which maven imports another, say A is the core project and B contains some super secret classes you dont want people from project A being able to see (but classes from project B are instantiated in project A), is there a way to stop people on project A from being able to decompile the contents of project B (like how in intellij you ctrl click a class and it shows you the source)

If this is not possible, is there a way to do it through a proxy project or something

cloud haven
#

Why do you want to do this?

#

Do you want to access a database or some sort of thing

jade bluff
#

Anticheat check classes

cloud haven
#

public anticheats will always get worse

umbral plover
#

Not really a good way to do it

storm dock
#

it will be included in the final .jar anyway

jade bluff
#

darn

umbral plover
#

You could obfuscate the jar, but on Spigot only limited levels are allowed

storm dock
#

you can't hide it, you can only obfuscate it, which also only prevents noobs from understanding the code

umbral plover
#

and yeah ^

storm dock
#

with enough time, everything can be made readable again

#

so yeah if I was you - get allatori, obfuscate as much as allowed on spigot

jade bluff
#

It wont go public anyway, its just an internal thing

storm dock
#

if it's internal, why worry at all

cloud haven
#

then why would you need that

umbral plover
#

If it's private dont even bother

jade bluff
#

I just need to find a reason to remove sus developers from the project then

agile dock
#

lol remove yourself then

umbral plover
#

lmao

jade bluff
#

fair

storm dock
#

yeah remove yourself, then gnoogle for some trustworthy devs

surreal hull
storm dock
#

and it adds some system.out.printlns

surreal hull
#

which would be quite annoying in a minecraft context

storm dock
#

yeah but tbh I've used the free version for half a year and never saw any of their printlns

surreal hull
#

advertising & its gonna get nagged by spigot for using sout

storm dock
#

IIRC

#

it only adds printlns when you actually use prinln yourself

surreal hull
#

oH

storm dock
#

but not sure, I've bought the full version a few months ago

surreal hull
#

does it obfuscate methods

storm dock
#

if you want

surreal hull
#

cuz proguard, at least for me, doesnt

storm dock
#

yeah proguard is just renaming etc

#

allatori obfuscates the shit out of methods

#

it also puts some methods, fields etc into totally other classes

#

so nothing really belongs together anymore

#

e.g. this

#

let me look for the actual code

agile dock
#

for what an obfuscator if you can code obfuscated

storm dock
#

ugh I don't have the log anymore, I have no idea what method that is lol

surreal hull
#

ew main class called Main

storm dock
#

yeah plugin started in 2018

#

I didnt think about it back then

cloud haven
#

rename it to Amogus (funny meme!!!)

storm dock
#

but there's nothing wrong with it being called Main in this case