Skip to content

Commit 292bf29

Browse files
committed
Open Source it
1 parent 49d827c commit 292bf29

23 files changed

+259
-341
lines changed

License.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
Copyright (c) 2015 Nicholas Schlabach
1+
The MIT License (MIT)
22

3-
If there is conflict between two versions of this license, [the version found on gtihub](https://gist.github.com/Techcable/ea146b481870e3736b48) will take precedence.
3+
Copyright (c) 2015
44

5-
Permission is granted to operate this program provided that:
6-
- You have purchased this plugin from Nicholas Schlabach (Techcable)
7-
- Techcable has given you his express permission to operate/run this program
8-
- Techcable has released this software publicly on either dev.bukkit.org, spigotmc.org or another software hosting site
9-
- You do not modify this software in any way
10-
- You do not redistrubute this software to anyone else
11-
- You do not attempt to deobfuscate, decompile, or reverese engneer this plugin in any way
12-
- Nicholas Schlabach (Techcable) reserves the right to change these terms an conditions at any time, with or without warning
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
1311

14-
If any of the above terms are violated this plugin is no longer valid and you must stop using this software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1514

1615
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1716
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1817
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1918
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2019
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2120
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
SOFTWARE.
21+
SOFTWARE.
22+

pom.xml

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
<artifactId>parent</artifactId>
66
<version>1.0.3</version>
77
</parent>
8-
<properties>
9-
<license.url>https://gist.githubusercontent.com/Techcable/ea146b481870e3736b48/raw/56694d13f0da411c799ae990f50c924383386e82/License.md</license.url>
10-
<license.name>Techcable's License</license.name>
11-
</properties>
128
<artifactId>spawnshield</artifactId>
139
<name>SpawnShield</name>
14-
<version>0.1.0</version>
10+
<version>1.0.1</version>
1511
<description>Prevents people from entering spawn in combat</description>
1612
<repositories>
1713
<repository>
@@ -76,6 +72,7 @@
7672
</dependency>
7773
</dependencies>
7874
<build>
75+
<finalName>SpawnShield</finalName>
7976
<plugins>
8077
<plugin>
8178
<groupId>org.apache.maven.plugins</groupId>
@@ -89,7 +86,6 @@
8986
</goals>
9087
<configuration>
9188
<createDependencyReducedPom>false</createDependencyReducedPom>
92-
<finalName>SpawnShield-shaded</finalName> <!-- Obfuscation creates final jar -->
9389
<relocations>
9490
<relocation>
9591
<pattern>net.techcable.techutils</pattern>
@@ -104,35 +100,6 @@
104100
</execution>
105101
</executions>
106102
</plugin>
107-
<plugin>
108-
<!-- Obfuscate -->
109-
<groupId>com.github.wvengen</groupId>
110-
<artifactId>proguard-maven-plugin</artifactId>
111-
<version>2.0.8</version>
112-
<dependencies>
113-
<dependency>
114-
<groupId>net.sf.proguard</groupId>
115-
<artifactId>proguard-base</artifactId>
116-
<version>5.0</version>
117-
</dependency>
118-
</dependencies>
119-
<executions>
120-
<execution>
121-
<phase>package</phase>
122-
<goals>
123-
<goal>proguard</goal>
124-
</goals>
125-
</execution>
126-
</executions>
127-
<configuration>
128-
<injar>SpawnShield-shaded.jar</injar>
129-
<outjar>SpawnShield.jar</outjar>
130-
<proguardVersion>5.0</proguardVersion>
131-
<libs>
132-
<lib>${java.home}/lib/rt.jar</lib>
133-
</libs>
134-
</configuration>
135-
</plugin>
136103
</plugins>
137104
</build>
138105
</project>

proguard.conf

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/main/java/net/techcable/spawnshield/BlockMode.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
/**
2-
* Copyright (c) 2015 Nicholas Schlabach
2+
* The MIT License
3+
* Copyright (c) 2014-2015 Techcable
34
*
4-
* If there is conflict between two versions of this license, [the version found on gtihub](https://gist.github.com/Techcable/ea146b481870e3736b48) will take precedence.
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to deal
7+
* in the Software without restriction, including without limitation the rights
8+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
* copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
511
*
6-
* Permission is granted to operate this program provided that:
7-
* - You have purchased this plugin from Nicholas Schlabach (Techcable)
8-
* - Techcable has given you his express permission to operate/run this program
9-
* - Techcable has released this software publicly on either dev.bukkit.org, spigotmc.org or another software hosting site
10-
* - You do not modify this software in any way
11-
* - You do not redistrubute this software to anyone else
12-
* - You do not attempt to deobfuscate, decompile, or reverese engneer this plugin in any way
13-
* - Nicholas Schlabach (Techcable) reserves the right to change these terms an conditions at any time, with or without warning
14-
*
15-
* If any of the above terms are violated this plugin is no longer valid and you must stop using this software.
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
1614
*
1715
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1816
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1917
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2018
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2119
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
* SOFTWARE.
20+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
* THE SOFTWARE.
2422
*/
2523
package net.techcable.spawnshield;
2624

src/main/java/net/techcable/spawnshield/CombatAPI.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
/**
2-
* Copyright (c) 2015 Nicholas Schlabach
2+
* The MIT License
3+
* Copyright (c) 2014-2015 Techcable
34
*
4-
* If there is conflict between two versions of this license, [the version found on gtihub](https://gist.github.com/Techcable/ea146b481870e3736b48) will take precedence.
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to deal
7+
* in the Software without restriction, including without limitation the rights
8+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
* copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
511
*
6-
* Permission is granted to operate this program provided that:
7-
* - You have purchased this plugin from Nicholas Schlabach (Techcable)
8-
* - Techcable has given you his express permission to operate/run this program
9-
* - Techcable has released this software publicly on either dev.bukkit.org, spigotmc.org or another software hosting site
10-
* - You do not modify this software in any way
11-
* - You do not redistrubute this software to anyone else
12-
* - You do not attempt to deobfuscate, decompile, or reverese engneer this plugin in any way
13-
* - Nicholas Schlabach (Techcable) reserves the right to change these terms an conditions at any time, with or without warning
14-
*
15-
* If any of the above terms are violated this plugin is no longer valid and you must stop using this software.
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
1614
*
1715
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1816
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1917
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2018
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2119
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
* SOFTWARE.
20+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
* THE SOFTWARE.
2422
*/
2523
package net.techcable.spawnshield;
2624

src/main/java/net/techcable/spawnshield/Metrics.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
/**
2-
* Copyright (c) 2015 Nicholas Schlabach
2+
* The MIT License
3+
* Copyright (c) 2014-2015 Techcable
34
*
4-
* If there is conflict between two versions of this license, [the version found on gtihub](https://gist.github.com/Techcable/ea146b481870e3736b48) will take precedence.
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to deal
7+
* in the Software without restriction, including without limitation the rights
8+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
* copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
511
*
6-
* Permission is granted to operate this program provided that:
7-
* - You have purchased this plugin from Nicholas Schlabach (Techcable)
8-
* - Techcable has given you his express permission to operate/run this program
9-
* - Techcable has released this software publicly on either dev.bukkit.org, spigotmc.org or another software hosting site
10-
* - You do not modify this software in any way
11-
* - You do not redistrubute this software to anyone else
12-
* - You do not attempt to deobfuscate, decompile, or reverese engneer this plugin in any way
13-
* - Nicholas Schlabach (Techcable) reserves the right to change these terms an conditions at any time, with or without warning
14-
*
15-
* If any of the above terms are violated this plugin is no longer valid and you must stop using this software.
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
1614
*
1715
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1816
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1917
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2018
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2119
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
* SOFTWARE.
20+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
* THE SOFTWARE.
2422
*/
2523
package net.techcable.spawnshield;
2624

src/main/java/net/techcable/spawnshield/SpawnShield.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
/**
2-
* Copyright (c) 2015 Nicholas Schlabach
2+
* The MIT License
3+
* Copyright (c) 2014-2015 Techcable
34
*
4-
* If there is conflict between two versions of this license, [the version found on gtihub](https://gist.github.com/Techcable/ea146b481870e3736b48) will take precedence.
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to deal
7+
* in the Software without restriction, including without limitation the rights
8+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
* copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
511
*
6-
* Permission is granted to operate this program provided that:
7-
* - You have purchased this plugin from Nicholas Schlabach (Techcable)
8-
* - Techcable has given you his express permission to operate/run this program
9-
* - Techcable has released this software publicly on either dev.bukkit.org, spigotmc.org or another software hosting site
10-
* - You do not modify this software in any way
11-
* - You do not redistrubute this software to anyone else
12-
* - You do not attempt to deobfuscate, decompile, or reverese engneer this plugin in any way
13-
* - Nicholas Schlabach (Techcable) reserves the right to change these terms an conditions at any time, with or without warning
14-
*
15-
* If any of the above terms are violated this plugin is no longer valid and you must stop using this software.
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
1614
*
1715
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1816
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1917
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2018
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2119
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
* SOFTWARE.
20+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
* THE SOFTWARE.
2422
*/
2523
package net.techcable.spawnshield;
2624

src/main/java/net/techcable/spawnshield/SpawnShieldExecutor.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
/**
2-
* Copyright (c) 2015 Nicholas Schlabach
2+
* The MIT License
3+
* Copyright (c) 2014-2015 Techcable
34
*
4-
* If there is conflict between two versions of this license, [the version found on gtihub](https://gist.github.com/Techcable/ea146b481870e3736b48) will take precedence.
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to deal
7+
* in the Software without restriction, including without limitation the rights
8+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
* copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
511
*
6-
* Permission is granted to operate this program provided that:
7-
* - You have purchased this plugin from Nicholas Schlabach (Techcable)
8-
* - Techcable has given you his express permission to operate/run this program
9-
* - Techcable has released this software publicly on either dev.bukkit.org, spigotmc.org or another software hosting site
10-
* - You do not modify this software in any way
11-
* - You do not redistrubute this software to anyone else
12-
* - You do not attempt to deobfuscate, decompile, or reverese engneer this plugin in any way
13-
* - Nicholas Schlabach (Techcable) reserves the right to change these terms an conditions at any time, with or without warning
14-
*
15-
* If any of the above terms are violated this plugin is no longer valid and you must stop using this software.
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
1614
*
1715
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1816
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1917
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2018
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2119
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
* SOFTWARE.
20+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
* THE SOFTWARE.
2422
*/
2523
package net.techcable.spawnshield;
2624

src/main/java/net/techcable/spawnshield/SpawnShieldPlayer.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
/**
2-
* Copyright (c) 2015 Nicholas Schlabach
2+
* The MIT License
3+
* Copyright (c) 2014-2015 Techcable
34
*
4-
* If there is conflict between two versions of this license, [the version found on gtihub](https://gist.github.com/Techcable/ea146b481870e3736b48) will take precedence.
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to deal
7+
* in the Software without restriction, including without limitation the rights
8+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
* copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
511
*
6-
* Permission is granted to operate this program provided that:
7-
* - You have purchased this plugin from Nicholas Schlabach (Techcable)
8-
* - Techcable has given you his express permission to operate/run this program
9-
* - Techcable has released this software publicly on either dev.bukkit.org, spigotmc.org or another software hosting site
10-
* - You do not modify this software in any way
11-
* - You do not redistrubute this software to anyone else
12-
* - You do not attempt to deobfuscate, decompile, or reverese engneer this plugin in any way
13-
* - Nicholas Schlabach (Techcable) reserves the right to change these terms an conditions at any time, with or without warning
14-
*
15-
* If any of the above terms are violated this plugin is no longer valid and you must stop using this software.
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
1614
*
1715
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1816
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1917
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2018
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2119
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
* SOFTWARE.
20+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
* THE SOFTWARE.
2422
*/
2523
package net.techcable.spawnshield;
2624

0 commit comments

Comments
 (0)