Fixed Bug where whenever player typed /gcops reset, in spite of writing correct command, players still used to get gcops help command
Fixed Bug where if the plugin gets disabled at first, then hashmap used to throw null pointer exception
Fixed Bug where cops used to spawn for the killer in spite the victim still being alive and not getting killed.
Improvement:
Made it compatible with 1.12 and 1.13.
Added Updater Checker for Plugin back. Now in Console whenever you start the server you will get information if your plugin is the latest version or not.
Whenever you right-clicked with any item along with cheat-card, the message "you are not wanted right now" used to get displayed. Its now fixed.
Improvements
Whenever a staff/admin changes someone's wanted level using /wlreset, it will be broadcasted on the Global-chat Server.[To Disable it or Enable it see the next point]
Now you have the choice to enable or disable Broadcast message whenever someone reached a new wanted level or an admin set a wanted-level by using /wlreset, in config.yml.
New Features
Now whenever you do /topwant or /topmurders, players will no longer have dull blue colors only. Instead, Their Nick or Prefix or Suffix and their name colors will be displayed.
You will be able to change the Logo(Star) and the color of the stars/Logo as per your choice in the config.yml.
It was caused due to change in curse updatecheckAPI. So i decided to remove it permanently from the plugin.
Fixed the issue of Vault is An API just, so you need to have an your own custom coded Economy plugin which supports vault or you can get the list of plugin it supports from their page OR YOU MUST HAVE ESSENTIALS. https://www.spigotmc.org/resources/vault.34315/
Fixed the issue where whenever a player kills another player and he gets killed by the cops in return, the cops wouldn't die and there would be errors in console.
Made it compatible with 1.8, by removing the time of fade in fade out and stay from config.
Fixed a bug with callcop where time for strength did not work.
New Feature
Enable_Punish now divided into Enable_Punish_Player and Enable_Punish_Cops
Now you can choose if you want a player to get punishment whenever he dies from not only cops but also another player.
Now Supports MvDW's all latest plugins[ Example: FeatherBoard4]
Hooked into Clip's PlaceHolder. For more details check the Main Page
MvDWPlaceholderAPI and PlaceHolderAPI now optional
Title/SubTitle now has faded in, fade out, amount of time it will stay on the screen feature.
MaxHealth is now added in the config.yml which now allows the user to set the max health of a cop beyond 20
Now you can set the armour and weapon for the cops in callcop command
New Sign Features available. Where the player can decrease their wanted level just by right-clicking it. For more details check the main page.
New Perms added GTACops.admin.sign and GTACops.user.sign
Message.yml has got a new look to make it easier for people to understand.
Fixed
Whenever a player typed the commands in console, it popped up error. Now its fixed. All Commands are now player based.
Fixed error whenever people typed /wlreset <playername> but with no values
Fixed error whenever people typed /givecheat <playername> but with no values
Fixed the issue where whenever a player right clicks the cheat card, it always used to decrease by 2 instead of 1. From now on the player needs to right click an air block if he wants to use cheatcard.
Fixed the issue where DeathTimeCops message was still being displayed even after killing the cops
Fixed the issue of no longer getting auto update message, whenever there is a new version out.
Whenever player did /gtareload, messages.yml didn't reload, its now fixed.
Changed Decrease want message in msg.yml from decreasewant to payfine.
Now Players will get the auto update message if they also have GTACops.admin
Improvement
More explanation added to config.yml regarding the usage of worlds.
Now CallCop and trackplayer command will work only in the above mentioned worlds.
Message being added, whenever player types the above 2 commands but is not in the correct world.
Enable_Rewards has been divided into Enable_Rewards_Players and for cops seperately.
Cops upon being killed no longer drops item other than cheat card.
Now the plugin will check if you have a compass in your hand when typing /trackpalyer. If not then it will pop up a suitable message[New Message has been added in messages.yml]
New messages for getting punisment and using the payfine command in messages.yml
Command changed from /gtareload to /gtacopsreload
To access payfine now there is a permission needed named GTACops.user.payfine
Fixed the issue of player's data not storing properly in data.yml
Added metrics in the plugin. It uses bstats. No need to worry it won't affect your server performance.
Added a new feature of Time after which cops die for each wanted level.
Example , Suppose the cops spawn and the player ran and the cops couldn't kill him. The cops should die right? So after specific amount of time the cops spawned will die.
Time for death of cops in config.yml
New CopEscape message added to messages.yml( Message to be displayed when the player doesn't get killed by the cops and the cops die due to time limit)
Perm changed. GTACops.byass is now GTACops.user.bypass
Removal of Scoreboards whenever wanted level changes fixed
Removal of Scoreboards whenever player joins fixed
Added a 5 seconds delay before prefixes update
However Scoreboard will disappear whenever a player leaves, it can be fixed whenever another player joins or doing a scoreboard reload( You have to bear this until the issue is fixed )
Now you can give leavemealone cards straight away by doing /givelma <playername> <value>
Fixed the issue of errors in 1.8 regarding right clicking
Now WantedLevel and Murders reset back to 0 when u use the leavemealone card and the cops vanish away.
Now it shows the Version in your console inside the GTAEnable Message
Now You can also change the item type for the leavemealone cheat card in the config.[No more Paper]
Config.yml updated
Few Tweaks
There is small error in console in 1.11.2 when right clicking leave me alone card. Although u don't spot any problem in-game(i.e, it works perfectly in-game) but it spams an error. The issue will be fixed ASAP. SORRY for the inconvenience. [THE LEAVE ME ALONE FEATURE IS STILL NOT STABLE -- SO IT CAN BE BUGGY]
Remember the time, when players can do leavemealone and their wanted level would disappear!!
Yes i have introduced it into the plugin but with a slight change, instead of resetting wanted level to 0, it will remove all the cops within 20 blocks [X,Y,Z]
As for Admins there is a chance system now in config which determines the probability of LeaveMeAlone Paper falling from each Cops. [Default is 100]
Whenever Player kills a cops, if he is lucky he will get a LeaveMeAlone paper. If he right clicks it, KABOOM all cops gone.
Bear in mind, Its one time paper only, meaning if he uses it, its gone. He has to wait again to get one from cops.
Config.yml updated
Minute Bug Fixes.
NOTE: THIS FEATURE IS STILL NOT STABLE, SO IT CAN BE BUGGY. REPORT PROBLEMS TO GITHUB LINK, GIVEN IN MY MAIN PLUGIN PAGE.