Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmaxymoo committed Mar 8, 2022
2 parents 560455f + b6a54b5 commit 2e20f2c
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# Alias Show Text

todo
A Spigot plugin to allow commands.yml aliases to show text to the user.
This can be used to make basic custom commands!

## Installation

Grab the latest jar file from the releases section and place it in your plugins folder!

While this plugin has only been tested on 1.18, it should work on most earlier versions as well as future.

## Usage

AliasShowText is used entirely in the `commands.yml` file.
Simply use the `_showtext` command under an alias, and all text after will be displayed to the user.
For example, the following creates a command `/discord` that gives the user the URL of the Discord server:

```yaml
aliases:
discord:
- '_showtext Discord server: https://discord.gg/minecraft'
```
Of course, `_showtext` supports [standard Minecraft formatting codes](https://minecraft.fandom.com/wiki/Formatting_codes).

## To-Do

* Support for storing text strings in a seperate file
* Allow server operator to reload strings at runtime
* Allow text strings to support arguments
* Support for special text functions
* Support for special cases (ex: joining the server)

0 comments on commit 2e20f2c

Please sign in to comment.