Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated discord dependencies and added Minecraft library and some documentation #11

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

smuddgge
Copy link

I kinda got carried away with changes so don't worry if you rather not merge!
Let me know if you would like any features, I love making Minecraft plugins :D

Changes:

- Added git ignore for intelliJ
- Updated dependencies.
- Added some documentation.
- Moved events to a different class.
- Added Minecraft library (Cozy-Library) for easy tab completion.
- Added tab completion for make green command.
- Changed join and leave to colour coded embeds (Though it look cooler, feel free to change).
- Added some console warnings to discord bridge.
- Updated to new discord username system (Discord has now removed the # part of the username).

If you have multiple servers with a proxy, I have a velocity plugin called leaf if you want to check it out, very customisable and has discord webhook support! So could change over to leaf for join leave events ect 馃槑

Copy link
Member

@CarrotManMatt CarrotManMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files that I have viewed look good

Copy link
Member

@Thatsmusic99 Thatsmusic99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! Thank you for taking the time to work on this PR :D really sorry for the delay in getting back, I was only just tasked recently with checking the plugin and ensuring it's still good for use.

A lot of this looks brilliant, but I did have some concerns with adding Cozy-Library - I know you did work on it, but for the sake of maintenance, I'm not a big fan of relying on external libraries unless it's for a specific function that can't already be done with the standard API. Whilst the command API is a lot more convenient, it may be better suited for larger plugins that manage a lot of commands than a smaller one that just has a single command. We're also not very familiar with your library, so it'd become a bit more difficult for us to maintain than if we were more familiar with the normal Spigot/Paper API. (Hence the million library mods on Curseforge)

Other committee members may disagree with me so don't take my word as gospel, but that's just my two cents!

Comment on lines +91 to +126

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>14</source>
<target>14</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>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, how come this was moved to the bottom? It may seem a bit nitpicky, but I'm genuinely curious since I've often seen these above dependencies/repositories!

Copy link

@olijeffers0n olijeffers0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm with Holly here. The plugin library doesn't really seem to improve the code quality which would be what I would look for. For example with the command - it just replaces the Spigot boilerplate with different boilerplate.

Also, it is generally convention to name utility classes with Util rather than Utility.

Finally, I would generally avoid using legacy colour codes at all costs. Whether you just use ChatColor or you use Adventure Components it's up to you, but legacy colour codes decrease readability a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants