CraftBook 3

CraftBook 3

139k Downloads

Add a flag to "/sign edit" concerning whitespaces and alignment

LadyCailinBot opened this issue ยท 10 comments

commented

CRAFTBOOK-3072 - Reported by Weby

When typing text with "/sign edit" function, there is no way to tell the function NOT to trim the leading/trailing whitespaces.

  • Either implement a simple flag allowing us to NOT trim said whitespaces

  • Or implement an "align" flag which would allow us to easily align the text to the left/right.

  • Or both.

I would like to have the 1st option implemented at the very least, since it is really an easy fix who requires, in my opinion, really few lines, and allows us a better grip on the actual outcome. But having the "align" flag would be a god plus, and would certainly be useful to some people.

commented

Comment by wizjany

{{/sign edit}} is not a worldedit command...?

edit: misread, but not a worldguard command either.

commented

Comment by Weby

Sorry, it's a craftbook one. Before stating something as invalid, would be better to double check if the user reporting the fact didn't simply make a mistake selecting the project ;)

commented

Comment by wizjany

I assumed that much, but since you didn't mention it yourself, I had no way of knowing since I don't use craftbook myself. Could be some completely unrelated plugin for all I know, wouldn't be the first time.

commented

Comment by me4502

To not remove whitespaces, just put the text inside "s, eg " aligned text "

commented

Comment by Weby

Doesn't seem to work when you have many whitespaces. Eg: " aligned".

commented

Comment by Weby

Damn, youtrack trims them too.

commented

Comment by me4502

The craftBook command does not trim whitespaces, if it is happening its most likely minecraft

commented

Comment by sk89q

Can't you use whitespaces in signs in Minecraft?

commented

Comment by me4502

You can, it's just the command which is causing issues

commented

This is a bug in the command processor - we're now using Piston. Moving to the Piston issue tracker, EngineHub/Piston#35