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

Ability to have custom login messages as OPs #184

Closed

Conversation

IllagerCaptain
Copy link

Implements this suggestion.

Copy link

@Focusvity Focusvity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. The suggestion hasn't been approved, so the PR will not proceed any further until the suggestion has been approved and a ticket has been raised on Jira.
  2. Players should be able to pick login messages from GUI or create their own via /loginmessage <message> (should the suggestion be approved).
  3. The message should be restricted to a certain number of characters - 100 is too high.

@@ -10,7 +10,7 @@
import org.bukkit.entity.Player;

@CommandPermissions(level = Rank.OP, source = SourceType.ONLY_IN_GAME)
@CommandParameters(description = "Change your login message", usage = "/<command> [message]")
@CommandParameters(description = "Change your login message", usage = "/<command> <message>")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stay as optional - /loginmessage will open up the premade login messages (in an inventory)

@@ -24,11 +24,10 @@ public boolean run(final CommandSender sender, final Player playerSender, Comman

if (args.length == 0)
{
playerSender.openInventory(plugin.sh.generateLoginMessageGUI(playerSender));
msg("You must set a valid login message! Usage: /<command> <message>", ChatColor.RED);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my previous post - /loginmessage opens up the login message GUI, allowing people to choose the available login messages. All you did was remove the ability to do so and force people to set their own.

@Wild1145 Wild1145 added the Pending Jira Ticket A pr that has been raised without an overarching jira ticket. label Jun 5, 2022
@Focusvity
Copy link

Closing due to inactivity

@Focusvity Focusvity closed this Aug 18, 2022
@Focusvity Focusvity added wontfix This will not be worked on and removed Pending Jira Ticket A pr that has been raised without an overarching jira ticket. labels Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
3 participants