1
0
Fork 0
mirror of synced 2026-12-06 18:52:25 +00:00
No description
Find a file
Parker Wahle a58a563968
remove
2021-12-16 18:45:26 -05:00
.github bad artifact 2021-12-16 18:23:26 -05:00
src/main working 2021-12-16 18:17:06 -05:00
.gitattributes Initial commit 2021-12-15 16:16:09 -05:00
.gitignore remove 2021-12-16 18:45:26 -05:00
LICENSE Initial commit 2021-12-15 16:16:09 -05:00
pom.xml everything short of commands 2021-12-16 09:06:25 -05:00
README.md Core class finished (untested) 2021-12-15 19:31:45 -05:00

DemoChat

A simple chat plugin that features different channels.

Channels

By default, 4 channels are included in config.yml.

  • global: Messages get sent to anyone, anywhere, in any world, on the server.
  • shout: Messages get sent to anyone in the same world as you.
  • local: Messages get sent to anyone within a 20 block radius.
  • whisper: Messages get sent to anyone within a 3 block radius.

Development

DemoChat features minimal public methods and events, of which you can access using the maven repository.

Insert the following snippets into your POM.xml.

For the repository:


<repositories>
    ...
    <repository>
        <id>github</id>
        <name>GitHub Packages</name>
        <url>https://maven.pkg.github.com/regulad/DemoChat</url>
    </repository>
    ...
</repositories>

For the dependency:


<dependencies>
    ...
    <dependency>
        <groupId>xyz.regulad</groupId>
        <artifactId>demochat</artifactId>
        <version>{version}</version>
        <scope>provided</scope>
    </dependency>
    ...
</dependencies>

Replace {version} with the current version. You can see the current version below. Don't include the "v".

Current Version