Ban Management

Ban Management

193k Downloads

[player] doesnt work

XenRevo opened this issue ยท 6 comments

commented

The [player] doesnt work in the messages for
sender:
error:
notFound: '&c[player] not found, are you sure they exist?'
offline: '&c[player] is offline'
noSelf: '&cYou cannot perform that action on yourself!'
etc......

commented

Not all messages output [player] nor other variables.

If you can give me a list of any messages that you'd like to use those in, I'll ensure they're output correctly.

commented

Could you add it for for when you do /ban or /mute and the player is not online? So that [player] works.
Could you also add [expires] to the ban,player.disabllowed? So that this doesnt look bad
https://i.revo.pw/2495hx1_2496Zx.png

commented

ban.player.disallowed are permanent bans and so do not have an expiry time, simply use "never" or some other word instead of the expires token.

Not sure which messages you are referring to for /ban and /mute when they're not online. The notification messages correctly set the player token. Do you mean sender.error.offlinePermission?

commented

Alright, I can use "Never" for that.

I mean sender.error.offline

commented

I've gotten message [player] was banned for.. bla bla
with a player who connected with a new username (so namechanged)

commented

Kick commands are the only ones that use sender.error.offline, which already sets [player] token