Skip to content

Commit d5e33eb

Browse files
Fix /tgive tachyon command
1 parent 77b24a6 commit d5e33eb

File tree

2 files changed

+75
-4
lines changed

2 files changed

+75
-4
lines changed

src/main/java/me/eccentric_nz/TARDIS/commands/give/TARDISGiveCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ private void giveTachyon(CommandSender sender, String player, String amount) {
437437
OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(player);
438438
if (offlinePlayer.getName() != null) {
439439
UUID uuid = offlinePlayer.getUniqueId();
440-
plugin.getServer().dispatchCommand(sender, "vmg " + uuid + " " + amount);
440+
plugin.getServer().dispatchCommand(sender, "vm give " + uuid + " " + amount);
441441
} else {
442442
plugin.getMessenger().send(sender, TardisModule.TARDIS, "PLAYER_NOT_FOUND");
443443
}

src/main/resources/plugin.yml

+74-3
Original file line numberDiff line numberDiff line change
@@ -1102,15 +1102,86 @@ commands:
11021102
tardisdev:
11031103
aliases: tdev
11041104
description: Commands used by eccentric_nz to help with coding and documenting the TARDIS plugin.
1105+
usage: /<command> [subcommand] [options]...
11051106
permission: tardis.admin
11061107
permission-message: You don't have the permission <permission> to use this command
1107-
usage: /<command> [add_regions|advancements|chunky|list|plurals|stats|tree|snapshot|displayitem|frame] [preset_perms|perms|recipes|blueprints|commands|block_colours] [html|all]
1108+
add_regions:
1109+
description: Add missing WorldGuard regions for Bedrock players.
1110+
usage: /<command> add_regions
1111+
advancements:
1112+
description: Checks whether a TARDIS advancement is valid.
1113+
usage: /<command> advancements [advancement]
1114+
biome:
1115+
description: Get the biome the player is looking at.
1116+
usage: /<command> biome
1117+
list:
1118+
description: Lists various options to aid documentation - possible listings are: preset_perms, perms, recipes, blueprints, commands.
1119+
usage: /<command> list [which] [html|all]
1120+
stats:
1121+
description: Display ARS room counts.
1122+
usage: /<command> stats
1123+
tree:
1124+
description: Grows a Huge Fungus Tree on the block the player is targeting. If no further arguments are specified, random blocks are used to grow the tree. You can also specify a block for the stem, hat and decor.
1125+
usage: /<command> tree [stem] [hat] [decor]
1126+
plurals:
1127+
description: Displays a list of block and item names in plural form.
1128+
usage: /<command> plurals
1129+
chunky:
1130+
description: Pre-generates chunks using the Chunky plugin
1131+
usage: /<command> chunky [world]
1132+
snapshot:
1133+
description: Creates a TARDIS Monitor map snapshot. Using the c arguments clears the player's inventory of filled maps. Use in or out to determine which view (interior/exterior) to capture.
1134+
usage: /<command> snapshot [in|out|c]
1135+
frame:
1136+
description: Lock and unlock TARDIS item frames.
1137+
usage: /<command> frame [lock|unlock]
1138+
brushable:
1139+
description: Adds a suspicious sand block to the player's inventory.
1140+
usage: /<command> brushable
1141+
box:
1142+
description: Set the state of the armour stand police box between open/closed/stained/glass/flying.
1143+
usage: /<command> box [open|closed|stained|glass|flying]
1144+
nms:
1145+
description: Spawn a custom NMS monster.
1146+
usage: /<command> nms [monster]
1147+
circuit:
1148+
description: Give a player a random used TARDIS circuit.
1149+
usage: /<command> circuit
1150+
tis:
1151+
description: Checks and lists TARDIS Information System entries.
1152+
usage: /<command> tis
1153+
displayitem:
1154+
description: Various commands to test Item Display custom blocks and lights - sub-commands are: add, remove, place, break, convert, chunk
11081155
tardisgive:
11091156
aliases: tgive
1110-
description: Give TARDIS items, Artron energy, Seed blocks, kits, knowledge books, recipe discoveries or mushroom blocks to a player.
1157+
description: Give TARDIS items, Artron energy, Seed blocks, kits, knowledge books, or recipe discoveries to a player.
11111158
permission: tardis.admin
11121159
permission-message: You don't have the permission <permission> to use this command
1113-
usage: /<command> [player] [item|artron|kit|seed|knowledge|recipe|mushroom] [amount|recipe|...]
1160+
usage: /<command> [player] [subcommand] [options]...
1161+
item:
1162+
description: Gives TARDIS item(s) to a player.
1163+
usage: /<command> [player] item [amount]
1164+
artron:
1165+
description: Gives a player's TARDIS Artron energy.
1166+
usage: /<command> [player] artron [full|empty|amount]
1167+
tachyon:
1168+
description: Give Tachyon energy to a player's Vortex Manipulator.
1169+
usage: /<command> [player] artron [full|empty|amount]
1170+
kit:
1171+
description: Gives a TARDIS kit to a player. Kits can be configured in kits.yml
1172+
usage: /<command> [player] kit [kit]
1173+
seed:
1174+
description: Gives a TARDIS Seed block to a player.
1175+
usage: /<command> [player] seed [tardis type] [wall black] [floor block]
1176+
knowledge:
1177+
description: Grants knowledge of a TARDIS crafting recipe to a player.
1178+
usage: /<command> [player] knowledge [recipe|all]
1179+
recipes:
1180+
description: Grants a TARDIS recipe to a player.
1181+
usage: /<command> [player] recipe [recipe|all]
1182+
blueprint:
1183+
description: Gives a TARDIS Blueprint Disk to a player.
1184+
usage: /<command> [player] artron [full|empty|amount]
11141185
tardissudo:
11151186
aliases: tsudo
11161187
description: Used by TARDIS admins to run commands as another Time Lord or fix players' TARDISes.

0 commit comments

Comments
 (0)