Open Danilwsk opened 2 years ago
I'll be waiting please
I had plans to add something like this to AdminProtect (preventing from giving gamemode to other players) but it is not a primary task. Possibly in future updates...
Can you add clearchat? With a message in the chat
I'll think about it, but not in the coming 2.0.0 release. Maybe in the next beta-versions after it.
Thanks for the suggestion
So to the AdminProtect plugin. You can add a message to the chat for banned people like "If you do not agree with the punishment, contact the forum." That is , it is not a reason , it is a text that will always appear after the reason for the punishment
Messages can be edited in config.yml
TempBannedPlayerKickMessage: "You was banned on this server until %duration%.\n Reason: %reason% (%sender%§r)\n\n If you do not agree with the punishment, contact the forum."
BannedPlayerKickMessage: "You was banned on this server.\n Reason: %reason% (%sender%§r)\n\n If you do not agree with the punishment, contact the forum."
BannedIPKickMessage: "Your IP was blocked on this server.\n Reason: %reason% (%sender%§r)\n\n If you do not agree with the punishment, contact the forum."
TempBannedIPKickMessage: "Your IP was blocked on this server until %duration%.\n Reason: %reason% (%sender%§r)\n\n If you do not agree with the punishment, contact the forum."
where \n
is new line, %sender%
is admin name.
But it was broken after updating to pmmp 4.0.0 and I fixed it just now (fixed version was not uploaded in Releases tab)😁😁😁
And the message that I banned someone will be visible to everyone in the global chat?
And will it be possible to add the /mute command to this plugin ?
And the message that I banned someone will be visible to everyone in the global chat?
Yes, it will
And will it be possible to add the /mute command to this plugin ?
I will try to add this.
When in config I write text in /n Then the banned player appears text after text of the reason. I thought it would be exactly on the new line , and not on the same line with the reason
To break a line you need \n and in config message must be in double quotes: "first line\n second line"
that is, I can place the text /n anywhere in the banned player?
I think yes, it should work
And how to make the banned player indicate the name of the one who banned in another place, and not at the end?
And will the /warn command be added to this plugin?
and /n "text" It does not work, it gives an error
Give your config.yml, I will see what is wrong
I wrote on a new line, but the console makes the error
You added /n If you do not...
behind the quotes, but text the must be inside quotes. This caused an error on the server.
Also not /n
, you need \n
for new line
Understood I'll try
Question can you update to pm5 please this is the best staff plugin out there!
Question can you update to pm5 please this is the best staff plugin out there!
Hi @XyloFD2 The latest release 3.0.0 was published 4 days ago in releases section: https://github.com/WeekThor/AdminProtect/releases/tag/v3.0.0-beta-1
This is an update for pmmp5
Create a new plugin on gm /gm 0 - survival /gm 1 - creative /gm 2 - adventures /gm 3 - spectator with permission to use it. with permission to issue gm. And the ability to change the description