Skip to content

Commit dcab297

Browse files
author
DoctorDark
committed
Initial commit for iPVP rebase
0 parents  commit dcab297

File tree

275 files changed

+27118
-0
lines changed

Some content is hidden

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

275 files changed

+27118
-0
lines changed

.editorconfig

Whitespace-only changes.

.gitattributes

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
7+
# Standard to msysgit
8+
*.doc diff=astextplain
9+
*.DOC diff=astextplain
10+
*.docx diff=astextplain
11+
*.DOCX diff=astextplain
12+
*.dot diff=astextplain
13+
*.DOT diff=astextplain
14+
*.pdf diff=astextplain
15+
*.PDF diff=astextplain
16+
*.rtf diff=astextplain
17+
*.RTF diff=astextplain

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Eclipse
2+
/.classpath
3+
/.project
4+
/.settings
5+
6+
# Netbeans
7+
/nbproject
8+
9+
# We use maven!
10+
/build.xml
11+
12+
# Maven
13+
/target
14+
15+
# Vim
16+
.*.sw[a-p]
17+
18+
# Various other potential build files
19+
/build
20+
/bin
21+
/dist
22+
/manifest.mf
23+
/MANIFEST.MF
24+
/META-INF/MANIFEST.MF
25+
git.properties
26+
.ssh
27+
key
28+
key.pub
29+
dependency-reduced-pom.xml
30+
31+
# Mac Filesystem Dust
32+
.DS_Store
33+
34+
# IntelliJ IDEA
35+
*.iml
36+
*.ipr
37+
*.iws
38+
.idea/
39+
40+
src/target/

CONTRIBUTING.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
* **Follow the [Oracle coding conventions](http://www.oracle.com/technetwork/java/codeconv-138413.html).**
2+
We can't stress this enough; if your code has notable issues, it may delay
3+
the process significantly.
4+
* **Target Java 6 for source and compilation.** Make sure to mark methods with
5+
` @Override` that override methods of parent classes, or that implement
6+
methods of interfaces (Java 6+).
7+
* **Use only spaces for indentation.** Our indents are 4-spaces long, and tabs
8+
are unacceptable.
9+
* **Wrap code to a 89 column limit.** We do this to make side by side diffs
10+
and other such tasks easier. Ignore this guideline if it makes the code
11+
too unreadable.
12+
* **Write complete Javadocs.** Do so only for public methods, and make sure
13+
that your `@param` and `@return` fields are not just blank.
14+
* **Don't tag classes with @author.** Some legacy classes may have this tag,
15+
but we are phasing it out.
16+
* **Make sure the code is efficient.** One way you can achieve this is to spend
17+
around ten minutes to think about what the code is doing and whether it
18+
seems awfully roundabout. If you had to copy the same large piece of
19+
code in several places, that's bad.
20+
* **Keep commit summaries under 70 characters.** For more details, place two
21+
new lines after the summary line and write away!
22+
* **Test your code.** We're not interested in broken code, for the obvious reasons.
23+
* **Write unit tests.** While this is strictly optional, we recommend it for
24+
complicated algorithms.
25+
26+
27+
Checklist
28+
---------
29+
30+
Ready to submit? Perform the checklist below:
31+
32+
1. Have all tabs been replaced into four spaces? Are indentations 4-space wide?
33+
2. Have I written proper Javadocs for my public methods? Are the @param and
34+
@return fields actually filled out?
35+
3. Have I `git rebase`d my pull request to the latest commit of the target
36+
branch?
37+
4. Have I combined my commits into a reasonably small number (if not one)
38+
commit using `git rebase`?
39+
5. Have I made my pull request too large? Pull requests should introduce
40+
small sets of changes at a time. Major changes should be discussed with
41+
the team prior to starting work.
42+
6. Are my commit messages descriptive?
43+
44+
You should be aware of [`git rebase`](http://learn.github.com/p/rebasing.html).
45+
It allows you to modify existing commit messages, and combine, break apart, or
46+
adjust past changes.
47+
48+
Example
49+
-------
50+
51+
This is **GOOD:**
52+
53+
if (var.func(param1, param2)) {
54+
// do things
55+
}
56+
57+
This is **EXTREMELY BAD:**
58+
59+
if(var.func( param1, param2 ))
60+
{
61+
// do things
62+
}

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
![HCF](https://i.imgur.com/OisLfkf.png)
2+
==========
3+
4+
Hardcore factions improves the game-play of factions whilst also increasing the challenge of the game.
5+
6+
* Cooldown timers for specific tasks, such as using an Ender Pearl.
7+
* Keys that can be used to receive special rewards.
8+
* Anti combat log system to prevent sneaky peeps
9+
* Enchantment cap to make the game more fair for non-donors
10+
* and much more
11+
12+
Compiling
13+
---------
14+
15+
The project is written for Java 8 and our build process makes use of [Maven](http://maven.apache.org).
16+
17+
Dependencies are automatically handled by Maven.
18+
19+
Contributing
20+
------------
21+
22+
We happily accept contributions, especially through pull requests on GitHub. Submissions
23+
must be licensed under the GNU General Public License v3.
24+
25+
Please read CONTRIBUTING.md for important guidelines to follow.
26+
27+
Links
28+
-----
29+
* [ParaNetwork Reddit](https://reddit.com/r/paranetwork): The official Reddit for the ParaNetwork.
30+
* [(Deprecated) ParaPots Reddit](https://reddit.com/r/parapots): The official Reddit for ParaPots.

pom.xml

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.doctordark.hcf</groupId>
5+
<artifactId>ihcf</artifactId>
6+
<name>iHCF</name>
7+
<version>1.0-SNAPSHOT</version>
8+
<description>Plugin used to achieve HCF related tasks.</description>
9+
10+
<repositories>
11+
<repository>
12+
<id>sk89q-repo</id>
13+
<url>http://maven.sk89q.com/repo/</url>
14+
</repository>
15+
<repository>
16+
<id>protocollib-repo</id>
17+
<url>http://repo.dmulloy2.net/content/groups/public/</url>
18+
</repository>
19+
<repository>
20+
<id>ess-repo</id>
21+
<url>http://repo.ess3.net/content/groups/essentials</url>
22+
</repository>
23+
</repositories>
24+
25+
<dependencies>
26+
<dependency>
27+
<groupId>net.ess3</groupId>
28+
<artifactId>Essentials</artifactId>
29+
<version>2.13-SNAPSHOT</version>
30+
</dependency>
31+
32+
<!-- Locally for now -->
33+
<dependency>
34+
<groupId>com.doctordark.base</groupId>
35+
<artifactId>ibase</artifactId>
36+
<version>3.2-SNAPSHOT</version>
37+
<scope>provided</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.github.paperspigot</groupId>
41+
<artifactId>paperspigot-api</artifactId>
42+
<version>1.7.10-R0.1-SNAPSHOT</version>
43+
<scope>provided</scope>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.github.paperspigot</groupId>
47+
<artifactId>paperspigot</artifactId>
48+
<version>1.7.10-R0.1-SNAPSHOT</version>
49+
<scope>provided</scope>
50+
</dependency>
51+
<!-- Locally for now -->
52+
53+
<dependency>
54+
<groupId>org.projectlombok</groupId>
55+
<artifactId>lombok</artifactId>
56+
<version>1.16.6</version>
57+
<scope>provided</scope>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.apache.commons</groupId>
61+
<artifactId>commons-collections4</artifactId>
62+
<version>4.0</version>
63+
<scope>compile</scope>
64+
</dependency>
65+
<dependency>
66+
<groupId>pl.project13.maven</groupId>
67+
<artifactId>git-commit-id-plugin</artifactId>
68+
<version>2.1.15</version>
69+
<scope>provided</scope>
70+
</dependency>
71+
<dependency>
72+
<groupId>com.comphenix.protocol</groupId>
73+
<artifactId>ProtocolLib</artifactId>
74+
<version>3.6.4</version>
75+
<scope>provided</scope>
76+
</dependency>
77+
<dependency>
78+
<groupId>com.sk89q</groupId>
79+
<artifactId>worldedit</artifactId>
80+
<version>5.6.3</version>
81+
<scope>provided</scope>
82+
</dependency>
83+
</dependencies>
84+
85+
<build>
86+
<sourceDirectory>${basedir}/src/main/java/</sourceDirectory>
87+
<finalName>${project.name}</finalName>
88+
89+
<resources>
90+
<resource>
91+
<targetPath>.</targetPath>
92+
<filtering>true</filtering>
93+
<directory>${basedir}/src/main/resources/</directory>
94+
<includes>
95+
<include>plugin.yml</include>
96+
<include>**/*.properties</include>
97+
<include>**/*.xml</include>
98+
</includes>
99+
</resource>
100+
<resource>
101+
<targetPath>.</targetPath>
102+
<filtering>false</filtering>
103+
<directory>${basedir}/src/main/resources/</directory>
104+
</resource>
105+
</resources>
106+
107+
<plugins>
108+
<plugin>
109+
<groupId>org.apache.maven.plugins</groupId>
110+
<artifactId>maven-compiler-plugin</artifactId>
111+
<version>3.3</version>
112+
<configuration>
113+
<source>1.8</source>
114+
<target>1.8</target>
115+
</configuration>
116+
</plugin>
117+
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-shade-plugin</artifactId>
121+
<version>2.4.1</version>
122+
<executions>
123+
<execution>
124+
<phase>package</phase>
125+
<goals>
126+
<goal>shade</goal>
127+
</goals>
128+
<configuration>
129+
<shadedArtifactAttached>false</shadedArtifactAttached>
130+
<createDependencyReducedPom>true</createDependencyReducedPom>
131+
132+
<artifactSet>
133+
<includes>
134+
<include>org.apache.commons:commons-collections4</include>
135+
</includes>
136+
</artifactSet>
137+
<relocations>
138+
<relocation>
139+
<pattern>org.apache.commons.collections4</pattern>
140+
<shadedPattern>com.doctordark.hcf.internal.org.apache.commons.collections4</shadedPattern>
141+
</relocation>
142+
</relocations>
143+
</configuration>
144+
</execution>
145+
</executions>
146+
</plugin>
147+
<plugin>
148+
<groupId>pl.project13.maven</groupId>
149+
<artifactId>git-commit-id-plugin</artifactId>
150+
<!-- Doctor: 2.1.13 is the latest version that works with latest Maven version unfortunately :/ -->
151+
<version>2.1.13</version>
152+
<executions>
153+
<execution>
154+
<goals>
155+
<goal>revision</goal>
156+
</goals>
157+
</execution>
158+
</executions>
159+
160+
<configuration>
161+
<!-- that's the default value -->
162+
<dateFormat>dd.MM.yyyy HH:mm:ss</dateFormat>
163+
164+
<!-- false is default here, it prints some more information during the
165+
build -->
166+
<verbose>true</verbose>
167+
168+
<!-- If you'd like to tell the plugin where your .git directory is,
169+
use this setting, otherwise we'll perform a search trying to figure out the
170+
right directory. It's better to add it explicite IMHO. -->
171+
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
172+
173+
<!-- ALTERNATE SETUP - GENERATE FILE -->
174+
<!-- If you want to keep git information, even in your WAR file etc,
175+
use this mode, which will generate a properties file (with filled out values)
176+
which you can then normally read using new Properties().load(/**/) -->
177+
178+
<!-- this is false by default, forces the plugin to generate the git.properties
179+
file -->
180+
<generateGitPropertiesFile>false</generateGitPropertiesFile>
181+
182+
<!-- The path for the to be generated properties file, it's relative
183+
to ${project.basedir} -->
184+
<generateGitPropertiesFilename>src/main/resources/git.properties</generateGitPropertiesFilename>
185+
</configuration>
186+
</plugin>
187+
</plugins>
188+
</build>
189+
190+
<properties>
191+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
192+
</properties>
193+
</project>

0 commit comments

Comments
 (0)