Added permission
gestures.admin for easier distinction of what the average player should be able to do.
- Players without this permission can, by default, toggle whether gestures should be registered for them, and whether they should see particles on gesture.
- Players with can still access all the features: adding, removing, listing gestures.
- The tab autocomplete for /gestures reflects whether or not the player has the permission.
Added 3 new options, one of which is just the permission mentioned above. The other 2 added in this update are
allow-players-to-toggle-particles and
show-particles-default. Both are enabled by default.
- Have allow-players-to-toggle-particles set to true will, as the name suggests, allow players to use command /gestures toggle particles to toggle whether they see particles or not.
- Having it set to false will ignore what the player preference is, as well as disabling use of the command, and will fall back to the show-particles-default option.
- e.g. If allow-players-to-toggle-particles is false, and show-particles-default is true, then players will be forced to see particles on gesture.
Also changed the name of the script to include an underscore at the start, to prioritize this script loading first. Previously, scripts that make use of the
on gesture custom event would throw an error on server start if they loaded before.
Was debating allowing players without the
gestures.admin permission to use
/gestures list to see what gestures are registered. Would love to hear feedback on this.