Skip to content

Commit 99be6ba

Browse files
authored
Merge pull request #100 from TheNextLvl-net/copilot/fix-99
Complete Tweaks plugin documentation with commands, configuration, and server links
2 parents 67a7de8 + 895862a commit 99be6ba

File tree

5 files changed

+712
-2
lines changed

5 files changed

+712
-2
lines changed

content/docs/tweaks/commands.mdx

Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
---
2+
title: Command Permissions
3+
description: A complete list of all Tweaks commands and their required permissions
4+
---
5+
6+
# Command Permissions
7+
8+
This page contains a comprehensive list of all Tweaks commands, their usage, aliases, and required permissions.
9+
10+
## Environmental Commands
11+
12+
### Time Commands
13+
14+
| Command | Aliases | Description | Permission |
15+
|---------|---------|-------------|------------|
16+
| `/time add <time> [<world>]` | | Add N amount of ticks to the world time | tweaks.command.time.add |
17+
| `/time query [day/daytime/gametime] [<world>]` | | Query the time of a world | tweaks.command.time.query |
18+
| `/time set afternoon [<world>]` | | Set the time to afternoon (9000 ticks) | tweaks.command.time.afternoon |
19+
| `/time set day [<world>]` | `/day [<world>]` | Set the time to day (1000 ticks) | tweaks.command.time.day |
20+
| `/time set midnight [<world>]` | `/midnight [<world>]` | Set the time to midnight (18000 ticks) | tweaks.command.time.midnight |
21+
| `/time set morning [<world>]` | | Set the time to morning (0 ticks) | tweaks.command.time.morning |
22+
| `/time set night [<world>]` | `/night [<world>]` | Set the time to night (13000 ticks) | tweaks.command.time.night |
23+
| `/time set noon [<world>]` | `/noon [<world>]` | Set the time to noon (6000 ticks) | tweaks.command.time.noon |
24+
| `/time set sunrise [<world>]` | | Set the time to sunrise (23000 ticks) | tweaks.command.time.sunrise |
25+
| `/time set sunset [<world>]` | | Set the time to sunset (12000 ticks) | tweaks.command.time.sunset |
26+
27+
### Weather Commands
28+
29+
| Command | Aliases | Description | Permission |
30+
|---------|---------|-------------|------------|
31+
| `/weather clear` | `/sun` | Let the sun shine | tweaks.command.weather.sun |
32+
| `/weather rain` | `/rain` | Let it rain | tweaks.command.weather.rain |
33+
| `/weather thunder` | `/thunder` | Let it thunder | tweaks.command.weather.thunder |
34+
35+
**Permission pack:** `tweaks.commands.environmental` (grants all environmental permissions)
36+
37+
## Home Commands
38+
39+
| Command | Aliases | Description | Permission |
40+
|---------|---------|-------------|------------|
41+
| `/home [<name>]` | | Teleport to your home | tweaks.command.home |
42+
| `/homes` | | List all of your homes | tweaks.command.home |
43+
| `/set-home [<name>]` | `/sethome` | Set a home location | tweaks.command.home.set |
44+
| `/delete-home [<name>]` | `/delhome` | Delete a home location | tweaks.command.home.delete |
45+
46+
## Item Commands
47+
48+
| Command | Aliases | Description | Permission |
49+
|---------|---------|-------------|------------|
50+
| `/enchant <enchantment> [<level>]` | | Enchant your held item | tweaks.command.enchant |
51+
| `/head [player/url/value] [<value>]` | `/skull` | Get player heads or head information | tweaks.command.head |
52+
| `/item [item] (amount)` | `/i` | Give yourself an item | tweaks.command.item |
53+
| `/lore append <text>` | | Append a line to item lore | tweaks.command.lore |
54+
| `/lore clear` | | Clear the item lore | tweaks.command.lore |
55+
| `/lore prepend <text>` | | Prepend a line to item lore | tweaks.command.lore |
56+
| `/lore replace <text> <replacement>` | | Replace text in item lore | tweaks.command.lore |
57+
| `/lore set <text>` | | Set the item lore | tweaks.command.lore |
58+
| `/rename <name>` | | Change the display name of your item | tweaks.command.rename |
59+
| `/repair [all]` | | Repair your items | tweaks.command.repair |
60+
| `/unbreakable` | | Make your item unbreakable | tweaks.command.unbreakable |
61+
| `/unenchant <enchantment>` | | Remove an enchantment from your item | tweaks.command.unenchant |
62+
63+
**Permission pack:** `tweaks.commands.item` (grants all item permissions)
64+
65+
## Message Commands
66+
67+
| Command | Aliases | Description | Permission |
68+
|---------|---------|-------------|------------|
69+
| `/msg <player> <message>` | `/tell`, `/write`, `/t`, `/w` | Send a private message to a player | tweaks.command.msg |
70+
| `/reply <message>` | `/r` | Reply to the last received private message | tweaks.command.msg.reply |
71+
| `/msgtoggle` | `/togglemsg` | Toggle receiving private messages | tweaks.command.msg.toggle |
72+
73+
## Player Commands
74+
75+
| Command | Aliases | Description | Permission | Additional Permissions |
76+
|---------|---------|-------------|------------|----------------------|
77+
| `/back` | | Go back to your last position | tweaks.command.back | |
78+
| `/enderchest [<player>]` | `/ec` | Open your or another player's ender chest | tweaks.command.enderchest | tweaks.command.enderchest.others<br/>tweaks.command.enderchest.edit |
79+
| `/feed [<players>]` | | Satisfy your or another player's hunger | tweaks.command.feed | tweaks.command.feed.others |
80+
| `/fly [<players>]` | `/flight` | Toggle fly mode for yourself or others | tweaks.command.fly | tweaks.command.fly.others |
81+
| `/gamemode [gamemode] [<player>]` | `/gm` | Change your or another player's gamemode | tweaks.command.gamemode | tweaks.command.gamemode.others |
82+
| `/god [<targets>]` | `/invincible` | Toggle invulnerability for yourself or others | tweaks.command.god | tweaks.command.god.others |
83+
| `/hat` | | Equip your held item as a hat | tweaks.command.hat | |
84+
| `/heal [<targets>]` | | Heal yourself or others | tweaks.command.heal | tweaks.command.heal.others |
85+
| `/inventory [<player>]` | `/inv`, `/invsee` | View your or another player's inventory | tweaks.command.inventory | tweaks.command.inventory.edit |
86+
| `/offline-teleport <player> [<target>]` | `/offline-tp`, `/tpo` | Teleport offline players or yourself to them | tweaks.command.offline-tp | |
87+
| `/ping [<player>]` | `/latency`, `/ms` | Check your or another player's latency | tweaks.command.ping | tweaks.command.ping.others |
88+
| `/seen <player>` | `/find` | Get information about a player | tweaks.command.seen | |
89+
| `/speed <speed> [fly/sneak/walk] [<targets>]` | | Change movement speed | tweaks.command.speed | tweaks.command.speed.others |
90+
| `/speed reset [fly/sneak/walk] [<targets>]` | | Reset movement speed to default | tweaks.command.speed | tweaks.command.speed.others |
91+
| `/suicide` | | Take your own life | tweaks.command.suicide | |
92+
| `/trash` | `/dispose`, `/garbage` | Open disposal interface | tweaks.command.trash | |
93+
| `/vanish [<player>]` | `/v`, `/invisible` | Toggle vanish mode for yourself or others | tweaks.command.vanish | |
94+
95+
**Permission pack:** `tweaks.commands.player` (grants all player permissions)
96+
97+
## Server Commands
98+
99+
| Command | Aliases | Description | Permission |
100+
|---------|---------|-------------|------------|
101+
| `/broadcast <message>` | `/bc` | Broadcast a message to all players | tweaks.command.broadcast |
102+
| `/lobby` | `/hub`, `/l` | Connect to the lobby server | tweaks.command.lobby |
103+
| `/motd clear` | | Reset the server MOTD | tweaks.command.motd |
104+
| `/motd get` | | Get the current server MOTD | tweaks.command.motd |
105+
| `/motd replace <text> <replacement>` | | Replace text in the server MOTD | tweaks.command.motd |
106+
| `/motd set <motd>` | | Set the server MOTD | tweaks.command.motd |
107+
108+
**Permission pack:** `tweaks.commands.server` (grants all server permissions)
109+
110+
## Social Commands
111+
112+
<Callout type="info">
113+
Social commands do not require permissions by default. They provide configured server links to players.
114+
</Callout>
115+
116+
| Command | Aliases | Description |
117+
|---------|---------|-------------|
118+
| `/discord` | `/dc` | Get the server's Discord invite |
119+
| `/reddit` | | Get the server's Reddit link |
120+
| `/teamspeak` | `/teamspeak3`, `/ts`, `/ts3` | Get the server's TeamSpeak information |
121+
| `/website` | | Get the server's website URL |
122+
| `/x` | `/twitter` | Get the server's X (Twitter) profile |
123+
| `/youtube` | `/yt` | Get the server's YouTube channel |
124+
125+
## Spawn Commands
126+
127+
| Command | Aliases | Description | Permission |
128+
|---------|---------|-------------|------------|
129+
| `/spawn` | | Teleport to the server spawn | tweaks.command.spawn |
130+
| `/set-spawn [<position>] [<yaw>] <pitch> [<world>]` | `/setspawn` | Set the server spawn location | tweaks.command.setspawn |
131+
132+
## TPA Commands
133+
134+
| Command | Aliases | Description | Permission |
135+
|---------|---------|-------------|------------|
136+
| `/tpa <player>` | `/tpask` | Request to teleport to a player | tweaks.command.tpa |
137+
| `/tpaccept` | | Accept a teleport request | tweaks.command.tpa.accept |
138+
| `/tpadeny` | `/tpdeny` | Deny a teleport request | tweaks.command.tpa.deny |
139+
| `/tpahere <player>` | `/tphere` | Request a player to teleport to you | tweaks.command.tpa.here |
140+
| `/tpatoggle` | `/toggletpa` | Toggle receiving teleport requests | tweaks.command.tpa.toggle |
141+
142+
## Warp Commands
143+
144+
| Command | Aliases | Description | Permission |
145+
|---------|---------|-------------|------------|
146+
| `/warp <warp>` | | Teleport to a warp location | tweaks.command.warp |
147+
| `/warps` | | List all available warps | tweaks.command.warp |
148+
| `/set-warp <warp>` | `/setwarp` | Create a new warp location | tweaks.command.warp.set |
149+
| `/delete-warp <warp>` | `/delwarp` | Delete a warp location | tweaks.command.warp.delete |
150+
151+
## Workstation Commands
152+
153+
| Command | Aliases | Description | Permission |
154+
|---------|---------|-------------|------------|
155+
| `/anvil` | | Open a virtual anvil | tweaks.command.anvil |
156+
| `/cartography-table` | `/cartography` | Open a virtual cartography table | tweaks.command.cartography-table |
157+
| `/enchanting-table` | `/enchanting` | Open a virtual enchanting table | tweaks.command.enchanting-table |
158+
| `/grindstone` | | Open a virtual grindstone | tweaks.command.grindstone |
159+
| `/loom` | | Open a virtual loom | tweaks.command.loom |
160+
| `/smithing-table` | `/smithing` | Open a virtual smithing table | tweaks.command.smithing-table |
161+
| `/stonecutter` | | Open a virtual stonecutter | tweaks.command.stonecutter |
162+
| `/workbench` | `/wb` | Open a virtual crafting table | tweaks.command.workbench |
163+
164+
**Permission pack:** `tweaks.commands.workstation` (grants all workstation permissions)
165+
166+
## Special Permissions
167+
168+
### Teleportation
169+
170+
- `tweaks.teleport.cooldown.bypass` - Bypass teleportation cooldowns
171+
172+
### Chat Management
173+
174+
- `tweaks.chat.delete` - See chat deletion buttons
175+
- `tweaks.chat.delete.own` - Delete your own chat messages
176+
177+
### Chat Hierarchy
178+
179+
Configure chat deletion hierarchy with:
180+
- `meta.chat-delete-weight.<weight>` - Set chat deletion weight (higher can delete lower)
181+
182+
## Admin Permissions
183+
184+
For server administrators, these permission packs grant broad access:
185+
186+
- `tweaks.commands.environmental` - All environmental commands
187+
- `tweaks.commands.item` - All item manipulation commands
188+
- `tweaks.commands.player` - All player management commands
189+
- `tweaks.commands.server` - All server administration commands
190+
- `tweaks.commands.workstation` - All virtual workstation commands

0 commit comments

Comments
 (0)