Activities ::: mod_debate
Maintained by A K M SAFAT SHAHIN
Debate is a moodle activity which allows students to debate in a given topic inside moodle.
Latest release:
417 sites
30 fans
Moodle 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11

What does this plugin do

The debate is a moodle activity that allows students to debate on a given topic inside moodle.
It is a usual activity in any face to face class that moderators or teacher or even employees are divided into group and
they are asked to give their opinion or debate on a given topic. This plugin is the approach to take that whole scenario inside moodle.


Use debate activity in a course

Adding a debate activity is simple, just the usual way, go to the course, turn editing on and add the activity. A debate activity will have three parts:
1. A name of the activity (a usual moodle activity name).
2. The topic of the debate (the actual topic where the users will debate on).
3. Activity description, a usual moodle field where you can upload pictures or other descriptions which can be viewed
on either of the course page or the debate page or both. There is a checkbox while adding or deleting a debate
instance allows to set up this feature.

Create teams in debate activity

You can create multiple teams for a debate activity for positive and negative side for a group of users. You will need to use the groups feature inside the course, create groups and use those groups as a part of each team. Each team can have:
1. A name of the team.
2. Number of responses allowed for the team.
3. The side of the team, either positive or negative.
4. The selection of groups for each team will determine which user goes to which team.

Debate activity allows you to control the response from the users

These are the following options available when it comes to accepting response from the users:
1. Unlimited response - users can add as many positive and negative response as they want.
2. Allow one response on one side - only one response is allowed on any one side, either positive or negative.
3. Allow one response on each side - allow anyone to respond either on the positive or negative side.
4. Use debate teams - use teams feature instead which will control these for individual teams.

Debate allows the control of activity completion of the module

These are the types of completion you can use:
1. User viewing the debate activity (and/or).
2. User submitting the required number of debate responses.
(for example, the user will have to submit 2 responses to complete this module)

Debate logs all types of activities inside the debate instance

The following events are logged in moodle log:
1. Visiting a debate instance.
2. Adding a debate instance.
3. Updating a debate instance.
4. Deleting a debate instance.
5. Adding a debate response.
6. Updating a debate response.
7. Deleting a debate response.

The debate also introduces capabilities for users and other roles inside a course

These are capabilities available:
1. Add a new debate instance: allows users to add a new debate activity inside the course.
2. View debate content: View the debate page where the actual debate will happen.
3. Delete any debate response: Allows moderators or teachers to delete debate responses from users.
4. Delete own debate response: Gives the user the capability to delete their own response.
5. Update own debate response: Gives the user the capability to update their own response.
6. Manage debate teams: Gives a teacher or manager the capability to create, update or manage teams.

Automated testing support

Debate activity includes automated testing support for testing any issues from the code.
I am continuously adding PHPUnit tests to the plugin, the coverage of the test will increase from time to time.

GDPR compliant

Debate activity includes privacy API to maintain GDPR compliance.

Want something more? Let's talk about it

If you have something you want for your organisation to be implemented, please create an issue in the link below:
I am always happy to talk about your requirements and discuss further.

Track progress of any current and future developments


Any type of contribution, suggestions, feature request is welcome.
Please create an issue in GitHub to discuss before doing a pull request.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


A K M SAFAT SHAHIN (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Tue, Feb 9, 2021, 6:36 PM
    Hi Mary and Skensa, thanks for your input in this, the feature is released. Please have a look now.
  • Tue, Feb 9, 2021, 8:13 PM
    Many thanks for this excellent plugin - it's something our staff will find very useful, I think! Re. future features: we'd definitely like to see the ability to assign students to a particular team (preferably leveraging Moodle's existing groups capabilities), so that they could only take one side in the debate. The live updating feature would also be very welcome so that the activity could be used in synchronous environments. Other potentially useful features might be moderation i.e. approval of a student's comment before it's published, flagging/reporting of comments (in the case of off-topic or offensive comments), rating of comments (similar to how posts in Moodle's forums can be rated), and the ability to add anonymous comments. Thanks again for sharing this with community.
  • Thu, Feb 11, 2021, 9:22 AM
    Excellent plugin! Please, add grade for students, to motivate them to find the best answers.
  • Sat, Feb 13, 2021, 9:55 AM
    Hi Romano and Roland, yes absolutely, I have released some major features today and next one will be to add support for mobile app, global search and adding teams, I have added all the requests in the plugin roadmap. Please keep giving me your feedback. Thanks a lot.
  • Sat, Feb 13, 2021, 1:12 PM
    Can you add separate group feature on the next update please? so each group only can see their group debate only, and teacher can filter the debate by group. thank you
  • Sun, Feb 14, 2021, 7:18 AM
    Hi Skensa, I had a very straight forward feature for teams and group but the one you are recommending seems pretty amazing, I am adding these to my plugin roadmap. I am currently working on this feature and hoping to finish it by 1st week of March, I will keep you posted.
  • Tue, Mar 23, 2021, 6:12 PM
    Est ce que c'est possible d'avoir la traduction française et arabe relative à l'interface apprenant de l'activité?
  • Wed, Mar 24, 2021, 5:57 PM
    This is an excellent plugin. Is there a way where we can change the labels like for the motion for positive and against the motion for negative.
  • Fri, Mar 26, 2021, 3:07 PM
    Hi Dorji, can you please explain a bit more about this? I didn't quite get what you meant by labels and motions, please create an issue in the following link so that we can discuss it in detail:

    Bonjour Mohamed Ali nahali, Malheureusement, je n'ai pas d'expérience dans la traduction ou l'écriture du français ou de l'arabe (j'aimerais pouvoir le faire), si vous pouvez m'aider à traduire ces chaînes dans ces langues, alors je serai en mesure de faire le pack de langue ces:
  • Fri, Apr 23, 2021, 5:09 PM
    Hi, Above all thank you so much for this plugin!
    Just a question: is it possible to answer a question with an mp3 file or a video? I tried but I didn't succes in it.
    Thank you in advance
  • Sat, Apr 24, 2021, 9:07 AM
    Hi Filippo, debate response accepts text only at the moment, but I believe having the ability to add files and different components like audio and video will be a great addition. I will add this to the plugin roadmap.
  • Tue, May 11, 2021, 2:54 AM
    Hi, great plugin, many thx ! My students use it in a foreign language and I'd like, as a teacher, to be able to correct what they've written. If I'm not mistaken, I can only delete their post, not correct it. Would it be possible to add the feature? THX
  • Fri, Jun 4, 2021, 6:31 PM
    Hi Jac, Thanks a lot for your feedback, I have added this in the plugin roadmap, having an edit feature, In this case, is a bit tricky, David from moodle also recommended having this feature. I will give it an investigation from the backend and UI perspective. Thanks again.
  • Fri, Sep 3, 2021, 8:33 AM
    Trying this today for the first time and I do love it. I hope in the future there can be a means to determine the number of responses allowed per user/member of a team apart from identifying the number of maximum responses for a team. I guess the workaround I have for now is to provide instructions to the kids. Thanks again for this plugin.
  • Tue, Sep 7, 2021, 3:49 PM
    Is it possible to make the labels Positive and Negative editable? Not all debate sides are necessarily just positive and negative. Thank you.
1 2
Please login to post comments