This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What is the enhancement in mind? How should it look and feel?
Currently there are a lot of mods out there that when run in admin mode display message that are intended for admin or having blocks with a lot of commands starts to clutter a user's screen. Having a @suppress (or @sup for shorter commands) would basically not show any message after that point to the user unless its the @player command.
Example from bPermissions for adding groups:/sbcreate [@sup][@bypass /p local addgroup member <player>][@player Welcome to our server!]
This example utilizes the @sup command to suppress any message that the permission plugin might give for adding the player to a group, but still allows the @player command since it is a part of scriptblock
I would hope it could be placed anywhere and only suppress all commands past that point like:
/sbcreate [@bypass /p local addgroup member <player>][@sup][@bypass /p local addgroup member <player>]
would only suppress the second permission message while the first would be displayed.
It might even be easier (as far as code goes) to just turn it off / on in the same line like:
/sbcreate [@sup][@bypass /p local addgroup member <player>][@sup][@bypass /p local addgroup member <player>]
This would suppress the first permissions message, but then unsuppress and show the second one. Just a thought, but an awesome enchancement if it's possible.
I think it's difficult to implement... I don't think Permissions messages can be catch...
However... There is a secret feature that let you add group and remove group with the @addgroup:"group" and @removegroup:"group" option ) ( this is used for definitive promotion and demotion. )
use @tempaddgroup:"group" and @tempremovegroup:"group" for temporary bypass ( always close it with @tempremovegroup at the end of the script ) it's lighter than @bypass:group if you Have a long script with the need of the same group promotion !
the simple @add/remove:"group" and @tempadd/remove:"group" ... works differently ! Becarfull, You may not use the first one for bypassing !!
with this you'll don't get any message ; )
However this feature is in test, and may change, that's why I haven't told anything about it !
To post a comment, please login or register a new account.