Multiplier not working for users with permission node from config file. #5


Open
  • matsola created this issue Oct 21, 2021

    Hi, thx for making this plugin, it looks awesome.

    What i want to do is to make my premium members have double xp only.

    Using paper 1.17.1

     

    I have setup a premium group via luckperms, and it works for me since i have all permisions as admin, but when i assign a premium group to a user it doesnt work. I have added this permissions to usergroup :

     

    doubleurexp.allow

    doubleurexp.multiplier.2

     

    What i am doing wrong?

     

    My config file is:

    # Welcome to Durexp Config File
    # Here you will find the default config settings feel free to change them to suit your liking! :)
    # If you have any problems please create a ticket:
    # http://dev.bukkit.org/bukkit-plugins/double-your-experience/tickets/
    #     #
    # AutoUpdate: True
    #     # true = automatically update this plugin when a new version is released.
    #     # false = ignore updates
    # Enable: true
    #     # true = enable plugin
    #     # false = disable plugin
    #     # in-game command:
    #     # /durexp toggle
    # Multiplier: 2.0
    #     # This will allow you to set a server wide Multiplier
    #     # This number is ignored if EnablePermMultiplier = true
    # EnablePermMultiplier: false
    #     # true = Instead of one server-wide-"Multiplier",
    #     # there will be a different "Multiplier" for each permission node that you create.
    #     # Give this permission node to a player or a group: (max = 10.0)
    #     # doubleurexp.multiplier.<number>
    # DaysToEnable:
    #     # This is a list of the days that are enabled, 
    #     # shown is the different ways you can write the date, 
    #     # the plugin will detect them all!!!
    # CheckForSpawner: true
    #     # Enables/disables the check for mob spawners.
    #     # true = check for nearby mob spawners before giving bonus experience.
    #     # false = do not check for nearby mob spawners: just give out bonus xp.
    # CheckRadius: 40
    #     # The radius that the plugin will check if the "CheckForSpawner" option is enabled, 
    #     # could be used to prevent mass farming. <---We don't want that now!
    #     # The radius that the plugin will check if the "CheckForSpawner" option is enabled, 
    #     # could be used to prevent mass farming. <---We don't want that now!
    # DaysToEnable:
    #     # This is a list of the days that are enabled, 
    #     # shown is the different ways you can write the date, 
    #     # the plugin will detect them all!!!
    # CheckForSpawner: true
    #     # Enables/disables the check for mob spawners.
    #     # true = check for nearby mob spawners before giving bonus experience.
    #     # false = do not check for nearby mob spawners: just give out bonus xp.
    # CheckRadius: 40
    AutoUpdate: true
    Enable: true
    Multiplier: 2.0
    EnablePermMultiplier: true
    DaysToEnable:
    - Monday
    - tuesday
    - wed
    - thursday
    - frida
    - sat
    - SundAy
    CheckForSpawner: true
    CheckRadius: 40
    

     

     

     

     

     

  • matsola edited description Oct 21, 2021

To post a comment, please login or register a new account.