1. Introduction
The Player module let you have player related commands like
/feed or /heal.
2. Setup
config.yml file.modules:
player: true
3. Dependencies
If you want to enable cooldowns on /feed or /heal
commands,
Vault and a permission plugin are needed. We recommand
to use LuckPerms but it should work with all
permissions plugins that are detected by Vault.
This is because we use permission group to detect the permissions.
4. Configuration
| KEY | Default value | Description |
|---|---|---|
| commands.feed | true | Enable the /feed command |
| commands.heal | true | Enable the /heal command |
| commands.craft | true | Enable the /craft command |
| commands.enderchest | true | Enable the /enderchest
and /ec commands |
| commands.fly | true | Enable the /fly
|
| commands.flyspeed | true | Enable the /flyspeed
|
| commands.speed | true | Enable the /speed
|
Cooldowns:
| KEY | Default value | Description |
|---|---|---|
| cooldown.feed | 30 | the time before you can reuse the /feed command |
| cooldown.heal | 30 | the time before you can reuse the /heal command |
Bypass:
| KEY | Default value | Description |
|---|---|---|
| cooldown-bypass.feed | 30 | the allowed permissions groups to reuse /feed
command without cooldown. |
| cooldown-bypass.heal | 30 | the allowed permissions groups to reuse /heal
command without cooldown. |
Miscellaneous:
| KEY | Default value | Description |
|---|---|---|
| override-config | false | If set to true, this module's config will be reset on each reload. |
5. Permissions
This section is currently being written...
6. Commands
| KEY | permission | Description |
|---|---|---|
/heal |
everyone | Heal yourself. |
/heal * |
OP | heal all the online players. |
/heal [player] |
OP | heal a specific player. |
/feed |
everyone | Feed yourself. |
/feed * |
OP | Feed all the online players. |
/feed [player] |
OP | Feed a specific player. |
/craft |
OP | open a crafting table. |
/enderchest or /ec |
OP | open your enderchest. |
/enderchest [player] |
OP | open the enderchest of a specific player. |
The other commands will come soon.
7. useful informations
This section is currently being written...