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

add testing/op commands #5

Merged
merged 15 commits into from May 13, 2022
Merged

add testing/op commands #5

merged 15 commits into from May 13, 2022

Conversation

M0rica
Copy link
Owner

@M0rica M0rica commented May 13, 2022

This PR adds commands for testing purposes/server operators to manipulate varoius variables.

Commands/subcommands added:

  • /spell terminate <id>: terminates the spell with given ID
  • /spell kill <id>: kills the spell with given ID (skips terminate event)
  • /mage <player> <mana/manaMaximum/manaRegeneration> <set/get/add/remove> <amount>: change the according value by the given amount or get the current value
  • /removemage <player>: remove the player executing this command or the given player (requires op) from being a mage
  • /addmage <player>: add the player executing this command or the given player (requires op) as a mage
    In addition to that, /spell cast now displays a message in chat with the id of the spell cast to use with the new terminate and kill options.

@M0rica M0rica merged commit 5c6098d into main May 13, 2022
@M0rica M0rica linked an issue May 13, 2022 that may be closed by this pull request
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.

Add commands for testing purposes/server operators
1 participant