* THIS IS VERY IMPORTANT UPDATE, BE SURE TO READ EVERYTHING IF YOU ARE UPDATING FROM V 0.0.7 *
[ - ] COMPLETELY RECODED [Location] PLACEHOLDER SYSTEM [ - ]
- First off, I want to apologize for anyone who tried this plugin and found the [Location] placeholder to be buggy. I was fairly new to coding when I first made this plugin, and I just looked back at the code and realized my mistakes.
- THIS UPDATE
FIXES ALOT OF BUGS that were present in the placeholder "[Location]" and now this placeholder will work properly!
+
New config section with new options:
- PLEASE ADD THIS TO YOUR CONFIG.YML (YOU CAN ALSO COPY THE FULL CONFIG ON THE MAIN PLUGIN PAGE):
Code (YAML):
Placeholder
:
# SHOULD THE PLUGIN BLOCK THE PLAYER'S MESSAGE WHEN THEY DON'T HAVE PERMISSION FOR [Location] PLACEHOLDER?*
# * ( IF FALSE THIS WILL SHOW THE PLAYER'S MESSAGE WITHOUT REPLACING [Location] WITH PLAYER COORDINATES )
Cancel-Message
: true
# SHOULD THE PLUGIN SEND THE PLAYER A PERMISSION MESSAGE WHEN THEY TRY TO USE [Location] WITH NO PERMISSION?
Permission-Message
: true
- Added Usage-Message to the General section in config:
Code (YAML):
Usage-Message
:
"&dUsage: &f/LS <Player>"
- Command and placeholder code is a lot better now. Also, all config placeholders should work properly now
- Recoded /ls command to be more efficient
- Cooldown for /ls command now only works if the player properly executes the command. This means if a player accidently types an invalid player name or executes the command /ls without arguments, a cooldown will not be added to them. This also eliminates cooldown checks if the player doesn't execute the command properly.
Suggest features or report bugs in my
discord
.