TheSilentPro / HeadDB

Provides over 50k heads
GNU General Public License v3.0
22 stars 21 forks source link

How can i give all the hdb permissions to non op players? #42

Closed Bil1Gamer closed 1 year ago

Bil1Gamer commented 1 year ago

I'm making a server just for me and my friends on PloudOs and I wanted to leave the permissions to open and get the custom heads for decors and etc. btw, I'll be leaving the config.yml here:

How often the database should be updated in seconds.

refresh: 86400

If local heads should be enabled.

Local heads are heads from players that have joined your server at least once.

localHeads: true

If enabled categories will require a permission to be used.

Permission: headdb.category.

requireCategoryPermission: false

Economy Options

economy: enable: false provider: "VAULT" # Supported: VAULT format: "##.##" cost: alphabet: 100 animals: 100 blocks: 100 decoration: 100 food-drinks: 100 humans: 100 humanoid: 100 miscellaneous: 100 monsters: 100 plants: 100

Command Configuration. Supports PlaceholderAPI.

commands:

Commands to run ONLY if the purchase is successful.

They are run as CONSOLE after the player has receiver the head in their inventory.

purchase:

Graphical User Interface customization

gui: main: fill: material: "BLACK_STAINED_GLASS_PANE" name: "Vago" lore: [.]

Categories are set in the slots 20-24 & 29 - 33. You can add specific ones here to relocate them.

# Note: that the slots start from 0
category:
  alphabet: 20
  animals: 21
  blocks: 22
  decoration: 23
  food-drinks: 24
  humans: 29
  humanoid: 30
  miscellaneous: 31
  monsters: 32
  plants: 33
meta:
  favorites:
    slot: 39
    item:
      material: "BOOK"
      name: "&6Favorites"
      lore:
        - "&7Click to view your favorite heads."
  search:
    slot: 40
    item:
      material: "DARK_OAK_SIGN"
      name: "&6Search"
      lore:
        - "&7Click to search for a specific head."
  local:
    slot: 41
    item:
      material: "COMPASS"
      name: "&6Local Heads"
      lore:
        - "&7Click to view Local heads."

If the original fetching fails and this is enabled,

the plugin will attempt to fetch the heads from an archive.

The archive is static so some heads may be missing, this will only be used when all else fails.

fallback: true

Shows more plugin information. (/hdb info)

showAdvancedPluginInfo: true

Storage Options

storage:

Amount of threads in the executor pool used for storage.

threads: 2

Debug Mode

debug: false

TheSilentPro commented 1 year ago

you can see permissions on this site, click here