FIXED:
- Fixed
/class forcejoin not working.
ADDED:
- A brand-new assistant system. Here's how it works:
- Assistants help the teacher in performing repetitive tasks. They can grade, read handed in items, allow/forbid talking, allow/forbid raising hands, kick students, let students that raised their hands talk, allow/forbid magic. They cannot start or end the lesson, add other assistants or use the
/class forcejoin command.
- There are two ways you can become an assistant:
- If you have at least the teacher permission, you can execute /rooms, click on the room you want to assist, go to the teacher panel. Then there will be an item (detector rail) saying "Become assistant". If it does not pop up, it means you're already teaching/following a class.
- If you don't have the teacher permission but you are inside the class, the teacher can now invite you to be an assistant. Note for teachers: always ask before making a player an assistant, because they will leave the lessons as a player and then join again as an assistant. This means they cannot be graded anymore. The teacher can make you an assistant by using the new "Invite assistant" item. This will possibly change into an 'invite-and-accept' format instead of forcing the player to be an assitant.
- New chat format for assistants + new 'assistant' section inside the
grades.yml file!
- Obviously, a class can run perfectly fine without assistants, but there still needs to be a teacher
CHANGED:
- Menu syncing will now be performed on actions outside of InventoryClickEvent to prevent further issues.