Open jasonw4331 opened 4 years ago
The addhelper subcommand can no longer use the asterisk to open a plot to everyone The denyplayer subcommand can no longer use the asterisk to block everyone from a plot
what's a valid new replacement or an alternative for a wildcard allow/block?
assuming @a
only applies to currently online players
Introduction
Recently it was pointed out to me that
@a
would be better to be used in place of the asterisk*
because Vanilla bedrock edition uses the@a
selector. I agree.The plugin PlayerSelectors on poggit can be used to add the
@a
selector along with many other vanilla selectors. This PR removes the*
implementation in a push for users to use the PlayerSelectors plugin instead.Relevant issues
Changes
API changes
*
can no longer be used withPlot::isHelper()
orPlot::isDenied()
Behavioral changes
*
to open a plot to everyone*
to block everyone from a plotBackwards compatibility
Follow-up
Tests
The asterisk
*
no longer functions to allow or block all players.