Code Monkey home page Code Monkey logo

vanillavotifier's People

Contributors

dw4lt avatar kongolan avatar xmamo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vanillavotifier's Issues

exception on command "showkey public"

With default config/keys, when running "showkey public" I get:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 at mamo.vanillaVotifier.VanillaVotifier.main(VanillaVotifier.java:216)

special feature request please :)

hey mamo long time since i spoken with you..any chance you could make it so you can choose multiple servers to rcon to.
for instance

I have strictly vanilla main and strictly vanilla skyblock
when a user votes on site it would be cool if i could have the rcon command sent to both servers this way i can reward people for voting on all servers even if they only play one server ;)

just a feature i would like to know if you could add if you need a fiver for it, ill be glad to donate to you for it. let me know thanks man.

Separate Servers

In the requirements it is said that it is recommended to start the two servers on the same machine, but how do I have two separate servers? Every time you tell me that the port might already be in use...

Incorrect Votifier Protocol Version

It seems this software reports votifier version 2.9 which is incorrect. Since this software (seems to) support the Votifier V1 protocol, it may be a good idea to change the version to 1.

Relevant code seems to be here and I am happy to make a pull request if necessary.

Won't start with OpenJDK9 on Ubuntu 17.10

Ubuntu server version 17.10
java -version: openjdk version "9-Ubuntu"

On start:
java -jar ~/vanillavotifier/VanillaVotifier.jar
Exception in thread "main" java.lang.NumberFormatException: For input string: "9-Ubuntu"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.base/java.lang.Integer.parseInt(Integer.java:652)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at mamo.vanillaVotifier.VanillaVotifier.main(VanillaVotifier.java:72)

Maybe optionally (with arguments) remove the java version check (or remove it altogether)?

Kind regards.

Jefta

Chat spam exploit

We've only tested with some fairly simple chat insertions, but it is possible to spam the chat by adding \n or other symbols to names given to server lists.

hello\nhello \n hello

In theory, but again untested, it may be possible to break out of a tell raw and insert a clickable action to run other commands.

Could you add a filter to prevent these, or maybe allow for regex filtering so we can add our own filters certain words, symbols or code?

Unexpected exception while sending RCon command: java.nio.BufferUnderflowException

Another issue relating to Rcon, like #19 but unsure if related.

`50.116.56.78:38964 established a connection.
Received vote query from 50.116.56.78:38964: "VOTE" "MinecraftServers.org" "zedwick" "0.0.0.0" "1477227829"
Sending RCon command to localhost.localdomain:20000: tellraw @A {"text":" ","color":"dark_aqua","extra":[{"text":"zedwick just voted for us on MinecraftServers.org! ^_^ ","color":"yellow"}]}
Unexpected exception while sending RCon command: java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:361)
at mamo.vanillaVotifier.RconConnection.sendRequest(RconConnection.java:104)
at mamo.vanillaVotifier.RconConnection.sendCommand(RconConnection.java:71)
at mamo.vanillaVotifier.RconCommandSender.sendCommand(RconCommandSender.java:56)
at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:107)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

50.116.56.78:38964 disconnected.`

Shell scripts not executed

I'm trying to get this small java application to work but I encounter the following issue:

The vote comes in correctly. But I only want to add the information to an SQL database since the votes are going to be network wide and an other service of us is going to give the players their rewards.

I've create an script just like in the README file called onvote.sh with code that does work when I run in the console.

However, when I start this java service it says in console that it has ran the onvote.sh but there is no file created on the filesystem nor an entry in the database.

Can you please help me to solve this?

[ERROR] Failed to construct terminal; falling back to unsupported

Hi,

Error on starting with java -jar VanillaVotifier.jar

Using java openjdk version "11.0.7" 2020-04-14

Full error:
[ERROR] Failed to construct terminal; falling back to unsupported java.lang.NumberFormatException: For input string: "0x100" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Integer.parseInt(Integer.java:652) at java.base/java.lang.Integer.valueOf(Integer.java:983) at jline.internal.InfoCmp.parseInfoCmp(InfoCmp.java:59) at jline.UnixTerminal.parseInfoCmp(UnixTerminal.java:242) at jline.UnixTerminal.<init>(UnixTerminal.java:65) at jline.UnixTerminal.<init>(UnixTerminal.java:50) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.base/java.lang.Class.newInstance(Class.java:584) at jline.TerminalFactory.getFlavor(TerminalFactory.java:211) at jline.TerminalFactory.create(TerminalFactory.java:102) at jline.TerminalFactory.get(TerminalFactory.java:186) at jline.TerminalFactory.get(TerminalFactory.java:192) at jline.console.ConsoleReader.<init>(ConsoleReader.java:243) at jline.console.ConsoleReader.<init>(ConsoleReader.java:235) at jline.console.ConsoleReader.<init>(ConsoleReader.java:223) at mamo.vanillaVotifier.VanillaVotifier.main(VanillaVotifier.java:79)

Read timed out and decryption errors

Hello, the votifier works well for me on one server list, but on any other it gives one of two errors. The first one just says:

104.200.31.26:48065 established a connection.
Error while while decrypting client input! Perhaps the client has the wrong publ
ic key?
104.200.31.26:48065 disconnected.

The site has the correct public key, and I have used gen-key-pair several times in case it's generating the wrong keys.

The other error I get is:

198.74.57.227:57933 established a connection.
Unexpected exception while comunicating with client: java.net.SocketTimeoutExcep
tion: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServer$1$1.run(V
anillaVotifierServer.java:105)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

It will create this error many times in the command prompt, and then just give up.

Won't run on openjdk 18 (version check NumberFormatException)

Java version:

java --version
openjdk 18-ea 2022-03-22
OpenJDK Runtime Environment (build 18-ea+36-Ubuntu-1)
OpenJDK 64-Bit Server VM (build 18-ea+36-Ubuntu-1, mixed mode, sharing)

Exception:

Exception in thread "main" java.lang.NumberFormatException: For input string: "18-ea"
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
        at java.base/java.lang.Integer.parseInt(Integer.java:668)
        at java.base/java.lang.Integer.parseInt(Integer.java:784)
        at mamo.vanillaVotifier.VanillaVotifier.main(VanillaVotifier.java:72)

Point in code:
VanillaVotifier.java line 73

The "18-ea" part can't be converted to int.

Any chance you could fix this (assuming the rest of the code still works in openjdk 18)?

Error on Ping from Servers

Successful Startup; six pings received when I tried to add Votifier to http://minecraftservers.org/, all give exact same message.

Problem:

[INFO] /198.74.57.227:40399 established a connection.
[WARNING] Unexpected exception while decrypting client request: Decryption error
javax.crypto.BadPaddingException: Decryption error
at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389)
at javax.crypto.Cipher.doFinal(Cipher.java:2165)
at com.mamoslab.vanillaVotifier.handlers.ConnectionHandler$1.run(ConnectionHandler.java:127)
at java.lang.Thread.run(Thread.java:745)

Decryption Error

Hello,

First let me say thank you for this app. We have been using it for some time now and like it. we have recently we began having problems of people not getting there rewards. We have take the following steps to fix this.

Regened keys
updated mcsl with public key
tested with testmsg and testvote both appear to work
went to www.minestatus.net/votifier/test and did that with successful results.
we get this message when a player votes.

I am at a loss as to further direction to fix this. Can you shed any light on this problem?

[INFO] /104.200.31.26:49050 established a connection.
[WARNING] Unexpected exception while decrypting client request: Decryption error
javax.crypto.BadPaddingException: Decryption error
at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389)
at javax.crypto.Cipher.doFinal(Cipher.java:2165)
at com.mamoslab.vanillaVotifier.handlers.ConnectionHandler$1.run(ConnectionHandler.java:127)
at java.lang.Thread.run(Thread.java:745)

Vanilla Votifier-Pterodactyl: Unexpected exception while sending RCon command:

I'm trying to set up a Minecraft server and VanillaVotifier with Pterodactyl. But I keep getting this error. Me being pretty helpless I thought I would ask here.

Unexpected exception while sending RCon command: java.net.SocketException: Connection reset at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) at java.base/java.io.InputStream.read(InputStream.java:218) at mamo.vanillaVotifier.RconConnection.sendRequest(RconConnection.java:106) at mamo.vanillaVotifier.RconConnection.logIn(RconConnection.java:67) at mamo.vanillaVotifier.RconCommandSender.logIn(RconCommandSender.java:46) at mamo.vanillaVotifier.RconCommandSender.sendCommand(RconCommandSender.java:61) at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:115) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [16:41:58] Sending RCon command to 192.168.0.180:25560: scoreboard players add Henosz v_rcont 1 [16:41:58] Unexpected exception while sending RCon command: java.net.SocketException: Connection reset at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) at java.base/java.io.InputStream.read(InputStream.java:218) at mamo.vanillaVotifier.RconConnection.sendRequest(RconConnection.java:106) at mamo.vanillaVotifier.RconConnection.logIn(RconConnection.java:67) at mamo.vanillaVotifier.RconCommandSender.logIn(RconCommandSender.java:46) at mamo.vanillaVotifier.RconCommandSender.logIn(RconCommandSender.java:50) at mamo.vanillaVotifier.RconCommandSender.sendCommand(RconCommandSender.java:61) at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:115) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [16:41:58] Sending shell command: test -x onvote.sh && ./onvote.sh [16:41:58] Shell command sent.

Config not generating nor reading

I ran the jar and installed the required modules on my Ubuntu server, yet whenever I run the jar it doesn't seem to output any files - i.e. config.yaml, public.key. It runs fine but it's using default information from the config. Since it doesn't generate any config for me to edit, it's 100% useless. I tried manually adding a config.yaml with the format provided on the README, yet it's still not reading that file and instead pulling from it's own default stored in the code.

I also tried this on my Mac, which runs the minecraft_server.jar perfectly - still no luck.

Please fix this ASAP.

Java errors when executing jar

Hi, I'm getting the following error when trying to execute the most recent release of the votifier using the command "java -jar VanillaVotifier.jar". I'm running as root, added the ports to iptable, gave it all the permissions (to test). Any idea what might be causing it?

The errors I'm getting are:

Exception in thread "main" java.lang.NoSuchMethodError: java.lang.System.lineSeparator()Ljava/lang/String;
at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:45)
at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:38)
at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:47)
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierLogger.printlnTranslation(VanillaVotifierLogger.java:96)
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierLogger.printlnTranslation(VanillaVotifierLogger.java:91)
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifier.main(VanillaVotifier.java:77)

Unexpected exception while sending RCon command: java.net.SocketException: Broken pipe

Found no notifications for votes were appearing in game, found the following in the console for every vote cast. A quick stop/start of Vanillavotifier fixed the issue.

`184.73.37.253:47116 established a connection.
Received vote query from 184.73.37.253:47116: "VOTE" "Minestatus.net" "Test Notification" "127.0.0.1" "2016-10-22 12:15:31 -0700"
Sending RCon command to localhost.localdomain:25565: tellraw @A {"text":" ","color":"dark_aqua","extra":[{"text":"Test Notification just voted for us on Minestatus.net! ^_^ ","color":"yellow"}]}
Unexpected exception while sending RCon command: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:141)
at mamo.vanillaVotifier.RconConnection.sendRequest(RconConnection.java:93)
at mamo.vanillaVotifier.RconConnection.sendCommand(RconConnection.java:71)
at mamo.vanillaVotifier.RconCommandSender.sendCommand(RconCommandSender.java:56)
at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:107)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

184.73.37.253:47116 disconnected.`

Votifier not working on dedicated server.

When I use Putty and use the linux commands in the readme, it says this:
at java.util.regex.Pattern.error(Pattern.java:1924) at java.util.regex.Pattern.escape(Pattern.java:2416) at java.util.regex.Pattern.atom(Pattern.java:2164) at java.util.regex.Pattern.sequence(Pattern.java:2046) at java.util.regex.Pattern.expr(Pattern.java:1964) at java.util.regex.Pattern.compile(Pattern.java:1665) at java.util.regex.Pattern.<init>(Pattern.java:1337) at java.util.regex.Pattern.compile(Pattern.java:1022) at java.lang.String.replaceAll(String.java:2162) at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:45) at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:38) at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:47) at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierLogger.printlnTranslation(VanillaVotifierLogger.java:92) at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierLogger.printlnTranslation(VanillaVotifierLogger.java:87) at co.virtualdragon.vanillaVotifier.impl.VanillaVotifier.main(VanillaVotifier.java:74)
Which I think means it is working? However it does not generate the keys or the config files, and even when I transfer the ones from my computer and then run it, it does not work. When trying to use commands such as reload, manual, or test-vote, it says that they are invalid. Is there a special version for linux?

Unexpected exception while communicating with client: java.net.SocketException: Connection reset

I noticed this in the console, so am reporting it. I had just added my votifier details to MCSL (minecraft-server-list.com), so believe that is them making a test connection. I don't think it's really a problem as such, but am reporting it all the same :)

104.200.31.26:60500 established a connection.
Unexpected exception while communicating with client: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:209)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        at java.io.FilterInputStream.read(FilterInputStream.java:107)
        at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:81)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

104.200.31.26:60500 disconnected.

Java errors when executing test-vote command

I'm getting the following errors when using the test-vote command (ex. test-vote Notch). The votifier starts up alright, and I've tried using the external ip of the server in the config settings as well as 127.0.0.1.

test-vote Notch
:53379 established a connection.
Received vote query from :53379: VOTE TesterService Notch .static.alvotech.net 2016-04-05 19:47:10.656
Exception in thread "pool-1-thread-1" java.lang.IllegalAccessError: tried to access method java.net.InetSocketAddress.getHostString()Ljava/lang/String; from class co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServerListener
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServerListener.onEvent(VanillaVotifierServerListener.java:68)
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServer.notifyListeners(VanillaVotifierServer.java:191)
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServer$1$1.run(VanillaVotifierServer.java:119)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)

And in the log, it's showing:

Received vote query from 5.44.105.113:53379: VOTE TesterService Notch .static.alvotech.net 2016-04-05 19:47:10.656

Is this possibly something to do with my configuration?

More of a question

I didn't see it mentioned in the manual. Is there a way to include the username of the voter in the command?

ie.

/give $username minecraft:diamond
/give %username% minecraft:diamond
/give {username} minecraft:diamond

Crashes

Ive noticed Vanilla MC can't handle multiple rcon commands so quickly. Has the commands been slowed? This vanilla votifier will crash vanilla minecraft if you have more than 1 command.

Voting only working for Minecraft-Server-List.com

I've noticed that if a player votes on the MCL (minecraft-server-list.com) the vote is registered and the rcon command is executed, but any other voting site that I've found that uses votifier gives an error like this one:

178.63.120.101:33578 established a connection.
Unexpected exception while comunicating with client: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:146)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServer$1$1.run(VanillaVotifierServer.java:102)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)

178.63.120.101:33578 disconnected.

Thanks

Votafier Cause Server Crashing//Possible Memory Leak

With the Voatfier log not being time stamped its difficult to show to correlation, however we've just recently had to wipe our entire server box and re-do everything from scratch thanks to issues in 1.9 ...However we've noticed often once a user has voted, soon as the RCON connection has finished the server crashes.
I've attached the snippet from console as well as the crash report. Voatafier log shows nothing other than success at the connection to send the needed commands an give the user there items.

The memory leak is visible in the jump in resources used an not let go, but is difficult to prove other than what we've noticed when this program is activated.

Console.txt

Crash.txt

Exception on running "showkey" command

With default config/keys, when running "showkey public" I get:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 at mamo.vanillaVotifier.VanillaVotifier.main(VanillaVotifier.java:216)

Crash On Start

Executed "java -jar Vanilla_votifier.jar"

Gives this:

[WARNING] "votifier.ip" not set: setting to default value.
[WARNING] "votifier.port" not set: setting to default value.
[WARNING] RSA keys not set: generating.
Exception in thread "main" java.lang.NoClassDefFoundError: java/util/Base64
at com.mamoslab.vanillaVotifier.Utils.keyToString(Utils.java:25)
at com.mamoslab.vanillaVotifier.handlers.ConfigHandler.genVotifierRSAKeys(ConfigHandler.java:180)
at com.mamoslab.vanillaVotifier.handlers.ConfigHandler.load(ConfigHandler.java:74)
at com.mamoslab.vanillaVotifier.VanillaVotifier.main(VanillaVotifier.java:34)
Caused by: java.lang.ClassNotFoundException: java.util.Base64
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 4 more

Exception in thread "main" java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 1

Keep getting this error for both v3.1 and v3.2 but not v3.0 , I expect it is a bug with your regex.

Exception in thread "main" java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 1
\R
 ^
        at java.util.regex.Pattern.error(Pattern.java:1924)
        at java.util.regex.Pattern.escape(Pattern.java:2416)
        at java.util.regex.Pattern.atom(Pattern.java:2164)
        at java.util.regex.Pattern.sequence(Pattern.java:2046)
        at java.util.regex.Pattern.expr(Pattern.java:1964)
        at java.util.regex.Pattern.compile(Pattern.java:1665)
        at java.util.regex.Pattern.<init>(Pattern.java:1337)
        at java.util.regex.Pattern.compile(Pattern.java:1022)
        at java.lang.String.replaceAll(String.java:2162)
        at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:45)
        at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:38)
        at co.virtualdragon.vanillaVotifier.impl.PropertiesLanguagePack.getString(PropertiesLanguagePack.java:47)
        at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierLogger.printlnTranslation(VanillaVotifierLogger.java:92)
        at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierLogger.printlnTranslation(VanillaVotifierLogger.java:87)
        at co.virtualdragon.vanillaVotifier.impl.VanillaVotifier.main(VanillaVotifier.java:74)

Crash

When using this program, My server experiences a crash. It seems random. Using 1.9 Snapshot.

Here is the pastebin.. http://pastebin.com/NtSzGmGE

Did some googling.. some mentioned that something was being done in an async method incorrectly
or maybe some error with rcon?

Any thoughts?

output log file

how big can the log file get? I notice when I do a cold restart, it overwrites the log file.
any way to automatically put a time stamp on the log file to keep it separate from the previous one?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.