cant get killplayer to work
ozm8 opened this issue ยท 2 comments
I don't get how to set the permission for kill player to work this is what i type for example:
/quester objective add kill 1 ozm8
but it always sets it to false
You may have misunderstood. Kill objective accepts either name of the specific player, or permission player must have. If permission is false, objective works with particular player, so you have to kill "Johnny" for example. If it's set to true, objective works with particular permission, so every player that has permission "Johnny", is a valid target.
To set objective to work with permission, you need to put 'p:' in front of the target name, like
/quester objective add kill 1 p:ozm8
Now every player with permission 'ozm8' is a valid target for this objective.
If you do
/quester objective add kill 1 ozm8
Only player named 'ozm8' is a valid target. This sohuld be case insensitive.
If you don't specify name at all, any player will be a valid target.
I noticed that 'p:' thing isn't mentioned in the old documentation, I will fix it.