Separate names with a comma.
Comments in 'Plugin Development' started by Radix, Nov 29, 2015.
Is there anyway to have a temporary ban when a player is killed or dies period?
Yes, there are lots of ways. You just have to think.
Put the player that died name in an array, database, or YAML file, then kick them(Optional)
Use PlayerLoginEvent or PlayerJoinEvent to prevent the player from joining the server if their name is in the array, database, or YAML file.
After your desired time, take the name off.
Yes of course there is. Just use https://forums.pocketmine.net/plugins/timerban.277/ look at the public functions https://github.com/onebone/TimerBan/blob/master/src/onebone/timerban/TimerBan.php write a small quick plugin or even modify timerban itself to ban PlayerOnDeath
Done that already last i check Timerban doesn't work!
Good Idea , Thanks!
As far as I know PocketMine includes that feature by itself, at the difficulty you can choose hardcore.
that's a permanent ban, he is looking for temporary...
oh oke but arent there many plugins about that? He also could use TimeCommander and set the ban and pardon commands there
This is "Plugin Development" not "Plugin Requests".
He is trying to make his own plugin.