Jump to content
×

Commands 3.0.0


Michael

Commands in babble are all over the place. There is ability to add in custom methods, but only simple text replace. you can add a "command file" but it will require to hook into the commands file to add it to the array. Permissions for commands are also all over the place, some are in the "groups" others are in "moderator" section. this is confusing, and can also cause issues in the code. I've simplified this by making "custom commands", just "commands" and you can build commands from the acp. there are 3 types, the first two types you can create yourself, the third type are "internal" commands, ones i create for babble.

Each command now has its own permissions, so no more going to several places to configure the commands, it also makes checking the commands permissions a lot easier in the code. 

I've also made the "aliasing" for commands apart of the command node, as the previous UI was confusing if you had a lot of aliases. 

2016-09-26_1500.png

2016-09-26_1500_001.png

2016-09-26_1500_002.png

2016-09-26_1501.png

2016-09-26_1501_001.png



User Feedback

Recommended Comments

I haven't used custom commands since I wasn't sure how to go about it. This looks easier to follow.

With the permissions in one place, does this replace the permissions that are set in each member group?

Share this comment


Link to comment
Share on other sites
6 minutes ago, GrooveOnBeat said:

I haven't used custom commands since I wasn't sure how to go about it. This looks easier to follow.

With the permissions in one place, does this replace the permissions that are set in each member group?

Yes, it will replace that and the ones in the moderator section. the internal ones i consider to be "moderator" commands, will have a "moderator" badge on them. you will also be able to mark the custom commands as moderator too (this is just a badge, it doesn't have any bearing on the permissions). 

with this new system, you will be able to do basic commands (which currently exist in the custom commands) and advanced ones, where you can use PHP to do more elaborate things.

Share this comment


Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×