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

feat: Allow setting individual experience rates #11

Merged
merged 6 commits into from
Apr 15, 2022
Merged

feat: Allow setting individual experience rates #11

merged 6 commits into from
Apr 15, 2022

Conversation

Nyeriah
Copy link
Member

@Nyeriah Nyeriah commented Apr 7, 2022

  • Implement a command to allow players to choose their experience rates
  • Implement a setting to specify the max allowed rates they may set
  • Implement a setting to enable the event permanently for debugging purposes
  • Implemented setting to restrict bonus to quests only
  • Lots of refactoring and code improvements

@Annamaria-CC
Copy link
Member

Annamaria-CC commented Apr 8, 2022

Tested: No work -> changing .weekendxp rate 1 to .weekendxp rate 2 did not effect killing creatures. It only affected quests.

Suggestion: Let the command .weekendxp rate show the maximum rate people can select if possible.


# XPWeekend.Announce
# 	Annnounces to the player that the module is enabled even if its not the weekend.
# default: 1 = true 
#

XPWeekend.Announce = 0

# XPWeekend.Enabled
#	Enable or Disable the module.
#default: 1 = enable
#

XPWeekend.Enabled = 1

# XPWeekend.xpAmount
#	Allows the config file to set the amount of times xp is given
# default = 2 (double)
#
XPWeekend.xpAmount = 2

# XPWeekend.IndividualXPEnabled
#     Allows players to set their own XP rates during the weekend through the weekendxp rates command.
#     Default: 0 (Disabled)

XPWeekend.IndividualXPEnabled = 1

# XPWeekend.MaxAllowedRate
#     Max allowed rates players may set while using the weekendxp rates command.
#     Default: 2
#

XPWeekend.MaxAllowedRate = 2

# XPWeekend.AlwaysEnabled
#     Forces the weekend xp bonus event to always be enabled regardless of the day. Use this for debugging.
#     Default: 0 (Disabled)
#

XPWeekend.AlwaysEnabled = 1

# XPWeekend.QuestOnly
#     Restricts the experience bonus to quest rewards only.
#     Default: 0 (Disabled, both creatures and quests are affected)
#

XPWeekend.QuestOnly = 0

@Nyeriah Nyeriah merged commit a1fec24 into master Apr 15, 2022
@Nyeriah Nyeriah deleted the revamp branch April 15, 2022 02:50
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.

2 participants