Filled School Classes Plugin

Discussion in 'Plugin Requests' started by Assassin_sam, Jun 23, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    Assassin_sam

    Plugin category: RolePlay

    Minecraft version: 1.8.9

    Suggested name:
    School Classes

    What I want:
    this plugin is for a harry potter roleplay server i want this plugin similer to the potterworldmc plugin

    The first command is /class create (name) witch will create the class and the current location where you type the command, students will spawn at the exact spot,

    when i type the command /class start (name) can a message come up in chat saying "Professor (name) has started a (class name)! Click me to join".

    upload_2018-6-23_12-58-19.png


    when you click click me you will be placed in a Que with other players, and when the class is full the class will start. The Professor could also do /class Forcestart witch will force start the class.
    while you are in the class i would like the students to do /rh and it displays a message in chat saying "(player) has raised their hand". when the students has finished their work in a book and quill i want them to do a command /handin this command opens a clear menu named (player) work

    upload_2018-6-23_13-3-7.png

    when the professor is ready they can do /class gatherwork. /class gatherwork will transfer all of the work form the students /handin menu in to the teachers mark menu.
    professors can see all of the work after they do /class work.
    i also want a book and quill grading system when the professor does /class grade (T.P,D,A,E,O,O*) while holding the book and quill something like this V

    upload_2018-6-23_12-55-49.png

    professors can also do the command /class kick (player) witch will kick the player out of the class. finally professors can do /class end and the class will then end.


    Ideas for commands: /class create (name) creates a class
    /class start (name) starts the class
    /class forcestart the class currently in progress no mater how many players will start (usually it is 30 a class)
    /handin this command opens a menu for you to hand in your work
    /gatherwork this will take all work from all of the students turn in and put in the the professors /class work.
    /class work where all of the students work goes for the professor to mark and give it a grade with /class grade
    /class grade (T,P,D,A,E,O,O*) the professer then grades the book and quill
    /class kick (player) the player gets kicked from the class and cannot rejoin.
    /class end the professor then ends the class and everyone gets kicked out.
    /class leave a player leaves the class when ever they want or when the work is marked
    Ideas for permissions: op's has access to all the commands without being set permissions
    /class create - class.create
    /class start - class.start
    /class forcestart - class.forcestart
    /handin - class.handin
    /gatherwork class.gatherwork
    /class work - class.work
    /class grade - class.grade
    /class kick - class.kick
    /class end - class.end
    /class leave- class.leave

    When I'd like it by: end of July 2018
     
  2. Offline

    Music4lity

    I'll attempt this. It sounds cool, although I'm not sure what purpose it would serve.
     
  3. Offline

    Assassin_sam

    That would be awesome thank you so much.
     
  4. Offline

    Assassin_sam

    How is the development going?
     
  5. Offline

    EndureBlackout

    I don't know if he is still making it or not so I am going to pick it up. Just a quick question before I start, how many players per class is there?
     
  6. Offline

    Assassin_sam

    It would like around a minimum of 1 and a maximum of 40 players per class, please! Also, thank you for picking the plugin up!

    Ps. it possible can you also make it so multiple classes can be going on at once? Thanks
     
    Last edited: Aug 19, 2018
  7. Offline

    EndureBlackout

    Sure thing! I’ll start working on the as soon as I can!


    Sent from my iPhone using Tapatalk
     
  8. Offline

    Assassin_sam

    Hey, I was just wandering how the development for the plugin in going?

    Thanks Assassin_sam
     
  9. Offline

    Assassin_sam

    I know It has been a while so I am just wandering how the development for the plugin is going? it has been a while since I have messaged you so I thought I would just try getting a update on the development!

    Thanks Assassin_sam
     
  10. Offline

    Tango_

    I will do this for you, and promise I will get this done, unlike the previous replies :p
     
  11. Offline

    Assassin_sam

    Thanks you so much! I appreciate you taking on my plugin idea!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 22, 2018
  12. Offline

    Tango_

    Maximum 1 week.
    I also have some questions for you:

    - how do the players get a book and quill

    - When you create a class, is it permanent and saves after restarts, or is it just temporary and needs to be created every time before a class starts?
     
    Last edited: Sep 22, 2018
  13. Offline

    Assassin_sam

    Ok for the first question about the BaQ can you make the players spawn in when the teleport to the class with one?
    If possible I would like the classes to be Temporary just in case the name of the class changes or so on!
     
  14. Offline

    Tango_

    Ok, that makes it easier to code, so the process is something like this:

    - Class X created by professor
    - Broadcast that professor made X class and to join the queue if clicked
    - When the professor types /class start (name) players last locations are saved and teleported to the created spot.
    - They are then given a book and quill
    - They complete book and sign it and hand it in
    - the professor then grades the books and are instantly returned after the command to the students.
    - /Class end is used and the students / players are returned to their previous locations

    This is the way I'm going to code it. If I got anything wrong please let me know, sooner is better.
     
  15. Offline

    Assassin_sam

    That sounds about right I'm fine with you coding it like that! But I'm just wandering how you are going to do the spawn point for the players. because each class isn't going to be in the same location all the time. e.g DADA (defence agent's the dark arts) will be located in the top tower and herbology will be located in the gardens! do you have any ideas about that?
     
  16. Offline

    Tango_

    Would you like to reuse created classes (use after restarts), because I plan on storing the classes teleport location when the professor does /class create (name) - (gets the location from where they are standing and facing)

    This means if you did /class create TEST, the data will be saved in a file.
    you can end the class, restart server if needed, and all you need to do is type /class start TEST to start that class again and the location will be obtained from the file. Would this be better?
     
    Last edited: Sep 23, 2018
  17. Offline

    Assassin_sam

    I was planning on doing 1 class a day so e.g one DADA class Monday server restart over night 1 DADA Tuesday. so basically 1 class (of same name) everyday (after restart). there may also be multiple different classes on in one day 1 DADA 1 herbology.
     
  18. Offline

    Tango_

    Ok so instead, should the class creation be done like this:

    - /Class create X | Creates the class named X and teleport location is where they are standing. This saves data to file, but nothing is broadcasted and no one can join the class, this is just for setup, meaning you can start and end the class multiple times. You can also create more than one class and start and end that too.

    - /Class open X | Will find class X from file and will broadcast the message allowing anyone to queue for X class if they clicked.

    - /Class start X | Players that queued will be teleported, previous location saved, and then given a book and quill.
     
  19. Offline

    Assassin_sam

    Yes, perfect that seems like an way more effective then the last one!
     
  20. Offline

    Tango_

    Ok great, I will get to work, I will update this if I have any more questions


    EDIT::
    I noticed from watching a video of the servers plugin that there was a reward after their work is handed back, would you like me to add a feature that can run console commands if a player gets a certain grade? I can add it in the config.
     
    Last edited: Sep 23, 2018
  21. Offline

    Assassin_sam

    Yeah, I completely forgot about that. I'm not sure if you are familiar with the magic plugin
    https://www.spigotmc.org/resources/magic.1056/
    If not Ops or players with permissions can give other player spell points (SP), can you make I so if you get O+ you get 2 SP O,A,E you get 1 SP and if you get T,D,P you get 0 SP. If you cant work it with the magic plugin I can just manually give players Spell Points!

    EDIT: If you cant I don't mind giving SP to player manually because using another plugin to code a different plugin can get a bit tedious! So don't get out of your comfort zone!
     
  22. Offline

    Tango_

    I checked the plugin and can't find an API to work with it. What I can do is if a player gets a certain grade, it will run all commands listed in the O+ rewards, so it would basically automatically give them the points after they get their grade, just by command, I can add a placeholder for the players name. Would this be fine?
     
    Last edited: Sep 23, 2018
  23. Offline

    Assassin_sam

    Yep, that would be fine if you were to do that!
     
  24. Offline

    Tango_

    Ok, what is the command to add the points with that plugin?
     
  25. Offline

    Assassin_sam

    Hmm, it seams like I was wrong here is the Info directly from the wiki

    Players collect Spell Points by successful spell casts. "Successful" means different things to different spells, but generally you have to have a valid target.

    You can see your current SP amount in the number above the mana bar (normally XP level) while holding a wand.

    Players can right-click on an enchanting table to bring up the spell shop GUI, where they can redeem spell points for new spells.
    The plugin with the command was a old plugin for 1.7.10 which is no longer being updated so I cant use the plugin anymore! so this is the only way!
    because it has to do with the ench table maybe the points idea is a bad one unless you can find a way to do it?
     
  26. Offline

    Tango_

    I done some searching, I found the command: /mgive <NAME> sp 100
    Can you let me know if this works
     
    Last edited: Sep 24, 2018
  27. Offline

    Assassin_sam

    Sorry for the late reply but I can conform that /mgive <NAME> sp 100 works!
     
  28. Offline

    Tango_

    This is what I have so far, let me know what you want changed. I haven't had a lot of time to bug check, so its likely there is some bugs.
    Link: DOWNLOAD
     
  29. Offline

    Assassin_sam

    Ok, so it tried creating a class and it didn't seem to work, I am not sure if its the plugin or something to do with my server.
     
  30. Offline

    Tango_

    Did you do /class create <NAME>
    Then /class open <NAME>
    Then finally /class start <NAME> ???
     
Thread Status:
Not open for further replies.

Share This Page