# Commands

## 🚀 New!

| Command                                          | Permission           | Description                                                                                                        |
| ------------------------------------------------ | -------------------- | ------------------------------------------------------------------------------------------------------------------ |
| /kit givekit \<kit> \[player\|\*]                | sporecore.kits.admin | Give someone or everyone a kit.                                                                                    |
| /sudo \<player> \<command\|message>              | sporecore.sudo       | Let someone say something in chat or let them run a command. You can use chat: to let someoene send a chat message |
| /give \[player\|\*] \[Enchant\| & level] \[name] | sporecore.give       | Give an item to someone or a player.                                                                               |
| /edititem \<subcommand>                          | sporecore.itemeditor | Edit it an item. Checkout the Spigot or Modrinth page to view more info about this!                                |

## ⚔️ Kits

You can disable the kits feature in the `config.yml`

<table><thead><tr><th width="283.818115234375">Command</th><th width="203.5455322265625">Permission</th><th>Description</th></tr></thead><tbody><tr><td>/kit</td><td>sporecore.kits</td><td>Main command</td></tr><tr><td>/kit [kitName]</td><td>^^^^</td><td>Open the kit menu or claim a kit</td></tr><tr><td>/kit create &#x3C;kitName></td><td>sporecore.kits.admin</td><td>Create a new kit</td></tr><tr><td>/kit delete &#x3C;kitName></td><td>^^^^</td><td>Delete a kit</td></tr><tr><td>/kit permission set &#x3C;kitName> &#x3C;premission></td><td>^^^^</td><td>Set the permission for a kit</td></tr><tr><td>/kit premission get &#x3C;kitName></td><td>^^^^</td><td>Get the permission of a kit</td></tr><tr><td>/kit premission clear &#x3C;kitName></td><td>^^^^</td><td>Clear the permission for a kit</td></tr><tr><td>/kit setdisplayitem &#x3C;kitName> [material]</td><td>^^^^</td><td>Set the display item in the menu. The item will be the item you are holding or the item you provided.</td></tr><tr><td>/kit setcooldown &#x3C;kitName> &#x3C;time></td><td>^^^^</td><td>Set the cooldown for a kit. You  can use s, m, h, d. That means you can use 5m as 5 minutes. If you don't want a cooldown anymore set it to 0s</td></tr><tr><td>/kit setitems &#x3C;kitName></td><td>^^^^</td><td>Overides the kit with your current inventory</td></tr><tr><td>/kit reload</td><td>sporecore.admin</td><td>Reloads the kits</td></tr></tbody></table>

## 🏠 Homes

You can disable the homes feature in the `config.yml`

| Command                              | Permission      | Description                               |
| ------------------------------------ | --------------- | ----------------------------------------- |
| /sethome\|createhome \<name>         | N/A.            | Create a new home                         |
| /delhome\|deletehome \<name>         | N/A             | Delete a home                             |
| /home \[name]                        | N/A             | Teleport to a home or open the homes menu |
| /home delete \<name>                 | N/A             | Delete a home                             |
| /home admin goto \<player> \<home>   | sporecore.admin | Teleport to a home for a different player |
| /home admin delete \<player> \<home> | sporecore.admin | Delete a players home                     |

## 📍 Warps

You can disable the warps feature in the `config.yml`&#x20;

| Command                                    | Permission                | Description                               |
| ------------------------------------------ | ------------------------- | ----------------------------------------- |
| /warp\|warps                               | N/A                       | Main command                              |
| /warp \[name]                              | N/A                       | Teleport to a warp or open the warps menu |
| /warp create \<name>                       | sporecore.warp.create     | Create a new warp                         |
| /warp delete \<name>                       | sporecore.warp.delete     | Delete a warp                             |
| /warp permission set \<warp> \<permission> | sporecore.warp.permission | Set the permission for a warp             |
| /warp permission get \<warp>               | sporecore.warp.permission | Get the permission for a warp             |
| /warp permission clear \<warp>             | sporecore.warp.clear      | Clear the permission for a warp           |
| /warp reload                               | sporecore.admin           | Reload the warp                           |

## 💵 Currency

You can disable the currency feature in the `config.yml`

The main command alias is the singular and plural currency name in lowercase. If your currency is called Gem (singular) and Gems (plural) that means your command would be /gems and /gem. In the following commands we will use credits.

| Command                                       | Permission                    | Description                                                                 |
| --------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------- |
| /credits                                      | sporecore.currency.get        | Get your current balance                                                    |
| /credits \<player>                            | sporecore.currency.get.others | Get the balance of a different player                                       |
| /credits  set \<player> \<amount> \<reason>   | sporecore.currency.admin      | Sets the balance for a player                                               |
| /credits get \<player>                        | sporecore.currency.get.others | Gets the balance of a diffrent player                                       |
| /credits add \<player> \<amount> \<reason>    | sporecore.currency.admin      | Add credits to a player                                                     |
| /credits topbought \[monthly]                 | sporecore.currency.topbought  | Gets the top bought package in total or from the last month                 |
| /credits topspent \[monthly]                  | sporecore.currency.topspent   | Gets the player who spent the most of credits in the last month or in total |
| /credits logs\|transactions \<player> \[page] | sporecore.currency.admin      | Gets the logs from a player                                                 |
| /credits top                                  | sporecore.currency.top        | Gets the top 10 players with the highest amount of credits                  |
| /credits remove \<player> \<amount> \<reason> | sporecore.currency.remove     | Remove credit from a player  balance                                        |
| /credits shop                                 | N/A                           | Opens the creditshop                                                        |
| /creditshop                                   | N/A                           | Opens the creditshop                                                        |

## 💬 Other Commands

Commands that are red can be toggled in the `config.yml`

<table><thead><tr><th width="227.18182373046875">Command</th><th width="193.6363525390625">Permission</th><th>Description</th></tr></thead><tbody><tr><td>/adventure|gma [player|*]</td><td>sporecore.gamemode.adventure</td><td>Sets yours or someone elses gamemode to adventure. Use * to set everyone their gamemode. <br><br>Setting someone elses gamemode requires the sporecore.gamemode.others permission</td></tr><tr><td>/creative|gmc [player|*]</td><td>sporecore.gamemode.creative</td><td>Sets yours or someone elses gamemode to creative. Use * to set everyone their gamemode. <br><br>Setting someone elses gamemode requires the sporecore.gamemode.others permission</td></tr><tr><td>/survival|gms [player|*]</td><td>sporecore.gamemode.survival</td><td>Sets yours or someone elses gamemode to survival. Use * to set everyone their gamemode. <br><br>Setting someone elses gamemode requires the sporecore.gamemode.others permission</td></tr><tr><td>/spectator|gmsp [player|*]</td><td>sporecore.gamemode.spectator</td><td>Sets yours or someone elses gamemode to spectator. Use * to set everyone their gamemode. <br><br>Setting someone elses gamemode requires the sporecore.gamemode.others permission</td></tr><tr><td>/gamemode &#x3C;gamemode> [player|*]</td><td>sporeocre.gamemode.[gamemode]</td><td>Sets yours or someone elses gamemode. Use * to set everyone their gamemode. <br><br>Setting someone elses gamemode requires the sporecore.gamemode.others permission</td></tr><tr><td><mark style="color:red;">/msg|whisper|pm|tell &#x3C;player> &#x3C;message></mark></td><td>N/A</td><td>Private message someone. </td></tr><tr><td><mark style="color:red;">/r &#x3C;message></mark></td><td>N/A</td><td>Reply to someone</td></tr><tr><td><mark style="color:red;">/setspawn</mark></td><td>sporecore.spawn.set</td><td>Set the spawn</td></tr><tr><td><mark style="color:red;">/spawn</mark></td><td>N/A</td><td>Go to the spawn</td></tr><tr><td><mark style="color:red;">/tpa</mark></td><td>N/A</td><td>Request to teleport to someone</td></tr><tr><td><mark style="color:red;">/tpahere</mark></td><td>N/A</td><td>Request someone to teleport to you</td></tr><tr><td><mark style="color:red;">/tpaaccept</mark></td><td>N/A</td><td>Accept a teleport request</td></tr><tr><td>/tpall</td><td>sporecore.teleport.all</td><td>Teleport everyone to you</td></tr><tr><td>/tpcoords &#x3C;cords></td><td>sporecore.teleport.coordinates</td><td>Teleport to coordinates</td></tr><tr><td>/tphere &#x3C;player></td><td>sporecore.teleport.others</td><td>Teleport a player to you</td></tr><tr><td>/tp &#x3C;player|coords> &#x3C;player></td><td>sporecore.teleport</td><td>Teleport to a player, location and teleport a player to another player</td></tr><tr><td><mark style="color:red;">/anvil,  /cartographytable,  /enchantmenttable, /grindstone, /loom, /smithingtable, /stonecutter, /craft</mark></td><td>sporecore.utility.[menu]<br><br>menus:<br>anvil<br>cartography<br>enchantmenttable<br>grindstone<br>loom<br>smithingtable<br>stonecutter<br>workbench</td><td>Open a utility menu<br><br>You can open a utility menu for a different player with the sporecore.utility.others permission</td></tr><tr><td>/back</td><td>sporecore.back</td><td>Teleport to your last location</td></tr><tr><td>/clearinv|ci|clear [player|*]</td><td>N/A</td><td>Clear your inventory. If you want to clear someone elses inventory you need to have the sporecore.clear.others permission. You can user * to clear everyone their inventory</td></tr><tr><td>/sporecore|core</td><td>N/A</td><td>Main command</td></tr><tr><td>/sporecore reload</td><td>sporecore.admin</td><td>Reload the plugin</td></tr><tr><td>/sporecore version</td><td>N/A</td><td>View the plugin version</td></tr><tr><td>/sporecore info</td><td>N/A</td><td>View info about the plugin</td></tr><tr><td>/sporecore user get &#x3C;player> &#x3C;value></td><td>sporecore.admin</td><td>Get a user value. </td></tr><tr><td>/sporecore dumpdb</td><td>sporecore.admin</td><td>Generates a new file with the current .db file into a readable .json file. <br><br><mark style="color:red;"><strong>THIS DOES NOT RESET OR REMOVE YOUR DATABASE</strong></mark></td></tr><tr><td>/sporecore user set &#x3C;player> &#x3C;field> &#x3C;value></td><td>sporecore.admin</td><td>Sets a user field</td></tr><tr><td>/sporecore user info &#x3C;player></td><td>sporecore.admin</td><td>View all the user data for a specific player</td></tr><tr><td>/feed [player|*]</td><td>sporecore.feed</td><td>Feed yourself or someone else.<br><br>You need the sporecore.feed.others permission to feed other players. You can use * to feed everyone.</td></tr><tr><td>/fly [player|*] [status]</td><td>sporecore.fly</td><td>Toggle your fly.<br><br>You need the sporecore.fly.others permission to toggle the fly for other players. You can use * to toggle the fly for everyone.</td></tr><tr><td>/god [player|*]</td><td>sporecore.god</td><td>Toggle your godmode<br><br>You need the sporecore.god.others permission to toggle godmode for other players. You can use * to toggle godmode everyone.</td></tr><tr><td>/heal [player|*]</td><td>sporecore.heal</td><td>Heal yourself<br><br>You need the sporecore.heal.others permission to heal other players. You can use * to heal everyone.</td></tr><tr><td>/ptime [time]</td><td>sporecore.ptime</td><td>Sets your personal time</td></tr><tr><td>/pweather [weather]</td><td>sporecore.pweather</td><td>Sets your personal weather</td></tr><tr><td>/reboot [time]</td><td>sporecore.reboot</td><td>Reboot the server. You can user s, m, h, d format.</td></tr><tr><td>/reboot cancel</td><td>sporecore.reboot</td><td>Cancel a reboot</td></tr><tr><td>/repairall [player|*]</td><td>sporecore.repairall</td><td>Repair all the items in your inventory.<br><br>You need the sporecore.repairall.others permission to repair other players their inventory. You can use * to repair everyone their inventory</td></tr><tr><td>/repair [player|*]</td><td>sporecore.repair</td><td>Repair the item you are currently holding.<br><br>You need the sporecore.repair.others permission to repair other players their item. You can use * to repair everyone their item</td></tr><tr><td>/settings</td><td>N/A</td><td>Open the settings menus</td></tr><tr><td>/speed [amount|reset|*] [player]</td><td>sporecore.speed</td><td>Set your speed or reset it.<br><br>You need the sporecore.speed.others permission to set the speed for other players. You can use * to set the speed for everyone.</td></tr><tr><td>/stats [player]</td><td>N/A</td><td>View your stats. You can view other players their stats with the sporecore.stats.others</td></tr><tr><td>/trash [player]</td><td>sporecore.trash</td><td>Open the disposal menu for yourself or other players!<br><br>Setting someone elses gamemode requires the sporecore.trash.others</td></tr><tr><td>/cc [set] [player] [code]</td><td>sporecore.chat.color</td><td>Open the chat color menu or set someones else their chatcolor</td></tr><tr><td>/broadcast &#x3C;message|predefined|></td><td>sporecore.broadcast</td><td>Announce a message in chat!</td></tr></tbody></table>
