Paper doesn't like exclamation marks.

Created on 23 Jun 2018  路  5Comments  路  Source: PaperMC/Paper

I was watching Sweden vs Germany, got happy cause they scored, and made Paper go boom with say SWEDEN GOAL!!!!!!!!!!!!!!!! :(

Tested with zero plugins on:
Paper 1468 broken
Spigot 1641 not broken

-Launch paper
-Type in console say TEST!!
-Type in console say TEST!!
-Boom? https://pastebin.com/raw/8AE28MX3

or

-Launch paper
-Type in console say TEST!
-Type in console say TEST!
-Type in console say TEST!
-Type in console say TEST!
-Type in console say TEST!!
-Boom? https://pastebin.com/raw/HFbLQAgT

and

-Launch spigot
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-Type in console say TEST!!
-No Boom? https://pastebin.com/raw/r7ad0mPK

Stop discriminating against soccer fans and let us celebrate by spamming console :( <3

PS: _The server continues to function after the boom, but console becomes unresponsive and doesn't accept commands. Have to restart from in-game to get console functional again._

Most helpful comment

It seems like JLine implements Bash's Event Designators by default: http://www.gnu.org/software/bash/manual/html_node/Event-Designators.html

For example, if you use

> say hi
> say I just used !!

It would say I just used say hi. And something in the code that parses these things seems to be broken sometimes.

In any case, this isn't really useful in the Minecraft console, so we can just disable it to avoid this error. Will make a PR later.

All 5 comments

More info:
This was broken as of Build 1114 on June 11th 2017.
_Looks like there was quite a few console changes on that date, so that would likely be where to look._

https://github.com/PaperMC/Paper/commits/master?after=ff572760c46b5b5b0b7c553d84a64a4b6811ab4c+419

You mean build 1113? I'm looking into this (with not much success) and this is where I keep ending up.

@Yive your build numbers are off =P
https://yivesmirror.com/grab/paperspigot/PaperSpigot-1.12-b1113.jar is not 1113

Anyways, yes @BillyGalbreath on your link, 1112 works while 1113 doesn't.

I'm at a loss here. From what I'm seeing this is a bug in jline, but I cant find any mention of it anywhere else, so i'm probably way off base. @Minecrell

It seems like JLine implements Bash's Event Designators by default: http://www.gnu.org/software/bash/manual/html_node/Event-Designators.html

For example, if you use

> say hi
> say I just used !!

It would say I just used say hi. And something in the code that parses these things seems to be broken sometimes.

In any case, this isn't really useful in the Minecraft console, so we can just disable it to avoid this error. Will make a PR later.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mibby picture mibby  路  3Comments

Dimotai picture Dimotai  路  3Comments

successed picture successed  路  3Comments

tazuuuu picture tazuuuu  路  3Comments

BillyGalbreath picture BillyGalbreath  路  3Comments