Jump to content

Feedback and requests regarding the plugin.

Fixed v4.7.10 v4.8.62

DeutscherRitterPlatz
DeutscherRitterPlatz

Posted (edited)

Improvement Proposal: Extended Configuration and Permission Options
 

1. Sort Bases by Difficulty
Currently, all bases are simply listed one after another in the configuration file.
For better organization, it would make sense to group or sort them by difficulty level.

2. Enable/Disable Difficulty Buttons
It should be possible to configure whether certain difficulty buttons are displayed at all.
Example Config Option:

"DifficultyActivate": true

Alternatively, this could also be controlled via permissions (see below).

3. Permissions for Difficulty Levels
It would be useful to define for each difficulty level whether a permission is required.
If the config setting "RequiresDifficultyPermission" is set to true and a player does not have the required permission, the corresponding button should not be displayed.
Example Config Option:

"RequiresDifficultyPermission": false

Example Permissions:
 

raidselector.easy
raidselector.medium
raidselector.hard
raidselector.expert
raidselector.nightmare

4. Permissions for Buy Buttons
Optional permissions could also be added for the “Buy” buttons.
If a player does not have the required permission, the button would appear grayed out.
Whether these permissions are required should also be configurable.
Example Config Option:
 

"RequiresBuyRandomPermission": false,
"RequiresBuyPersonalPermission": false

Example Permissions:
 

raidselector.buyraidpersonal
raidselector.buyraidrandom

Example New Config:

{
  "ChatCommand": "rs",
  "RequiresOxidePermission": false,
  "BaseDifficulties": {
    "Easy": {
      "DifficultyActivate": true,
      "RequiresDifficultyPermission": false,
      "Permission": "raidselector.easy",
      "Bases": {
        "RBEasy001": {
          "DisplayName": "",
          "Description": "",
          "Credit": "",
          "ImageUrl": "",
          "NotBuyable": false
        }
      }
    },
    "Medium": {
      "DifficultyActivate": true,
      "RequiresDifficultyPermission": false,
      "Permission": "raidselector.medium",
      "Bases": {
        "RBMedium001": {
          "DisplayName": "",
          "Description": "",
          "Credit": "",
          "ImageUrl": "",
          "NotBuyable": false
        }
      }
    },
    "Hard": {
      "DifficultyActivate": true,
      "RequiresDifficultyPermission": false,
      "Permission": "raidselector.hard",
      "Bases": {
        "RBHard001": {
          "DisplayName": "",
          "Description": "",
          "Credit": "",
          "ImageUrl": "",
          "NotBuyable": false
        }
      }
    },
    "Expert": {
      "DifficultyActivate": false,
      "RequiresDifficultyPermission": false,
      "Permission": "raidselector.expert",
      "Bases": {
        "RBExpert001": {
          "DisplayName": "",
          "Description": "",
          "Credit": "",
          "ImageUrl": "",
          "NotBuyable": false
        }
      }
    },
    "Nightmare": {
      "DifficultyActivate": false,
      "RequiresDifficultyPermission": false,
      "Permission": "raidselector.nightmare",
      "Bases": {
        "RBNightmare001": {
          "DisplayName": "",
          "Description": "",
          "Credit": "",
          "ImageUrl": "",
          "NotBuyable": false
        }
      }
    }
  },

  "BuyButtonPermissions": {
    "RequiresBuyRandomPermission": false,
    "RequiresBuyPersonalPermission": false,
    "BuyPersonalPermission": "raidselector.buyraidpersonal",
    "BuyRandomPermission": "raidselector.buyraidrandom"
  },

  "Images": {
    "EnableOfflineMode": false,
    "LocalImagePrefix": "RaidSelector",
    "ImageCacheTimeout": 300
  },

  "Colors": {
    "ModalBackground": "0.05 0.1 0.2 0.98",
    "PanelBackground": "0.08 0.15 0.3 0.95",
    "TitleBarBackground": "0.1 0.2 0.4 1.0",
    "TooltipBackground": "0.05 0.1 0.2 0.95",
    "LeftPanelBackground": "0.05 0.1 0.25 0.95",
    "MiddlePanelBackground": "0.08 0.15 0.3 0.95",
    "RightPanelBackground": "0.05 0.12 0.25 0.95",
    "BasePanelActiveBackground": "0.15 0.45 0.85 1.0",
    "BasePanelInactiveBackground": "0.1 0.3 0.7 0.8",
    "InputFieldBackground": "0.1 0.2 0.4 0.9",
    "ProgressBarBackground": "0.1 0.2 0.3 0.8",
    "ProgressBarFill": "0.2 0.7 0.2 0.9",
    "TableHeaderBackground": "0.1 0.2 0.4 0.9",
    "TableRowEven": "0.1 0.2 0.3 0.5",
    "TableRowOdd": "0.08 0.15 0.25 0.5",
    "ButtonBackground": "0.2 0.4 0.8 0.9",
    "SelectedButtonBackground": "0.15 0.45 0.85 1.0",
    "BuyButtonBackground": "0.2 0.7 0.2 0.9",
    "CloseButtonBackground": "0.8 0.2 0.2 0.9",
    "RandomButtonBackground": "0.2 0.6 0.2 0.9",
    "XButtonBackground": "0.8 0.2 0.2 0.9",
    "PurchaseButtonBackground": "0.2 0.6 0.2 0.9",
    "DifficultyButtonActiveBackground": "0.2 0.5 0.9 1.0",
    "DifficultyButtonInactiveBackground": "0.1 0.3 0.7 0.8",
    "HeaderTextColor": "1 1 1 1",
    "TextColor": "1 1 1 1",
    "TitleBarText": "1 1 1 1",
    "TableHeaderText": "1 1 1 1",
    "XButtonText": "1 1 1 1",
    "CloseButtonText": "1 1 1 1",
    "PurchaseButtonText": "1 1 1 1",
    "DifficultyButtonText": "1 1 1 1",
    "BasePanelNameText": "1 1 1 1",
    "BasePanelDescText": "0.9 0.9 0.9 1",
    "RightPanelHeaderText": "1 1 1 1",
    "RightPanelDescText": "0.9 0.9 0.9 1",
    "DividerColor": "0.3 0.5 0.8 0.8",
    "BaseImageFallback": "0.2 0.4 0.7 0.8",
    "ScrollbarHandleColor": "0.6 0.6 0.6 0.8",
    "ScrollbarHighlightColor": "0.6 0.6 0.6 0.8",
    "ScrollbarPressedColor": "0.6 0.6 0.6 0.8",
    "ScrollbarTrackColor": "0.2 0.2 0.2 0.3"
  }
}

Maybe you'll find these ideas interesting, they could help make the plugin even more customizable for specific players or server concepts.
Thanks for the awesome plugin and the quick fix,  it’s working perfectly again! 😉

Edited by DeutscherRitterPlatz
Hiro Of Canton

Posted

Changed Status from Pending to Work in Progress

Hiro Of Canton

Posted

Looking at implementing the permissions system for now and that'll be released in the 4.8.x build once I finish cleanup.  The grouping of the bases is a bigger refactor that I'll put in the future queue.

  • Love 1
Hiro Of Canton

Posted

4.8 release is out with the new permissions system.  I'm hoping I've tested every possibility of permissions combinations but let me know if you find anything that doesn't work as expected.  Thanks again for your support!

Hiro Of Canton

Posted

Changed Status from Work in Progress to Fixed

Changed Fixed In to v4.8.62

2m

Downloads

Total number of downloads.

9.6k

Customers

Total customers served.

139.3k

Files Sold

Total number of files sold.

2.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.