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

ACF Command rework - Done! #610

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

ACF Command rework - Done! #610

wants to merge 29 commits into from

Conversation

benwoo1110
Copy link
Member

@benwoo1110 benwoo1110 commented Dec 28, 2020

This PR reworks Multiverse-Portals commands to complement the changes from Multiverse/Multiverse-Core#2514.

Command Changes:

  • /mvp config list instead of /mvp config show to be consistent with the rest of the modules.
  • No longer need -p flag for mvp modify <property> <value> [portal] command.

API Changes:

  • Changed PortalConfigProperty to a class instead, so each property can have its value datatype defined as well. Similar to bukkit's GameRule class.
  • Remove some redundant SetProperties enum alias.
  • Add setHereDestination to MVPortal class.
  • setDestination in MVPortal overload to set portal desination with MVDestination directly.

You can get the test builds at https://www.benergy10.dev/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant