Skip to content

Commit

Permalink
Add perms and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ElementalMP4 committed Jan 5, 2024
1 parent f4c19a6 commit 0529009
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# PaperUtils

Lightweight commands to make a vanilla paper server a bit more friendly, without the need for enormous and complicated plugins and APIs

# Commands

All permissions are granted by default, but can be customised if required. Using a plugin such as LuckPerms is recommended for this.

## Homes

**Permission** `sebutils.homes`

| Command | Aliases | Description |
|----------|-----|-----------------------------------------|
| /home | /h | Takes you to your home location |
| /sethome | /sh | Sets your home to your current location |
| /delhome | /dh | Deletes your home |

## Teleportation

**Permission** `sebutils.tpa`

| Command | Aliases | Description |
|-----------|---------|---------------------------------------|
| /tpa | none | Ask to teleport to another player |
| /tpahere | none | Ask to teleport another player to you |
| /tpaccept | none | Accept a teleport request |
| /tpdeny | none | Deny a teleport request |

## Chat Customisation

**Permission** `sebutils.nicknames`

| Command | Aliases | Description |
|-------------|---------|--------------------------|
| /namecolour | /nc | Set your nickname colour |
| /nickname | /nick | Set your chat nickname |
19 changes: 19 additions & 0 deletions src/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,60 @@ version: '1.0.0'
main: main.java.elementalmp4.SebUtils
description: Useful stuff, brought to you by Seb
prefix: SebUtils
permissions:
sebutils.tpa:
description: "Allows players to use the tpa, tpahere, tpaccept and tpdeny commands"
default: true
sebutils.homes:
description: "Allows players to use the home, sethome and delhome commands"
default: true
sebutils.nicknames:
description: "Allows players to use the nickname and namecolour commands"
default: true
commands:
sethome:
description: "Sets your home to the current location"
usage: "/sethome"
permission: "sebutils.homes"
aliases:
- "sh"
home:
description: "Takes you to your home"
usage: "/home"
permission: "sebutils.homes"
aliases:
- "h"
delhome:
description: "Deletes your home"
usage: "/delhome"
permission: "sebutils.homes"
aliases:
- "dh"
tpa:
description: "Ask to teleport to another player"
usage: "/tpa playername"
permission: "sebutils.tpa"
tpahere:
description: "Ask to teleport another player to you"
usage: "/tpahere playername"
permission: "sebutils.tpa"
tpaccept:
description: "Let another player teleport to you"
usage: "/tpaccept"
permission: "sebutils.tpa"
tpdeny:
description: "Do not allow another user to teleport to you"
usage: "/tpdeny"
permission: "sebutils.tpa"
namecolour:
description: "Set your name colour"
usage: "/namecolour colour"
permission: "sebutils.nicknames"
aliases:
- "nc"
nickname:
description: "Set a nickname"
usage: "/nickname name"
permission: "sebutils.nicknames"
aliases:
- "nick"

0 comments on commit 0529009

Please sign in to comment.