Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/align #103

Open
JustBru00 opened this issue Feb 5, 2019 · 2 comments
Open

/align #103

JustBru00 opened this issue Feb 5, 2019 · 2 comments
Assignees
Labels
Addition Request Back Burner Issues that are technically possible but will require more work than it is worth at this time. Medium Priority Need More Information
Milestone

Comments

@JustBru00
Copy link
Owner

Currently /align doesn't work as expected due to how fonts in minecraft work. Characters within minecraft's default font are not the same size. This makes it very difficult to make text center and right align.

For the reasons stated above /align must be put on hold until a solution can be found that doesn't require a custom font with resource pack.

/align was first mentioned in #86

@JustBru00
Copy link
Owner Author

JustBru00 commented Feb 5, 2019

align:
  name_aligned_left_success: '&aName aligned to the left.'
  name_aligned_center_success: '&aName aligned to the center.'
  name_aligned_right_success: '&aName aligned to the right.'
  lore_aligned_left_success: '&aLore aligned to the left.'
  lore_aligned_center_success: '&aLore aligned to the center.'
  lore_aligned_right_success: '&aLore aligned to the right.'
  both_aligned_left_success: '&aName and lore aligned to the left.'
  both_aligned_center_success: '&aName and lore aligned to the center.'
  both_aligned_right_success: '&aName and lore aligned to the right.'
  incorrect_name_args: '&cIncorrect arguments /align name <left, center, right>'
  incorrect_lore_args: '&cIncorrect arguments /align lore <left, center, right>'
  incorrect_both_args: '&cIncorrect arguments /align both <left, center, right>'
  incorrect_args: '&cIncorrect arguments /align <name, lore, both> <left, center, right>'
  not_enough_args: '&cIncorrect arguments /align <name, lore, both> <left, center, right>'
  disabled_world: '&cYou are in a disabled world.'
  wrong_sender: '&cSorry only a player can use that command.'
  no_permission: '&cSorry you don''t have permission to perform that command.'

/align messages.yml text.
Removed for temporary as of version 3.5-INDEV

@JustBru00
Copy link
Owner Author

Original request text from #86:

  1. Adding a centered command an alignment command
  • If i have an item all setup with my lores and item names and all, and want to center them in the tooltip, this command will do that.
  • The alignment should be based off the longest line in the tooltip, so that the centering will look lined up

Command:
<required arg> [optional arg]
/align name <left || center || right>
/align lore <left || center || right> <line0,line1,lineN...>

@JustBru00 JustBru00 modified the milestones: v3.7, v4.0 Apr 12, 2019
@JustBru00 JustBru00 added the Back Burner Issues that are technically possible but will require more work than it is worth at this time. label Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Addition Request Back Burner Issues that are technically possible but will require more work than it is worth at this time. Medium Priority Need More Information
Projects
None yet
Development

No branches or pull requests

1 participant