Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Accounts & Class Selection GUI #961

Open
goflishMC opened this issue Nov 2, 2024 · 0 comments
Open

[Enhancement] Accounts & Class Selection GUI #961

goflishMC opened this issue Nov 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@goflishMC
Copy link
Contributor

goflishMC commented Nov 2, 2024

Move the accounts section of the config into a GUI.

I'd like to also streamline the /class profess selection GUI into this account menu.

  • Everyone would belong to 1 account by default and have 1 class by default within that account (this could be modified with permissions)

Accounts:

  • Permission to control how many accounts a player can have. (already a feature)
  • Permission to control how many individually leveled classes within 1 account a player can have.

Selecting accounts and classes would be handled within the GUI.

Inventory Saving
When changing accounts and classes we need to store the player's inventory and armor per account/class.

  • When the player selects their account/class their inventory/armor would be restored

Other

  • fill empty slots in the GUI with lore
  • account slot represented with material id and lore
    • support custom model data for account selection
  • add an option to open the gui on login
  • add an option to warp the player to a certain location/world/server on login
    • This should support cross server teleporting
    • After selecting the account/class the player should be teleported back to their location in the world they logged out of
  • A new command to open the account selection GUI
    • /class acc open
  • A new permission for the /class acc open command

This should probably be part of /class customize

Steps for joining groups

  1. Login to the server
  2. Teleport to location if set
  3. Show GUI with account selection
  4. Select account
  5. Select priority 1 group (if no group has been joined, then you would see the available class groups you can join)
  6. Select priority 2 group (if no group has been joined, then you would see the available class groups you can join)
  7. After last group is selected teleport the player back to the location from last LogOut

Steps 5 and 6 will require a new setting in groups.yml called priority

Priority 1 class is the highest priority and would be the first group to show when going through the steps above.

Class Groups: Groups are created within groups.yml. In the editor you would create a race like, Dwarf. Dwarf would be a class group of race in groups.yml

Sub Classes Explained

  1. Create a group called "class"
  2. Create a class called Fighter
  3. Create a class called Champion and set fighter as the parent
  4. Create a class called Eldritch Knight and set fighter as the parent

When you are going through the steps for joining groups above, IF the class you select has sub classes AND those sub classes would be chosen at level 1, then after selecting the Fighter class, you would be presented with your sub class options.

IF the sub classes are chosen at "levels > 1" then you wouldn't select them during the initial account and class selection GUI.

If there are sub-classes that can be joined as the class levels up, provide a message in chat that they can upgrade their class, make this message configurable in the language file.

In /class customize you are able to set where you want skills to show up for each group individually.

However, when you are setting up the menu for joining groups all groups have to be put into the same menu.

Example, if my class group has 12 classes and my race group has 12 races, then I have to put both groups into the same menu.

I want this setup so that each group gets it's own GUI for customizing the GUI layout that you'll see when you are going through the account and class selection process.

@goflishMC goflishMC added the enhancement New feature or request label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants