Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 38cc25b

Browse files
committed
Rebase (December 2020)
0 parents  commit 38cc25b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+8586
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Bug report
3+
about: Report a problem, issue or a bug.
4+
title: 'Minecraft Version: Issue Title'
5+
labels: issue
6+
assignees: ''
7+
8+
---
9+
10+
<!---
11+
To report a problem or a bug with this plugin, please follow the three steps below:
12+
13+
1) Put your Minecraft version in the title.
14+
Example: 1.16.1: Getting NullPointerException error
15+
16+
2) Be clear: What is your current situation, the desired situation, and your problem?
17+
Example: I want my chat to be formatted in vanilla but not the creative world. My current situation is it is being formatted everywhere. I made sure not to use reload and haven't found any console errors. What I am doing wrong?
18+
19+
3) If needed - upload your plugin's folder here and any errors using pastebin.com.
20+
How to upload your folder?
21+
a) Right-click the folder and follow the instructions below. For macOS right-click and select "Compress": https://i.imgur.com/4YhCSjD.gif
22+
b) Then simply drag and drop the ZIP file into the issue field: https://i.imgur.com/DG1OAGh.gif
23+
24+
Thank you. Please remove this text and write your actual issue below.
25+
-->

.github/ISSUE_TEMPLATE/question.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Question
3+
about: Ask a question about the plugin.
4+
title: 'Minecraft Version: Your Question Title'
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
<!---
11+
To ask us anything, please follow these directions:
12+
13+
1) Please include your Minecraft version in your title:
14+
Example: 1.16.1: How to setup the menus?
15+
16+
2) Try to keep it simple and clear, providing us all information necessary to answer your question. You can use imgur.com to upload images or pastebin.com to upload large text or error traces.
17+
18+
Thank you. Please remove this text and write your actual question below.
19+
-->

.github/ISSUE_TEMPLATE/suggestion.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Improvement
3+
about: Suggest a new idea or a feature.
4+
title: 'Your Suggestion Title'
5+
labels: improvement
6+
assignees: ''
7+
8+
---
9+
10+
<!---
11+
Notice: Some of the best ideas and features we added were thanks to your suggestions. However, as an extremely small team we're focusing on stability and performance of our software first before adding new features. As such, we're currently very limited to taking in new features.
12+
13+
If you still believe your feature should be added, you're welcome to suggest it and answer those questions in your description:
14+
15+
1) How it would benefit others? (Not just you, but 1,000s of others people using the same plugin.)
16+
17+
2) What would happen if we won't implement this feature? How's your server being affected?
18+
19+
3) If suggesting something new - Can the old system be modified/improved instead?
20+
21+
Thank you. Please remove this text and write your actual suggestion below.
22+
-->

.gitignore

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
#################
2+
## IDEA
3+
#################
4+
5+
# User-specific stuff
6+
.idea/
7+
.idea_modules/
8+
*.iml
9+
10+
# IntelliJ
11+
out/
12+
13+
target/
14+
15+
#################
16+
## Eclipse
17+
#################
18+
19+
*.pydevproject
20+
.project
21+
.metadata
22+
bin/
23+
tmp/
24+
*.tmp
25+
*.bak
26+
*.swp
27+
*~.nib
28+
local.properties
29+
.classpath
30+
.settings/
31+
.loadpath
32+
.apt_generated/
33+
.apt_generated_tests/
34+
35+
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
36+
!/.mvn/wrapper/maven-wrapper.jar
37+
38+
# External tool builders
39+
.externalToolBuilders/
40+
41+
# Locally stored "Eclipse launch configurations"
42+
*.launch
43+
44+
# CDT-specific
45+
.cproject
46+
47+
# PDT-specific
48+
.buildpath
49+
50+
# Builder
51+
builder.xml
52+
build.xml
53+
54+
#############
55+
## Windows detritus
56+
#############
57+
58+
# Windows image file caches
59+
Thumbs.db
60+
ehthumbs.db
61+
62+
# Folder config file
63+
Desktop.ini
64+
65+
# Recycle Bin used on file shares
66+
$RECYCLE.BIN/
67+
68+
# Mac crap
69+
.DS_Store
70+
REBASE.bat

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Thank You for Using ChatControl!
2+
3+
### > Please spend 5 minutes on the [Wiki](https://github.com/kangarko/ChatControl-Pro/wiki) before posting an issue :)
4+
5+
### > Use CTRL + F and the search function.
6+
7+
### > Have patience. This is a single-man team and sometimes life happens so it may take few days to get back to you.
8+
9+
# What We Need to Know
10+
11+
1. **Any errors or stack traces.**
12+
2. **Steps to reproduce.**
13+
3. **Your server version.**
14+
4. Sections from your config files that you changed and believe cause the issue. **If unsure, ZIP the entire ChatControl/ folder and upload it directly to the answer window.**
15+
5. **Any other plugins that can interfere?** DeluxeChat/EssentialsChat/FactionsChat etc.?
16+
17+
````
18+
Upload (the effective part of the) affected file(s) on pastebin.com
19+
````
20+
21+
# When Posting
22+
Take 3 minutes to read this quick [Issue Guide](https://github.com/kangarko/ChatControl-Pro/wiki/Getting-Help-the-Right-Way), because it will provide you all necessary information regarding sending issues and asking questions the right way.

LICENSE.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
_In short, you can use ChatControl and modify its sources to your likings as long as these are private changes made for your network or server or public contributions to ChatControl's repository. You cannot copy and paste ChatControl its parts and republish it, such as as a premium plugin._
2+
3+
This End-User License Agreement ("EULA") is a legal agreement between you and MineAcademy to use ChatControl.
4+
5+
This EULA agreement governs your acquisition and use of our ChatControl software ("Software") directly from MineAcademy.
6+
7+
Please read this EULA agreement carefully before completing the installation process and using the ChatControl software. It provides a license to use the ChatControl software and contains warranty information and liability disclaimers.
8+
9+
By installing and/or using the ChatControl software, you are confirming your acceptance of the Software and agreeing to become bound by the terms of this EULA agreement.
10+
11+
If you are entering into this EULA agreement on behalf of a company or other legal entity, you represent that you have the authority to bind such entity and its affiliates to these terms and conditions. If you do not have such authority or if you do not agree with the terms and conditions of this EULA agreement, do not install or use the Software, and you must not accept this EULA agreement.
12+
13+
This EULA agreement shall apply only to the Software supplied by MineAcademy herewith regardless of whether other software is referred to or described herein. The terms also apply to any MineAcademy updates, supplements, Internet-based services, and support services for the Software, unless other terms accompany those items on delivery. If so, those terms apply.
14+
15+
## License Grant
16+
17+
MineAcademy hereby grants you a personal, non-transferable, non-exclusive licence to use the ChatControl software on your devices in accordance with the terms of this EULA agreement.
18+
19+
You are permitted to load the ChatControl software on a device, for example on a Minecraft server, that you own. You are responsible for ensuring your device meets the minimum requirements of the ChatControl software.
20+
21+
You are not permitted to:
22+
23+
- Edit, alter, modify, adapt, translate or otherwise change the whole or any part of the Software nor permit the whole or any part of the Software to be combined with or become incorporated in any other software, nor decompile, disassemble or reverse engineer the Software with the exception of private, unpublished changes for your own server or network or changes contributed to the source code. That means that, you can modify the source code and use a modified ChatControl version for your own server or network, but cannot distribute it publicly elsewhere.
24+
- Reproduce, copy, distribute, resell or otherwise use the Software for any non-commercial or commercial purpose. You can however, distribute ChatControl on all servers that are part of a single BungeeCord, Redis or a similar network that you own.
25+
- Use the Software in any way which breaches any applicable local, national or international law.
26+
- Use the Software for any purpose that MineAcademy considers is a breach of this EULA agreement.
27+
28+
## Use of Data
29+
30+
You acknowledge that MineAcademy will be able to access and adjust your downloaded licensed Software content and Your personal information, and that MineAcademy's use of such material and information is subject to Your legal agreements with MineAcademy's privacy policy: https://mineacademy.org/privacy
31+
32+
## Intellectual Property and Ownership
33+
34+
MineAcademy shall at all times retain ownership of the Software as originally downloaded by you and all subsequent downloads of the Software by you. The Software (and the copyright, and other intellectual property rights of whatever nature in the Software, including any modifications made thereto) are and shall remain the property of MineAcademy.
35+
36+
MineAcademy reserves the right to grant licences to use the Software to third parties.
37+
38+
## Termination
39+
40+
This EULA agreement is effective from the date you first use the Software and shall continue until terminated. You may terminate it at any time upon written notice to MineAcademy.
41+
42+
It will also terminate immediately if you fail to comply with any term of this EULA agreement. Upon such termination, the licenses granted by this EULA agreement will immediately terminate and you agree to stop all access and use of the Software. The provisions that by their nature continue and survive will survive any termination of this EULA agreement.
43+
44+
## Governing Law
45+
46+
This EULA agreement, and any dispute arising out of or in connection with this EULA agreement, shall be governed by and construed in accordance with the laws of Slovakia.

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<p align="center">
2+
Do you want to build your own ChatControl with unique features only for your server?
3+
<a href="https://mineacademy.org/gh-join">
4+
<img src="https://i.imgur.com/HGc2VG3.png" />
5+
</a>
6+
</p>
7+
8+
# ChatControl Free
9+
ChatControl Pro is a legendary chat plugin that took the marketplace by storm in 2013 and has since generated over 500,000 downloads.
10+
11+
* Completely eliminate, prevent and punish swears, ads, spam and anything you want by customizable filters
12+
* Anti-spam and chat limits
13+
* Anti-duplication for messages and commands
14+
* Bot prevention
15+
* Support for regular expressions to create custom filters
16+
* Thousands of placeholders
17+
18+
For the time being we do not offer a separate Wikipedia for the free version. Instead, you are welcome to check **[ChatControl's Pro Wikipedia](https://github.com/kangarko/ChatControl-Pro/wiki)** that contains very similar information, except that some features are missing or labeled differently in the free version. Please keep in mind that ChatControl Free is no longer receiving updates except for critical vulnerability patches. To support our development, please consider purchasing the Pro version!
19+
20+
If you have any **questions or bugs to report**, try seeing if [those can be resolved quickly](https://github.com/kangarko/ChatControl-Pro/wiki/Frequently-Asked-Questions) by yourself. If that does not help, you are welcome to **fill an issue**. Please read the [Getting Help the Best Way](https://github.com/kangarko/ChatControl-Pro/wiki/Getting-Help-the-Right-Way) to obtain help as quickly as possible.
21+
22+
<hr>
23+
24+
Dave Thomas, founder of OTI, godfather of the Eclipse strategy:
25+
26+
<i>Clean code can be read, and enhanced by a developer other than its original author. It has unit and acceptance tests. It has meaningful names. It provides one way rather than many ways for doing one thing. It has minimal dependencies, which are explicitly defined, and provides a clear and minimal API. Code should be literate since depending on the language, not all necessary information can be expressed clearly in code alone.</i>

pom.xml

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>org.mineacademy</groupId>
7+
<artifactId>ChatControl-Free</artifactId>
8+
<version>5.9.1</version>
9+
<packaging>jar</packaging>
10+
11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
14+
<author>kangarko</author>
15+
<plugin.name>chatcontrol</plugin.name>
16+
<main.class>${project.groupId}.${plugin.name}.ChatControl</main.class>
17+
</properties>
18+
19+
<repositories>
20+
<repository>
21+
<id>mineacademy-repo</id>
22+
<url>https://bitbucket.org/kangarko/libraries/raw/master</url>
23+
</repository>
24+
</repositories>
25+
26+
<dependencies>
27+
<!-- The Spigot API and PaperSpigot server -->
28+
<dependency>
29+
<groupId>org.spigotmc</groupId>
30+
<artifactId>spigot-api</artifactId>
31+
<version>1.16.3-R0.1-SNAPSHOT</version>
32+
</dependency>
33+
<!-- No longer shipped in SpigotAPI but is present in the server -->
34+
<dependency>
35+
<groupId>org.apache.clerezza.ext</groupId>
36+
<artifactId>org.json.simple</artifactId>
37+
<version>0.4</version>
38+
</dependency>
39+
<!-- This is NOT used anywhere in ChatControl, only here to prevent compile
40+
errors from missing the log4j dependency that is shipped in the server jar -->
41+
<dependency>
42+
<groupId>org.apache.logging.log4j</groupId>
43+
<artifactId>log4j-core</artifactId>
44+
<version>2.13.3</version>
45+
</dependency>
46+
<!-- MineAcademy guaranteed availability repos for plugins -->
47+
<dependency>
48+
<groupId>org.mineacademy.plugin</groupId>
49+
<artifactId>AuthMe</artifactId>
50+
<version>5.6.0-SNAPSHOT-2418</version>
51+
</dependency>
52+
<dependency>
53+
<groupId>org.mineacademy.plugin</groupId>
54+
<artifactId>EssentialsX</artifactId>
55+
<version>2.18.0.10</version>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.mineacademy.plugin</groupId>
59+
<artifactId>Factions</artifactId>
60+
<version>3.3.0</version>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.mineacademy.plugin</groupId>
64+
<artifactId>MassiveCore</artifactId>
65+
<version>3.3.0</version>
66+
</dependency>
67+
<dependency>
68+
<groupId>org.mineacademy.plugin</groupId>
69+
<artifactId>Multiverse-Core</artifactId>
70+
<version>4.1.1-SNAPSHOT-787</version>
71+
</dependency>
72+
<dependency>
73+
<groupId>org.mineacademy.plugin</groupId>
74+
<artifactId>PlaceholderAPI</artifactId>
75+
<version>2.10.9-DEV-96</version>
76+
</dependency>
77+
<dependency>
78+
<groupId>org.mineacademy.plugin</groupId>
79+
<artifactId>ProtocolLib</artifactId>
80+
<version>4.6.0-SNAPSHOT-b473</version>
81+
</dependency>
82+
<dependency>
83+
<groupId>org.mineacademy.plugin</groupId>
84+
<artifactId>Towny</artifactId>
85+
<version>0.96.2.0</version>
86+
</dependency>
87+
<dependency>
88+
<groupId>org.mineacademy.plugin</groupId>
89+
<artifactId>Vault</artifactId>
90+
<version>1.7.3</version>
91+
</dependency>
92+
</dependencies>
93+
94+
<build>
95+
<plugins>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-jar-plugin</artifactId>
99+
<version>3.2.0</version>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-compiler-plugin</artifactId>
104+
<version>3.8.1</version>
105+
<configuration>
106+
<source>1.8</source>
107+
<target>1.8</target>
108+
</configuration>
109+
</plugin>
110+
</plugins>
111+
<resources>
112+
<resource>
113+
<directory>src/main/resources</directory>
114+
<filtering>true</filtering>
115+
</resource>
116+
</resources>
117+
</build>
118+
</project>

0 commit comments

Comments
 (0)