Skip to content

Commit

Permalink
Hello, GitHub!
Browse files Browse the repository at this point in the history
  • Loading branch information
beanbeanjuice committed Feb 17, 2024
1 parent 480c194 commit 9d500e2
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Fixes # (issue)
## Checklist

- [ ] This pull request has been linked to the appropriate issue on GitHub. (Use the development section on the right.)
- [ ] The code follows the style [guidelines](https://github.com/beanbeanjuice/SpigotPluginTemplate/blob/master/CONTRIBUTING.md).
- [ ] The code follows the style [guidelines](https://github.com/Plyblox-Network/ProxyChat/blob/master/CONTRIBUTING.md).
- [ ] A self-review of the code was performed on GitHub.
- [ ] Appropriate comments and javadocs were added in your code.
- [ ] Appropriate changes have been made to the documentation.
Expand All @@ -49,4 +49,4 @@ Fixes # (issue)
- [ ] New and existing Maven CI tests have passed.
- [ ] The pull request is properly merging into the correct branch.
- [ ] All existing local code has been pushed to the GitHub repository.
- [ ] Changes have been documented in the current draft [SpigotPluginTemplate Releases](https://github.com/beanbeanjuice/SpigotPluginTemplate/releases) update.
- [ ] Changes have been documented in the current draft [ProxyChat Releases](https://github.com/Plyblox-Network/ProxyChat/releases) update.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-maven-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
java-version: '17'
distribution: 'openjdk'
cache: maven
- name: Build and Test with Maven
run: mvn test
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Please note we have a code of conduct, please follow it in all your interactions

## Branching

Now, make sure you are forking off of/branching off of the `integration` branch located [here](https://github.com/beanbeanjuice/SpigotPluginTemplate/tree/integration). This allows new and upcoming changes to be pushed to a "working" directory rather than straight to the main, production directory. For example, this is how you may contribute.
Now, make sure you are forking off of/branching off of the `integration` branch located [here](https://github.com/Plyblox-Network/ProxyChat/tree/integration). This allows new and upcoming changes to be pushed to a "working" directory rather than straight to the main, production directory. For example, this is how you may contribute.

Create a fork of the repository, and run the following commands in git CLI.

Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SpigotPluginTemplate
# ProxyChat

A default template for Spigot plugins.
A simple plugin to send chat messages to other servers on the network.

Java Version
> JDK 17
69 changes: 69 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.plyblox</groupId>
<artifactId>ProxyChat</artifactId>
<version>0.0.0</version>
<packaging>jar</packaging>

<name>ProxyChat</name>

<description>A simple plugin to send chat messages between servers.</description>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<defaultGoal>clean package</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>

<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.20-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
17 changes: 17 additions & 0 deletions src/main/java/com/plyblox/proxychat/ProxyChat.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.plyblox.proxychat;

import net.md_5.bungee.api.plugin.Plugin;

public final class ProxyChat extends Plugin {

@Override
public void onEnable() {
// Plugin startup logic
}

@Override
public void onDisable() {
// Plugin shutdown logic
}

}
6 changes: 6 additions & 0 deletions src/main/resources/bungee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: ProxyChat
version: '${project.version}'
main: com.plyblox.proxychat.ProxyChat
softdepend: [PlaceholderAPI]
author: beanbeanjuice
description: A simple plugin to send chat messages between servers.

0 comments on commit 9d500e2

Please sign in to comment.