OpticFusion1 / MCAntiMalware

Anti-Malware for minecraft
https://www.spigotmc.org/resources/spigot-anti-malware-detects-over-200-malicious-plugins.64982/
GNU General Public License v3.0
287 stars 29 forks source link

serverJar is not a recognized option #622

Closed JuliGame closed 1 year ago

JuliGame commented 1 year ago

Describe the bug serverJar is not a recognized option.

To Reproduce run command: java -jar "MCAntiMalware (1).jar" --serverJar server.jar

Expected behavior It runs the server with secure mode.

java -jar "MCAntiMalware (1).jar" --serverJar server.jar joptsimple.UnrecognizedOptionException: serverJar is not a recognized option at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510) at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56) at joptsimple.OptionParser.parse(OptionParser.java:396) at optic_fusion1.antimalware.CommandLineParser.parseArguments(CommandLineParser.java:82) at optic_fusion1.antimalware.AntiMalware.(AntiMalware.java:47) at optic_fusion1.antimalware.Main.main(Main.java:22)

OpticFusion1 commented 1 year ago

image https://discord.gg/jMEsq4zHVA

OpticFusion1 commented 1 year ago

Seems like the description did not reflect this change however, that has been fixed