Skip to content

Commit 4e7bf2c

Browse files
authored
Merge pull request #24 from Varilx-Development/feat/crawl-command-1.21.8
Feat/crawl command 1.21.8
2 parents b672f96 + 07a221f commit 4e7bf2c

12 files changed

Lines changed: 753 additions & 24 deletions

File tree

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ Players can sit using commands or by interacting with various blocks.
3333

3434
- Sit by using `/sit` or clicking on stairs, carpets, and slabs
3535
- Sit on other players
36+
- **Crawl mode**: Use `/crawl` command to enter crawling mode with swimming pose
37+
- Empty hand requirement option for sitting and crawling
38+
- Prevent shift-click sitting on players
39+
- Eject players by crouching while sitting on them
40+
- **Auto-stop crawling**: Automatically stop crawling on jump, sneak, damage, or vertical movement (configurable)
3641
- Full language customization via [MiniMessage](https://docs.advntr.dev/minimessage/format.html)
3742
- Permissions support
3843
- Easily reload config with `/vsit reload`
@@ -44,16 +49,34 @@ Players can sit using commands or by interacting with various blocks.
4449
| Permission | Description |
4550
|------------------|--------------------------------------|
4651
| `vsit.sit` | Allows the user to sit |
52+
| `vsit.crawl` | Allows the user to crawl |
53+
| `vsit.crawl.toggle` | Allows players to use the `/crawl toggle` command |
4754
| `vsit.reload` | Allows reloading the plugin config |
4855

4956
---
5057

5158
## 🎮 How to Use
5259

60+
### Sitting
5361
You can sit by:
5462

5563
- Using the `/sit` command
5664
- Right-clicking supported blocks (stairs, carpets, slabs)
65+
- Right-clicking on other players (if not shift-clicking)
66+
67+
### Crawling
68+
- Use `/crawl` command to enter/exit crawling mode
69+
- **Swimming pose**: Players will appear in a swimming position while crawling
70+
- **Auto-stop**: Crawling automatically stops on jump, sneak, damage, or vertical movement (configurable)
71+
- **Empty hand requirement**: If enabled in config, you must have an empty main hand to crawl
72+
73+
### Commands
74+
- `/sit` - Sit on the block below you
75+
- `/crawl` - Enter/exit crawling mode
76+
- `/crawl toggle` - Enable/disable crawling for yourself
77+
- `/crawl stop` - Stop crawling (alternative to `/crawl`)
78+
- `/vsit reload` - Reload the plugin configuration (admin only)
79+
5780

5881
### 🖼️ Preview
5982

@@ -71,18 +94,33 @@ You can sit by:
7194
language: "en"
7295

7396
enabled: true
74-
7597
players:
7698
enabled: true
99+
require-empty-hand: false
100+
blocked-worlds:
101+
- "SOME_CUSTOM_DISABLED_WORLD"
77102

78103
blocks:
79104
enabled: true
105+
require-empty-hand: false
80106
right-click: true
81107
left-click: false
108+
blocked-worlds:
109+
- "DISABLED_WORLD"
82110
blocks:
83111
- STAIR
84112
- CARPET
85113
- SLAB
114+
115+
crawl:
116+
enabled: true
117+
require-empty-hand: false
118+
blocked-worlds:
119+
- "SOME_CUSTOM_DISABLED_WORLD"
120+
stop-on-jump: true
121+
stop-on-sneak: true
122+
stop-on-damage: true
123+
stop-on-vertical-movement: true
86124
```
87125
88126
### language.yml

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
project_version = 1.0.8
2-
paper_version = 1.21.5-R0.1-SNAPSHOT
1+
project_version = 1.0.9
2+
paper_version = 1.21.8-R0.1-SNAPSHOT

0 commit comments

Comments
 (0)