Frequently Asked Questions - yapzhenyie/GadgetsMenu GitHub Wiki

Frequently Asked Questions


Theses’re the common questions asked by players. If you still have issue after looking for it, you can join our Discord server.

GadgetsMenu FAQs

  1. Why is GadgetsMenu not working for me?
  2. Why are Morphs not working?
  3. Why player doesn’t get menu selector on join?
  4. How can I enable MySQL database?
  5. Player had purchased a cosmetic item or gain from mystery boxes but they still can’t use that item?
  6. How can I change the mystery dust storage?
  7. How to create a Mystery Vault?
  8. How to remove a Mystery Vault?
  9. How to give a player Mystery Boxes?
  10. How to give a player random quality Mystery Boxes?
  11. How to give a player mystery gifts?
  12. Why non-op players cannot open the Mystery Vault?
  13. Why are the players unable to open Mystery Boxes?
  14. Why do players get Mystery Boxes randomly?

Q: Why is GadgetsMenu not working for me?

  • If you received this message You don't have permission to do that in this world!.
  • What you need to do is just to setup the worlds in which you want to enable GadgetsMenu.
  • Look for Enabled-Worlds in config.yml

Q: Why are Morphs not working?

Q: Why player doesn’t get menu selector on join?

  • Players are required a permission to get menu selector. gadgetsmenu.menuselector

Q: How can I enable MySQL database?

Player-Data:
  Storage: mysql <-- set to 'mysql'
  MySQL:
    hostname: localhost
    username: root
    database: minecraft
    port: '3306'
    password: ''
  • Set the storage to mysql and setup MySQL infos.

Q: How can I use placeholders in xxx plugin?

  • PlaceholderAPI plugin is required before you can use GadgetsMenu placeholders. Make sure the plugin you’re using is supported PlaceholderAPI and has enabled PlaceholderAPI usage.
  • Here is the list of Placeholders

Q: Player had purchased a cosmetic item or gain from mystery boxes but they still can’t use that item?

  • GadgetsMenu Free version does not save unlocked cosmetic items in it’s database. It only runs a command to add permission to that particular player. In order to do that, you need to change the command according to your server permission plugin.
  • If you’re using premium version, you will not face this issue and you may ignore the solution below.
  • There are two files you need to make the changes. (config.yml & mystery boxes.yml)
1) Cosmetic-Item-Purchase:(Can be found in 'config.yml' file)
     # This is the command when player purchase cosmetic items.
     # This command is depends on your permission plugin.
     Execute-Command: pex user {PLAYER} add {PERMISSION}

2) Mystery-Boxes: (Can be found in 'mystery boxes.yml' file)
     Execute-Command: pex user {PLAYER} add {PERMISSION}
  • For GroupManager: manuaddp {PLAYER} {PERMISSION}
  • For PermissionsEx: pex user {PLAYER} add {PERMISSION}
  • For PowerfulPerms: pp user {PLAYER} add {PERMISSION}
  • For LuckPerms: lp user {PLAYER} permission set {PERMISSION}
  • For CloudNet permissions: cperms user {PLAYER} add permission {PERMISSION}
  • For PowerRanks: pr addplayerperm {PLAYER} {PERMISSION}

Q: How can I change the mystery dust storage?

  • Look for Mystery-Dust-Storage in config.yml file. Set the storage you would like to use.
Cosmetic-Item-Purchase:
  # Set the storage where do you want to save mystery dust.
  # Available storages: 'file', 'mysql', 'coinsapi', 'playerpoints', 'vault'.
  Mystery-Dust-Storage: file
Link: CoinsAPI, PlayerPoints, Vault

Q: How to create a Mystery Vault?

  • Look at a block that you want be a Mystery Vault and run this command.

Command: /gmysteryboxes mode add-vault <name>

Q: How to remove a Mystery Vault?

  • Look at the block that you have created as a vault and run this command.

Command: /gmysteryboxes mode remove-vault [vaultName|r={radius}]

Q: How to give a player Mystery Boxes?

  • Quality: between 1 to 5.
  • Expiry Date: h for hours, d for days, m for months, false for no expired date.
  • Require Permission: true or false. Set to true will required for permission to open mystery box.

/gmysteryboxes give <player> <amount> [quality] [ex=7h|d|m|false] [reqperm=false]

Q: How to give a player random quality Mystery Boxes?

  • Syntax: c:(<quality>:<chances>)

The quality of the box following by the chances to get it. Note that you must fill up all the quality which is 1 to 5. Missing any of it will causing error. /gmysteryboxes give <player> <amount> c:(1:40,2:30,3:25,4:15,5:10)

Q: How to give a player mystery gifts?

  • Each pack contains 5 mystery boxes.

/gmysteryboxes gift <player> <pack>

Q: Why non-op players cannot open the Mystery Vault?

  • Set spawn-protection to 0 in your server.properties file.

Q: Why are the players unable to open Mystery Boxes?

  • Situation 1: Player does not have the permission to open that box. Permissions
  • Situation 2: Player does not have the permission to use the mystery vault animation they have selected. Permissions

Q: Why do players get Mystery Boxes randomly?

  • There’s a mystery box reward system which give player mystery boxes each hour by default.
  • You can find this in mystery boxes.yml file.
Mystery-Boxes-Reward:
  Enabled: true
  # Chances that a player will gain a Mystery Box when achieve certain play time.
  Chance-To-Get-Mystery-Box: 60
  # What quality of Mystery Box the player will get.
  Chance:
    One-Star: 5
    Two-Star: 10
    Three-Star: 60
    Four-Star: 20
    Five-Star: 5
  # How long the Mystery Box will expired?
  Expiry-Date-In-Days: 7
  Play-Time:
    Hours: 0
    Minutes: 60
    Seconds: 0
  # Which world you want player's play time to be count.
  Enabled-Worlds:
  - '*'
  Message:
    One-Star: '&fYou found a &e✰&7✰✰✰✰ &fMystery Box!'
    Two-Star: '&fYou found a &e✰✰&7✰✰✰ &fMystery Box!'
    Three-Star: '&fYou found a &e✰✰✰&7✰✰ &fMystery Box!'
    Four-Star: '&fYou found a &e✰✰✰✰&7✰ &fMystery Box!'
    Five-Star: '&fYou found a &e✰✰✰✰✰ &fMystery Box!'

(Back to Top)

⚠️ **GitHub.com Fallback** ⚠️