Skip to content

Commands

sachin edited this page Dec 13, 2021 · 15 revisions

Commands

This page shows all commands and their detailed description

Note for argument usability

[]: Mandetory (): Optional

Overview


  • /cosmetics

    • Description: Opens cosmetic gui Aliases for this command are configurable in config.yml
    • Permission: cosmin.command.cosmetics
  • /cosmin reload

    • Description: Reloads all config files
    • Permission: cosmin.command.reload
  • /cosmin view

    • Description: Opens specified player's cosmetic gui, target player should be online
    • Args:
      • [player_name]: the name of player whose gui has to be opened
    • Permission: cosmin.command.view
    • Example: /cosmin view sachingorkar
  • /cosmin clear

    • Description: Clears player data of specified player from player-data.json and MySQL(if connected), player should be online
    • Args:
      • [player_name]: the name of player whose data will be clear
    • Permission: cosmin.command.clear
    • Example: /cosmin clear sachingorkar
  • /cosmin equip

    • Description: Equips the given item at specified slot and specified player, player should be online
    • Args:
      • [slot_type]: the fake armor slot where the item goes
      • [item_name]: internal name of item,the item should be a cosmin item
      • [player_name]: player name whose equipment will be altered
      • (forceequip) true/false: weather or not to set the item as forced item,if set to true player will not able to remove/clear this item until /dequip is called or player has cosmin.forceequip.remove permission
    • Permission: cosmin.command.equip
    • Example: /cosmin equip HEAD Red-Helmet sachingorkar true true
  • /cosmin dequip

    • Description: Dequips fake armor of the specified player, player should be online
    • Args:
      • [slot_type]: the fake armor slot where the item goes
      • [player_name]: player name whose equipment will be altered
    • Permission: cosmin.command.dequip
    • Example: /cosmin dequip HEAD sachingorkar
  • /cosmin help

    • Description: Displays list of all commands present in cosmin
    • Permission: cosmin.command.help
  • /cosmin buy

    • Description: Buys a item/set for the specified player
    • Args:
      • [player_name]: name of player
      • [item_name]: name of item/set to be purchased
      • (take-money): true/false, weather or not to withdraw the cost of item from player's balance
    • Permission: cosmin.command.buy
  • /cosmin take

    • Description: Takes a already purchased item from player
    • Args:
      • [player_name]: name of player
      • [item_name]: name of item/set to be taken
    • Permission: cosmin.command.take
  • /cosmin generate

    • Description: generates a resource pack according to files present in plugins/Cosmin/textures folder and items created in plugins/Cosmin/items folder check out the Tutorial for more info
    • Args:
      • [pack-name]: name of resource pack
      • (should-zip): true/false, weather or not to zip the resource pack (default to false)
    • Permission: cosmin.command.generate
  • /cosmin openwardrobe

    • Description: opens wardrobe gui directly for specified player
    • Args:
      • [slot]: name of slot to open the wardrobe for, valid options [head,chest,legs,feet,offhand,set]
      • [player-name]: name of the player
    • Permission: cosmin.command.openwardrobe
  • /cosmin openstore

    • Description: opens store gui directly for specified player
    • Args:
      • [slot]: name of slot to open the store for, valid options [head,chest,legs,feet,offhand,set]
      • [player-name]: name of the player
    • Permission: cosmin.command.openstore

Non Command Permissions

  • cosmin.equip.nonmodelitems

    • Description:
      • players WITHOUT this permission can only fake equip armor if it has custom_model_data nbt on it
      • players WITH this permission can equip any armor of any kind which dosn't require custom_model_data nbt on it
  • cosmin.hidearmor

    • Description: player with this permission can hide there orignal armor completely with air to take all slots into account use cosmin.hidearmor.*, for individual slots use cosmin.hidearmor[slotname] eg. cosmin.hidearmorhead,cosmin.hidearmorchest...
  • cosmin.realarmor

    • Description: player with this permission can see other players original armor
  • cosmin.cosmeticset

    • Description: player with this permission can see and use cosmetic set button
  • cosmin.forceequip.remove

    • Description: player with this permission can remove/clear forced items equiped via /cosmin equip
  • cosmin.deathdrops.bypass

    • Description: player with this permission will not drop there items present in cosmetic slots