LoginProtection.[1.8.8 | 1.12.2 | 1.16.5] Prevent abusing login protection icon

LoginProtection.[1.8.8 | 1.12.2 | 1.16.5] Prevent abusing login protection -----

[PVP|FACTION] Players can recieve damage immediately after login.



Login Protection - Spawn Protection

Description:

We all know the situation, you have hunted down another player. and the player log out.
You are ready to kill him when he login again. but you cant hurt him, and he can kill you.

This plugin is made because of that.



Commands:
/loginprotection - Show info.
/loginprotection help - Show the command list.
/loginprotection status - Show the status {on/off/ticks}
/loginprotection toggle - Toggle function on/off.
/loginprotection on - Enable the function.
/loginprotection off - Disable the function.
/loginprotection ticks {ticks} - Set the amount of ticks the proctection should last.
/loginprotection reload - Reload the Config.yml



Permission:
loginprotection.admin - give access to: Help, Status, Toggle, On, Off, Ticks, Reload


Screenshot:
/loginprotection
upload_2021-8-3_17-40-19.png
/loginprotection help
upload_2021-8-3_17-40-38.png
/loginprotection status:
upload_2021-8-3_17-42-5.png
Other:
upload_2021-8-3_17-50-24.png
missing permission:
upload_2021-8-3_17-42-51.png


Video:
https://medal.tv/clips/44W9Lp2cvT33O/vpvm7sLuj

Config:
Code (Text):
#Name: LoginProtection
#Author: Mwirenfeldt
#Description: In vanilla minecraft a player is protected from taking damage 60 ticks after joining a server
#             This plugin makes it possible to change that time or even remove it.
#
#
#
#ConfigVersion. insures the config matches plugin.
ConfigVersion: 1.0 #DO NOT EDIT
#
#
#Enabled. if true, when a player joins the server the LoginProtection will be set to "Protection.ticks"
#         if false, the player will have 60 ticks protection after login.
Enabled: false
#
#
#Protection. Protection time in ticks. if no protection time is wanted set it to 0
#            10 ticks - 0.5 second
#            15 ticks - 0.75 second
#            20 ticks - 1 second
Protection:
  Ticks: 60
Upcomming:
- support for other versions.
- Added 1.16.5 - Version 1.0.1
- Added 1.12.2 - Version 1.0.2
Resource Information
Author:
----------
Total Downloads: 292
First Release: Aug 3, 2021
Last Update: Sep 13, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings