Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
5ec0fb5
Rail protection from water/lava
erocs Feb 2, 2013
7935dc4
Remove development comment block
erocs Feb 2, 2013
801c9ad
Add Faction discipline flags
erocs Feb 24, 2013
cbb66fb
Added permission nodes for ctgstats,ctpstats and the group node citad…
Feb 24, 2013
0ecb57a
Citadel permission updates
erocs Feb 25, 2013
522a2b2
Fix NPE
erocs Feb 26, 2013
ccd3a04
Add additional admin overrides
erocs Mar 10, 2013
523aa0e
Fix Citadel to work nicely with Essentials
erocs Mar 30, 2013
65bfd03
Added blockhandler to disallow placing signs above chest blocks if the
fndragon Apr 1, 2013
2a5aace
Merged the listeners together so we only have one listener. Also added
fndragon Apr 2, 2013
cb73175
Update BlockListener.java
rourke750 Apr 3, 2013
dfee4ae
Update BlockListener.java
rourke750 Apr 4, 2013
359ad41
Merge pull request #14 from fndragon/master
erocs Apr 5, 2013
1255b61
Merge/refactor Rourke's cb73175291 and dfee4aec4a
erocs Apr 7, 2013
9574ba7
Activate 1.5 specifics from 1255b61b18
erocs Apr 7, 2013
451783e
Merge branch 'master' of https://github.com/erocs/Citadel
erocs Apr 7, 2013
7ceb1b2
Merge branch 'master' into 1.5
erocs Apr 7, 2013
62c49bf
Only cancel /cti block click in creative mode
erocs Apr 7, 2013
3cb5b31
Fixup whitespace
erocs Apr 7, 2013
37b3afe
Always save default config.yml into plugins dir
erocs Apr 7, 2013
9d40752
Make /ctgstats available to players
erocs Apr 7, 2013
b6ec3f0
Prevent object growth from subverting reinforcements
erocs Apr 12, 2013
dad3351
Remove dup code and fix left-over copy.
erocs May 1, 2013
b019ce1
Determine securable by InventoryHolder superclass
erocs May 1, 2013
34b0ba4
Support trapped chests
erocs May 1, 2013
078cf79
Merge branch '1.5'
erocs May 12, 2013
d7223c9
Rev version to keep unique version for merged 1.5
erocs May 12, 2013
04854ac
Add CreateReinforcementEvent
erocs May 14, 2013
73e1152
Fire CreateReinforcementEvent on /ctr owner change
erocs May 15, 2013
f7781ae
Prevent rails under reinforced containers
erocs May 18, 2013
6be1efc
Fix HopperCarts, add plant reinforcements
erocs May 25, 2013
20933cc
Add the idx_reinforcement_chunkid index
erocs May 25, 2013
43f44dc
Remove extraneous StructureGrowEvent
erocs May 25, 2013
d558c71
Protect reinforced crops from water buckets
erocs May 25, 2013
9726b3f
Owners can break reinforced crops
erocs May 26, 2013
4a363e4
Add group caching
erocs May 31, 2013
252e348
Crop auto-bypass also for group members
erocs May 31, 2013
686d3d7
Merge branch 'master' into dev
erocs May 31, 2013
c3352d9
Fix some group cache bugs
erocs Jun 2, 2013
cd3a561
Add GroupChangeEvent
erocs Jun 2, 2013
17d5d37
Fix another group cache bug
erocs Jun 2, 2013
b048cbf
Fix GroupChangeEvent bug
erocs Jun 7, 2013
055cd27
Fix hoppers with double chests
erocs Jun 19, 2013
15e73d4
Sugar cane grows on sand and grass
erocs Jul 5, 2013
0c42acf
Reinforcement maturation and scaling
erocs Jul 5, 2013
2f2cee0
Add acid block, adjust /cti
erocs Jul 6, 2013
edd6b5b
Add /ctmature
erocs Jul 8, 2013
32bafba
Propagate maturation, prevent insta-acid
erocs Jul 13, 2013
3e6f1d8
Scaled materials shouldn't break at scale unless immature
erocs Jul 19, 2013
0bad7ad
Async queries for stats commands
erocs Jul 19, 2013
ac2d721
Implement PlayerDamageReinforcementEvent
shadowjay1 Jul 25, 2013
a98f490
Update version.
shadowjay1 Jul 25, 2013
30c5716
Merge branch 'dev'
shadowjay1 Jul 25, 2013
8bd65f1
Merge pull request #46 from shadowjay1/master
erocs Jul 25, 2013
e55e908
Fix acid block when maturity is disabled
erocs Jul 26, 2013
40ec1b5
Merge branch 'dev' of github.com:erocs/Citadel into dev
erocs Jul 26, 2013
ac07a1a
Add license
erocs Jul 26, 2013
0a62c8e
Make ACTIVATOR_RAIL same as other rails
erocs Jul 31, 2013
c7fe591
Don't display (Hardening) for /cti if not applicable
erocs Jul 31, 2013
db3b043
Make PlRein message info which is governed by verbose logging setting
erocs Jul 31, 2013
cf9a3cc
Prevent reinforced wheat trampling
erocs Jul 31, 2013
f218da4
Add acid block reinforcement tax
erocs Jul 31, 2013
a201880
Use PlayerInteract instead of BlockPhysics for preventing crop trample
erocs Jul 31, 2013
4bc8c6b
Rev version
erocs Jul 31, 2013
cdafbd5
Unreinforced crops should break
erocs Aug 4, 2013
b71ef61
Async /ctstats
erocs Aug 24, 2013
37d3610
Fix warnings
erocs Aug 24, 2013
cc621e9
Fix issue with reinforcement materials and lore
erocs Sep 8, 2013
e4f2256
Refactor InventoryMoveItemEvent, fix NPE, GRASS->LONG_GRASS
erocs Sep 10, 2013
f8e24aa
Relax the hopper ownership check a bit
erocs Sep 11, 2013
921fb1c
Add support for insecure Hopper transfers
erocs Sep 13, 2013
e19b31b
Fix reinforced dirt->crop transformation
erocs Sep 21, 2013
1680502
Configurable verbose messages
erocs Sep 29, 2013
ce7e758
Update PlayerReinforcement to verify via Faction.isFounder
erocs Oct 25, 2013
0e41a20
Add DB versioning, update /ctdel for DB lag issue
erocs Nov 29, 2013
034d9c8
Improve acid block targeting
erocs Nov 29, 2013
5798cb9
Fix acid blocks w/ double chests, fix a couple format strings
erocs Nov 30, 2013
7484f93
Merge pull request #1 from erocs/master
rourke750 Dec 13, 2013
e0734f7
fixed bug where you could break invulnerable blocks
rourke750 Jan 18, 2014
9f1a9d6
Update plugin.yml
rourke750 Jan 18, 2014
cf59596
Add to non-reinforceables
erocs Jan 18, 2014
d2b40bc
Fix melon/pumpkin independent reinforcements
erocs Feb 8, 2014
8a154fd
Fix group deletion on plugin start
dquist Apr 26, 2014
1268fbc
Add batch updating of reinforcement records
dquist Apr 29, 2014
486629b
Added config items
dquist Apr 29, 2014
79dcb36
Fixed comments
dquist Apr 29, 2014
a8247be
Update some comments and formatting
dquist Apr 29, 2014
4ddf8b6
Update plugin.yml
dquist Apr 30, 2014
5bc9c21
restore loadDeletedGroups
dquist Apr 30, 2014
6309428
Merge pull request #1 from erocs/upstream
ttk2 May 2, 2014
8276780
updating build script for jenkins
WildWeazel Jun 26, 2014
5a88fe7
Merge pull request #2 from WildWeazel/patch-1
ttk2 Jun 26, 2014
82c2030
java target because maven is dense
WildWeazel Jun 30, 2014
17b0f00
Merge pull request #3 from WildWeazel/patch-1
ttk2 Jun 30, 2014
eba4056
use bukkit repo and java 6
WildWeazel Jul 9, 2014
512e966
Merge pull request #4 from WildWeazel/patch-1
ttk2 Jul 9, 2014
6ba7787
Disable /ctgstats
Aug 13, 2014
476160f
Update plugin.yml
Aug 13, 2014
8141e7a
Update pom.xml
Aug 13, 2014
ecedc5a
Merge pull request #71 from ttk2/master
erocs Aug 13, 2014
1feda4f
Merge remote-tracking branch 'drjawa/master'
erocs Aug 13, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed Citadel.jar
Binary file not shown.
11 changes: 11 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
http://opensource.org/licenses/BSD-3-Clause

Copyright (c) 2013, Justin Kilpatrick, CivCraft
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of CivCraft nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4 changes: 2 additions & 2 deletions bin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Manifest-Version: 1.0
Manifest-Version: 1.0

24 changes: 23 additions & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ general:
autoModeReset: 30
redstoneDistance: 9
groupsAllowed: 60
reinforcedCrops: true
materials:
- name: STONE
strength: 25
Expand All @@ -23,8 +24,10 @@ additionalSecurable:
- BEACON
- ANVIL
nonReinforceable:
- BEDROCK
- ENDER_PORTAL_FRAME
- SAPLING
- GRASS
- LONG_GRASS
- DEAD_BUSH
- PISTON_EXTENSION
- PISTON_MOVING_PIECE
Expand Down Expand Up @@ -59,3 +62,22 @@ database:
caching:
max_age: 300000
max_chunks: 10000

# Possible verboseMessages:
# - InteractionAttempt
# - ReinDelegation
# - AdminReinBypass
# - ReinBypass
# - RedstoneOpen
# - GolemCreated
# - NullGroup
# - AdminReinLocked
# - ReinLocked
# - CropTrample
# - ReinOvergrowth
# - ReinCreated
# - ReinDmg
# - ReinDestroyed
# - Enabled
# - Disabled
verboseMessages:
52 changes: 44 additions & 8 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Citadel
main: com.untamedears.citadel.Citadel
version: 2.0.1
version: 2.5.25
description: Reinforce your structures!
author: chrisrico, jonnyd (aka Gu3rr1lla)
database: false
Expand Down Expand Up @@ -29,6 +29,10 @@ commands:
aliases: cti
description: While in this mode, punching a block gives you information about it's reinforcement and security level.
usage: /ctinfo (or /cti)
ctinsecure:
aliases: ctis
description: While in this mode, punching a reinforcement toggles its insecure status.
usage: /ctinsecure (or /ctis)
ctoff:
aliases: cto
description: Turns off reinforcement, fortification, and info mode.
Expand Down Expand Up @@ -112,21 +116,53 @@ commands:
aliases: ctgi
description: Displays information about a group.
usage: /ctgroupinfo (or /ctgi) <group-name>
ctcon:
description: Restricted.
usage: /ctcon
permission: citadel.console
ctgstats:
aliases: ctgst
description: Displayers group statistics
description: Displays group statistics
usage: /ctgstats <group-name>
ctcon:
description: Restricted console commands
usage: /ctcon
permission: citadel.console
ctpstats:
aliases: ctpst
description: Displayers player statistics
usage: /ctpstats <player-name>
permission: citadel.console
permission: citadel.admin.ctpstats
ctdiscipline:
aliases: ctadg
description: Disciplines a group
usage: /ctdiscipline [del] <group-name>
permission: citadel.admin.ctdiscipline
ctreprieve:
aliases: ctarg
description: Reprieves a group
usage: /ctreprieve <group-name>
permission: citadel.admin.ctreprieve
ctacid:
description: Trigger acid block to eat a reinforcement
usage: /ctacid
permission: citadel.ctacid
ctmature:
description: Instantly mature a reinforcement
usage: /ctmature
permissions:
citadel.console:
description: Console commands for Citadel
default: false
default: false
citadel.admin:
description: Grants permission to Citadels admin commands.
default: op
children:
citadel.admin.ctgstats: true
citadel.admin.ctpstats: true
citadel.admin.ctdiscipline: true
citadel.admin.ctreprieve: true
citadel.admin.ctinfodetails: true
citadel.admin.accesssecurable: true
citadel.admin.cttransfer: true
citadel.admin.reassignreinforcements: true
citadel.admin.bypassmode: true
citadel.ctacid:
description: Allow /ctacid
default: true
115 changes: 49 additions & 66 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,73 +1,56 @@
<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
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.untamedears.citadel</groupId>
<artifactId>citadel</artifactId>
<version>2.0.2</version>
<packaging>jar</packaging>

<name>Citadel</name>
<description>Bukkit Server Plugin</description>
<inceptionYear>2012</inceptionYear>
<build>
<sourceDirectory>${basedir}/src</sourceDirectory>
<plugins>
<modelVersion>4.0.0</modelVersion>
<groupId>com.untamedears</groupId>
<artifactId>Citadel</artifactId>
<packaging>jar</packaging>
<version>2.5.25-SNAPSHOT</version>
<name>Citadel</name>
<url>https://github.com/ttk2/Citadel</url>

<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</plugins>
</pluginManagement>

<properties>
<project.build.sourceEncoding>CP1252</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.3.2-R1.0</version>
</dependency>

</dependencies>

<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
</repositories>
<sourceDirectory>${basedir}/src</sourceDirectory>

<!--
<scm>
<connection>scm:git:</connection>
<developerConnection>scm:git:</developerConnection>
</scm>
-->

<!--
<repositories>
<repository>
<id>lennardf1989</id>
<url>http://github.lennardf1989.com/repository/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.lennardf1989</groupId>
<artifactId>bukkitex</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
-->

<resources>
<resource>
<directory>${basedir}</directory>
<includes>
<include>LICENSE.txt</include>
<include>*.yml</include>
</includes>
</resource>
</resources>
</build>

<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.7.2-R0.3</version>
<scope>provided</scope>
</dependency>
</dependencies>

<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
</repositories>

</project>
Loading