Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1285 commits
Select commit Hold shift + click to select a range
8ea1068
Don't use unnecessary getItemStack() calls by using native code. #441
Hidendra Nov 18, 2012
e082d69
naïve implemention of async magnets. if needed could be improved by b…
Hidendra Nov 21, 2012
9c717fb
addresses issues with connections staying open when a exception occur…
Hidendra Nov 21, 2012
03eb6a1
fix issues with new LWC dbs not initializing properly
Hidendra Nov 22, 2012
d993012
move downloader logic to before the database is connected to.
Hidendra Nov 23, 2012
40a9146
simplify some login that could be confusing
Hidendra Nov 23, 2012
4653db5
Remove automatic updating. Instead, a notice will be printed in the c…
Hidendra Nov 24, 2012
9656ee0
uninitialise dat int
Hidendra Nov 24, 2012
30ec9d1
remove extraneous startup output and move some of it to /lwc admin re…
Hidendra Nov 24, 2012
a798cf4
remove /lwc admin update, update /lwc admin version
Hidendra Nov 24, 2012
85a0589
modify /lwc admin report cache size colour thresholds
Hidendra Nov 24, 2012
3413f60
Highly experimental entity protection & slightly improved magnets. NO…
Hidendra Dec 1, 2012
879bc99
check if item is dead
Hidendra Dec 1, 2012
0bb5161
improve errorneous database configurations. Errors that are no huge s…
Hidendra Dec 1, 2012
c26e641
Make LWC compatible with CB build removing easy visibility to NMS / C…
Hidendra Dec 6, 2012
e8b1b99
attempt to load sqlite.jar via two methods #457
Hidendra Dec 6, 2012
e4cf5c8
failed logic -- check for crossWorld == false not true
Hidendra Dec 6, 2012
8f82eac
allow entity protections to be configured in core.yml. storage_mineca…
Hidendra Dec 7, 2012
f756a79
Metrics R6
Hidendra Dec 7, 2012
2d9c45a
Metrics change for java version
Hidendra Dec 7, 2012
5a50f3a
LWC-Econ: use class-loader-of instead of using Class-Path in the mani…
Hidendra Dec 8, 2012
1897f70
improvements to magnet again and remove storage minecart magnets for …
Hidendra Dec 10, 2012
e24d790
fix matching blocks attached to wall signs. looks like minecraft did …
Hidendra Dec 10, 2012
d261c6c
CB can throw exceptions when depositing items. catch them
Hidendra Dec 14, 2012
c05e0a8
use Bukkit's getFIle() to get the location to LWC's jar instead of th…
Hidendra Dec 16, 2012
25cf7f4
safen up some calls
Hidendra Dec 23, 2012
d394231
Flush when extremely full -- experimental
Hidendra Dec 23, 2012
547c22a
Add pool statistics to /lwc admin report and don't forcefully flush
Hidendra Dec 24, 2012
a9be214
Run database thread in a task on the main thread for now. Seems to fi…
Hidendra Dec 26, 2012
98119d2
add core.updateNotifier to enable/disable the update notifier
Hidendra Jan 1, 2013
734e368
Donation chest support. does not require spout or NMS/OBC
Hidendra Jan 2, 2013
2556f75
remove frivolous statements
Hidendra Jan 2, 2013
75e835d
Allow "sign" limit in limitsv2 to apply to _both_ wall signs and sign…
Hidendra Jan 2, 2013
20780f9
Move the database thread to async task and impose a work limit
Hidendra Jan 3, 2013
942199e
fix legacy limits not expecting to see entity protections
Hidendra Jan 3, 2013
2fec063
didn't mean to commit some extra output messages
Hidendra Jan 3, 2013
fc9abfb
fix database migration (saveNow() used to create if it needed to, it …
Hidendra Jan 3, 2013
410c2d3
Disable magnets globally for now due to ongoing lag issues with it
Hidendra Jan 3, 2013
82754e5
fix double doors opening protections you don't have access to
Hidendra Jan 6, 2013
f0db2ce
share 1 connection when flushing the db queue instead of opening a lo…
Hidendra Jan 13, 2013
5431cc5
catch exception in rare cases when bukkit fails to get the location o…
Hidendra Jan 26, 2013
5fedfd3
Revert "catch exception in rare cases when bukkit fails to get the lo…
Hidendra Feb 1, 2013
f60472e
Revert "share 1 connection when flushing the db queue instead of open…
Hidendra Feb 1, 2013
9a0a141
Revert "fix double doors opening protections you don't have access to"
Hidendra Feb 1, 2013
6f51c30
Revert "Disable magnets globally for now due to ongoing lag issues wi…
Hidendra Feb 1, 2013
0239ef4
Revert "fix database migration (saveNow() used to create if it needed…
Hidendra Feb 1, 2013
fe9840e
Revert "didn't mean to commit some extra output messages"
Hidendra Feb 1, 2013
29b30b0
Revert "fix legacy limits not expecting to see entity protections"
Hidendra Feb 1, 2013
c06d89b
Revert "Move the database thread to async task and impose a work limit"
Hidendra Feb 1, 2013
e2cdc2f
Revert "Allow "sign" limit in limitsv2 to apply to _both_ wall signs …
Hidendra Feb 1, 2013
9c4ace6
Revert "remove frivolous statements"
Hidendra Feb 1, 2013
4a82c1d
Revert "Donation chest support. does not require spout or NMS/OBC"
Hidendra Feb 1, 2013
73a5928
Revert "add core.updateNotifier to enable/disable the update notifier"
Hidendra Feb 1, 2013
4f6f101
Revert "Run database thread in a task on the main thread for now. See…
Hidendra Feb 1, 2013
0d19c6d
Revert "Add pool statistics to /lwc admin report and don't forcefully…
Hidendra Feb 1, 2013
6c71770
Revert "Flush when extremely full -- experimental"
Hidendra Feb 1, 2013
441b064
Revert "safen up some calls"
Hidendra Feb 1, 2013
e77ac19
Revert "use Bukkit's getFIle() to get the location to LWC's jar inste…
Hidendra Feb 1, 2013
242c7bf
Revert "CB can throw exceptions when depositing items. catch them"
Hidendra Feb 1, 2013
5427cbe
Revert "fix matching blocks attached to wall signs. looks like minecr…
Hidendra Feb 1, 2013
e7762ae
Revert "improvements to magnet again and remove storage minecart magn…
Hidendra Feb 1, 2013
3078f4c
Revert "LWC-Econ: use class-loader-of instead of using Class-Path in …
Hidendra Feb 1, 2013
53c6b39
Revert "Metrics change for java version"
Hidendra Feb 1, 2013
586686f
Revert "Metrics R6"
Hidendra Feb 1, 2013
0c48fdb
Revert "allow entity protections to be configured in core.yml. storag…
Hidendra Feb 1, 2013
a19f2ea
Revert "failed logic -- check for crossWorld == false not true"
Hidendra Feb 1, 2013
da86e4d
Revert "attempt to load sqlite.jar via two methods #457"
Hidendra Feb 1, 2013
85cc306
Revert "Make LWC compatible with CB build removing easy visibility to…
Hidendra Feb 1, 2013
1ea289a
Revert "improve errorneous database configurations. Errors that are n…
Hidendra Feb 1, 2013
2578c80
Revert "check if item is dead"
Hidendra Feb 1, 2013
118356f
Revert "Highly experimental entity protection & slightly improved mag…
Hidendra Feb 1, 2013
f8b81f3
Revert "modify /lwc admin report cache size colour thresholds"
Hidendra Feb 1, 2013
6149ae9
Revert "remove /lwc admin update, update /lwc admin version"
Hidendra Feb 1, 2013
daaac49
Revert "remove extraneous startup output and move some of it to /lwc …
Hidendra Feb 1, 2013
fccb361
Revert "uninitialise dat int"
Hidendra Feb 1, 2013
5ae8e52
Revert "Remove automatic updating. Instead, a notice will be printed …
Hidendra Feb 1, 2013
1640694
Revert "simplify some login that could be confusing"
Hidendra Feb 1, 2013
de210da
Revert "move downloader logic to before the database is connected to."
Hidendra Feb 1, 2013
bf0804a
Revert "fix issues with new LWC dbs not initializing properly"
Hidendra Feb 1, 2013
d6f8f8e
Revert "addresses issues with connections staying open when a excepti…
Hidendra Feb 1, 2013
c876f11
Revert "naïve implemention of async magnets. if needed could be impro…
Hidendra Feb 1, 2013
2cf4586
Revert "Don't use unnecessary getItemStack() calls by using native co…
Hidendra Feb 1, 2013
f1806cf
Revert "Magnet: convert scanForInventoryBlocks to native code (use ti…
Hidendra Feb 1, 2013
499e533
Revert "fix saving protection history when creating a protection"
Hidendra Feb 1, 2013
b46034b
Revert "when left clicking signs don't cancel the interact event. clo…
Hidendra Feb 1, 2013
daa9893
Revert "Add a db pool in a slightly elegant way without having to mod…
Hidendra Feb 1, 2013
9e201b4
when left clicking signs don't cancel the interact event. closes #433
Hidendra Nov 18, 2012
6771e28
move downloader logic to before the database is connected to.
Hidendra Nov 23, 2012
c7cf589
simplify some login that could be confusing
Hidendra Nov 23, 2012
270c08c
Remove automatic updating. Instead, a notice will be printed in the c…
Hidendra Nov 24, 2012
0c22f27
uninitialise dat int
Hidendra Nov 24, 2012
a25e4f3
remove extraneous startup output and move some of it to /lwc admin re…
Hidendra Nov 24, 2012
6c85c0b
modify /lwc admin report cache size colour thresholds
Hidendra Nov 24, 2012
71d88b5
remove /lwc admin update, update /lwc admin version
Hidendra Nov 24, 2012
ecfe81d
CraftBukkit NMS/OBC update
Hidendra Feb 1, 2013
21ffd70
failed logic -- check for crossWorld == false not true
Hidendra Dec 6, 2012
9eac40e
LWC-Econ: use class-loader-of instead of using Class-Path in the mani…
Hidendra Dec 8, 2012
22cb713
fix matching blocks attached to wall signs. looks like minecraft did …
Hidendra Dec 10, 2012
cc380a0
CB can throw exceptions when depositing items. catch them
Hidendra Dec 14, 2012
cc80a19
use Bukkit's getFIle() to get the location to LWC's jar instead of th…
Hidendra Dec 16, 2012
8058051
add core.updateNotifier to enable/disable the update notifier
Hidendra Jan 1, 2013
53afe36
Donation chest support. does not require spout or NMS/OBC
Hidendra Jan 2, 2013
bb7899b
remove frivolous statements
Hidendra Jan 2, 2013
3f002d6
Allow "sign" limit in limitsv2 to apply to _both_ wall signs and sign…
Hidendra Jan 2, 2013
c016e73
fix double doors opening protections you don't have access to
Hidendra Jan 6, 2013
eda377c
catch exception in rare cases when bukkit fails to get the location o…
Hidendra Jan 26, 2013
008a1d6
Heroes support. Don't allow drop xfers when hero is in combat
Hidendra Feb 1, 2013
42c9445
Not efficient at all! Revert "optimize magnet to be highly efficient …
Hidendra Feb 2, 2013
3b6b7b8
Keep the ticks check, though.
Hidendra Feb 2, 2013
defc897
clean up the magnet class a bit
Hidendra Feb 2, 2013
8f2a0f7
Ignore the DB when all protections are cached when checking for prote…
Hidendra Feb 2, 2013
8cbeba0
remove undesired console output :)
Hidendra Feb 2, 2013
644b0da
properly remove cached protections when using fastRemoveProtections.
Hidendra Feb 4, 2013
84ca951
Add /cdonation to help menu /lwc
LeonChris88 Feb 8, 2013
77552e2
fix matching trap doors. Data values were changed.
Hidendra Feb 9, 2013
8519218
Minor grammar fix
evonuts Feb 10, 2013
7d1402b
Send a keepalive packet to the database server approximately every 5 …
Hidendra Feb 10, 2013
72dc874
Update src/main/java/com/griefcraft/listeners/LWCEntityListener.java
nitnelave Jan 12, 2013
931473a
update CreeperHeal reference.
Hidendra Feb 10, 2013
1fdbf76
Merge pull request #528 from LiLChris/patch-1
Hidendra Feb 10, 2013
97b0b6f
Merge pull request #530 from evonuts/patch-1
Hidendra Feb 10, 2013
20ab77d
test
Hidendra Feb 12, 2013
5eb92e5
Merge remote-tracking branch 'origin/master'
Hidendra Feb 12, 2013
6974d7a
replace craftbukkit with bukkit
Hidendra Feb 12, 2013
d8a3d2c
Revert "test"
Hidendra Feb 12, 2013
29dd7b4
configurable database ping interval
Hidendra Feb 13, 2013
17e09dd
move MobArena logic to the drop transfer handler so it does not block…
Hidendra Feb 13, 2013
e3323f5
fix being able to swap items in donation chests that have the same id…
Hidendra Feb 13, 2013
9d4a60e
fix-fix MobArena cancelling item drops.
Hidendra Feb 13, 2013
f53c7a7
some bug fixes with donation chests. Most importantly, fix being able…
Hidendra Feb 17, 2013
eecd637
fix potential NPE (I wouldn't think it would ever be null anymore but…
Hidendra Feb 17, 2013
417cc22
Credits changes (/lwc credits). add in the donations for the last ~ye…
Hidendra Feb 22, 2013
c191055
give %owner% to lock messages
Hidendra Feb 23, 2013
76f2756
Fix lwc mods resetting the last accessed time on chests they do not h…
Hidendra Feb 24, 2013
fde4c9a
add readonly-modify and readonly-remove to protection configs. allows…
Hidendra Mar 4, 2013
c182a7b
allow limits via permissions: lwc.protect.BLOCKID/NAME.# or by defaul…
Hidendra Mar 14, 2013
b0cfcc7
allow limits parsing to be enabled / disabled
Hidendra Mar 14, 2013
9a5fe3b
whitespace
Hidendra Mar 14, 2013
88a7ab4
safely ignore array index out of bounds generated by a bukkit call (u…
Hidendra Mar 15, 2013
6fa3614
fix blacklistedBlocks not matching certain combos. fixes Hoppers (id …
Hidendra Mar 15, 2013
b38ad78
change version to 4.3.2 for second (and probably last) beta release. …
Hidendra Mar 15, 2013
8d3e744
fix blacklisted block bug with allowing blocks in certain arrangement
Hidendra Mar 16, 2013
4c7eb8d
bounds check inventory slot on inventory click event to escape the ev…
Hidendra Mar 16, 2013
c9a7c63
caught AbstractMethodError for inventory event's event.getInventory()…
Hidendra Mar 16, 2013
4336884
move blacklist block handling from its own event handler to LWC's own
Hidendra Mar 16, 2013
54578ee
fix blacklistedBlocks being broken by the last build ( and also the e…
Hidendra Mar 16, 2013
d5280e7
cut out some unused code
Hidendra Mar 16, 2013
a40f72b
native support for Double Trapped chests.
Hidendra Mar 16, 2013
4dc96c6
magic chest enums!
Hidendra Mar 16, 2013
3ea06a4
alias 'chest' in core.yml to both Chest and Trapped Chest.
Hidendra Mar 16, 2013
604e318
add Hoppers to core.yml by default the first time this version/build …
Hidendra Mar 16, 2013
020a416
add Trapped Chests to core.yml by default the first time this version…
Hidendra Mar 16, 2013
65d7b79
reduce visibility
Hidendra Mar 16, 2013
c28776e
while i'm simplifying things take it a _step further_
Hidendra Mar 16, 2013
e8914b1
fix placing hoppers on donation chests you don't have admin access to
Hidendra Mar 16, 2013
edd08b6
don't attempt to ping the database if we are not connected to it
Hidendra Mar 20, 2013
771cc89
Disable hoppers on protections by default. They can be enabled on ind…
Hidendra Mar 29, 2013
baa4e4d
hopper prevention now uses both dest/source. this just adds destinati…
Hidendra Mar 29, 2013
3bd8ca3
Fix minor bugs with donation chests: allow left clicking (inserting) …
Hidendra Apr 3, 2013
5728875
Replaced this ugly StackTrace message (Failed to connect to MySQL) with
PhoenixIV Apr 4, 2013
28a0743
when using fastRemoveProtections account for protections that can mat…
Hidendra Apr 7, 2013
e5e7ae1
Implement Bukkit's doubleClick() method for InventoryClickEvent. Stil…
Hidendra Apr 9, 2013
f7784a2
Throwabl, not Exception.
Hidendra Apr 9, 2013
6d2ef60
Fix Block name matching for protectable blocks in core.yml. This fina…
Hidendra Apr 23, 2013
71aec35
fix misc formatting
Hidendra Apr 23, 2013
0f7e798
Replace the enumset used to check if a block is an inventory with a B…
Hidendra May 20, 2013
25c97b7
Updated French language file
fpigerre May 21, 2013
0c1a034
Auto protect can create duplicate protections when blocks are unexpec…
Hidendra Jun 22, 2013
3d1170c
Remove JS
Hidendra Jun 22, 2013
2969468
Merge pull request #627 from psgs/master
Hidendra Jun 22, 2013
8d9c0a3
Metrics R7
Hidendra Jun 29, 2013
cc36fd0
Change version string
Hidendra Jun 29, 2013
c7111ba
Update lwc_cz.properties
AyACZE Jun 30, 2013
b9ac4b8
fullRemoveProtections should update the history table to make the pro…
Hidendra Jul 11, 2013
8d30124
Merge branch 'master' of github.com:Hidendra/LWC
Hidendra Jul 11, 2013
99e5d49
Merge pull request #582 from PhoenixIV/stacktrace_patch
Hidendra Jul 11, 2013
b713dc2
Merge pull request #657 from AyACZE/patch-1
Hidendra Jul 11, 2013
efb6edb
fullRemoveProtections should update the history table to make the pro…
Hidendra Jul 11, 2013
100ee0a
Merge branch 'master' of github.com:Hidendra/LWC
Hidendra Jul 11, 2013
109a799
It looks like the sign blanking bug has been fixed (when cancelling i…
Hidendra Jul 11, 2013
e4cd156
Could swear I ctrl+f'd cremoveall before :-(
Hidendra Jul 11, 2013
d380b4e
Implement chest double click (implemented in MC 1.5). This fixes issu…
Hidendra Jul 12, 2013
26356c7
Allow hoppers to transfer items if the hopper AND inventory it's atta…
Hidendra Aug 19, 2013
e72b569
Prepare for adaptive cache testing with a known-nulls cache. This exi…
Hidendra Aug 19, 2013
b476444
Fix a somewhat long standing bug where you might see "grass" or somet…
Hidendra Aug 19, 2013
d018552
New adaptive cache increasing which can be requested by high-intensit…
Hidendra Aug 19, 2013
bb622ed
protection.removeCache() should remove adjacent blocks that aren't pr…
Hidendra Aug 26, 2013
aa2c8dd
Add findProtection(location) which can be used to avoid precious getB…
Hidendra Oct 9, 2013
ddca6ac
Potentially use one less findProtection call
Hidendra Oct 9, 2013
6037431
simplify expression to xor (simpler to understand)
Hidendra Oct 9, 2013
52be000
Some specific optimizations targeted at hoppers but should help all a…
Hidendra Oct 10, 2013
78b43f5
Revert some changes done by commit 52be0009: precaching all blocks in…
Hidendra Oct 13, 2013
0265839
Add a method counter which right now is just used for the cache in /l…
Hidendra Oct 13, 2013
cac8742
formatting
Hidendra Oct 13, 2013
e4579ef
Restore /lwc admin view
Hidendra Oct 13, 2013
5b01b5f
The null cache doesn't need to be weak (the value is always strong ..…
Hidendra Oct 14, 2013
b92e97b
Hopper events only ever have 1 inventory to select from so instead of…
Hidendra Oct 14, 2013
5229817
The messy hopper protection stuff can be shifted back to the handleMo…
Hidendra Oct 14, 2013
47afa84
More optimizations regarding hoppers. Mainly, only if hoppers aren't …
Hidendra Oct 14, 2013
7d74b25
Fix NPE in Updater
Hidendra Oct 20, 2013
03d11ff
Add second entity explode event that removes protections from blocks …
Hidendra Oct 21, 2013
5b518ec
Properly update cache when a chest is removed from a double chest con…
Hidendra Oct 21, 2013
27c81a0
Fix NPE in LWCBlockListener
Hidendra Oct 24, 2013
63d674c
#742 Updated Danish translation from cannafix
Hidendra Nov 2, 2013
c38016d
Donation chests: Compare enchanted book contents. This fixes being ab…
Hidendra Dec 16, 2013
df3ab12
Auto closing doors: now support trap doors
Hidendra Dec 16, 2013
a150d35
Database connection errors: print out the cause error (more descripti…
Hidendra Dec 22, 2013
c8e7486
Properly handle protected trap doors placed on the upper part of a bl…
Hidendra Dec 22, 2013
b577d6d
Validate protections when a block is placed
Hidendra Dec 23, 2013
57cd759
Switch to maven from ant \o/
Hidendra Dec 25, 2013
7f4bba9
Update readme
Hidendra Dec 25, 2013
c201e67
Fix LWC-Economy - was not loading
Hidendra Jan 1, 2014
eb13844
Move LWC's load time back to startup
Hidendra Jan 1, 2014
d6532d6
Check that block.getState does not throw NPE. Apparently BlockSkull c…
Hidendra Feb 6, 2014
67ab525
#811 Initial UUID work. This is NOT backwards compatible with MC 1.6
Hidendra Apr 21, 2014
d1d1c50
Remove log message, and save when a protection is converted after bei…
Hidendra Apr 21, 2014
4518763
Don't convert protections when they are loaded for now (only when int…
Hidendra Apr 22, 2014
2ed212e
#811 Do not convert protections to UUIDs at the moment until the new …
Hidendra Apr 29, 2014
880acaf
#811 Register protections using a player's name instead of their UUID…
Hidendra Apr 29, 2014
9137675
Fix a cache invalidation bug as reported by andrewkm. Thanks!
Hidendra May 18, 2014
395232f
Fix issue with LWC downloading Linux native libraries on FreeBSD (and…
Hidendra Jul 20, 2014
b883895
*libsqlitejdbc
Hidendra Jul 20, 2014
6ce37d6
Initial update for Minecraft 1.8 to restore compilation.
Hidendra Dec 2, 2014
b5c15db
Support new doors added in MC 1.8.
Hidendra Dec 2, 2014
6151fae
Add the new 1.8 doors to the config by default
Hidendra Dec 2, 2014
aaa9a30
Add travis file
Hidendra Dec 2, 2014
634058e
Add support for new MC 1.8 fence gates.
Hidendra Dec 2, 2014
2f3d535
Add support for MC 1.8 banners (both standing & wall).
Hidendra Dec 2, 2014
805ec72
Add support for MC 1.8 Iron Trap Doors. This includes support for rig…
Hidendra Dec 2, 2014
0a3ec63
Make iron trapdoors protectable by default.
Hidendra Dec 2, 2014
02ced0a
Updater: Don't cause NPEs when using BSD (which atm required PureJava…
Hidendra Dec 4, 2014
88552d8
Private protections: Allow access via the player's name as well as th…
Hidendra Dec 6, 2014
57b4f98
/cmodify @player was not working with later builds because their UUID…
Hidendra Dec 8, 2014
d62cf1a
Remove unused var
Hidendra Dec 8, 2014
5bba25e
Restore compatibility with MC 1.6.4 & 1.7.10 (likely other versions a…
Hidendra Dec 10, 2014
f3e0293
Merge branch 'master' of https://github.com/Hidendra/LWC
Hidendra Dec 10, 2014
68c96db
Add travis webhook
Hidendra Dec 10, 2014
59d8d21
1.8.x door/gate name support
PatchGuru Jan 21, 2015
11fb163
Protections should be created using a player's UUID.
Hidendra Feb 4, 2015
9e23e65
Merge branch 'master' of https://github.com/Hidendra/LWC
Hidendra Feb 4, 2015
2895120
Adapt protection matching to accept BlockState objects.
Hidendra Feb 8, 2015
b761279
Don't let beds replace protections.
Hidendra Feb 8, 2015
c77a734
Fix removing flags
rumickon Feb 14, 2015
8c5c4af
Merge pull request #888 from rumickon/removeflagfix
Hidendra Feb 14, 2015
021f8d1
Add trapped chest support to droptransfer targets
RoyCurtis Feb 18, 2015
e1967ff
Use UUID. Fix /cremoveall, /climits, /lwc admin purge <player>
rumickon Mar 19, 2015
68ea089
Shade MCStats into com.griefcraft.util.mcstats instead of keeping it …
Hidendra Mar 1, 2016
6ba6d41
Merge pull request #881 from PatchGuru/PatchGuru-patch-1
Hidendra Mar 1, 2016
6528722
Merge pull request #902 from rumickon/uuidfix
Hidendra Mar 1, 2016
71811e6
Revert "Use UUID. Fix /cremoveall, /climits, /lwc admin purge <player>"
Hidendra Mar 3, 2016
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
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.idea
.settings
.externalToolBuilders
*.iml
world
bin

.classpath
.project
*.txt
*.bat
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: java
jdk: oraclejdk7
install: true
script: mvn -Dmaven.javadoc.skip=true clean install
notifications:
webhooks:
urls:
- http://api.getlwc.org/events/travisci
on_start: true
addons:
artifacts:
key:
secure: et4n0n8tn9ghMJ0g/tYDN063NYNDotu0JM02hVDUMupGWkwZWKGPgPNWpDnW3To8Fmg5SRLIqphfAnR5t0dyY/Yp6xHXgSzheUA+4376cH6lirrQMRkmZ0nvK909thiy9uNAvPO3vBdP+kEWtLWLqvjv/z9VYMsc4ELrflLZHsc=
secret:
secure: c95q4+B3zAftsvUpTNE80/Q48YPxBVh+Mc5ZJ5wIBQ2SOyPygTca6I4AVBmrL0TQBfjBGmka49MCdvA11aglVT9vPfWxWIT9qSbJmuHXFY5RlUG6wtHlTw3wLnjrAw6zE0RDzG+E2sEDi81ADe43kG/9xMuzYdPjvEpFT5LK5hM=
bucket: artifacts.getlwc.org
paths:
- $(git ls-files -x mcp -x original-*.jar -o *.jar *.zip | tr "\n" ":")
674 changes: 0 additions & 674 deletions COPYING

This file was deleted.

25 changes: 25 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Copyright 2011 Tyler Blair. All rights reserved.

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

1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.

2. 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.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 AUTHOR 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.

The views and conclusions contained in the software and documentation are those of the
authors and contributors and should not be interpreted as representing official policies,
either expressed or implied, of anybody else.
36 changes: 9 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,14 @@
#LWC, the Lightweight Chest Protection plugin
LWC
======

Designed on top of hMod, It is fast and scalable. It does not use flat files, but instead <b>sqlite</b> -- a stateless, serverless SQL engine. In some cases it is actually <i>faster</i> than MySQL and other SQL engines.
*The* chest (and other blocks) protection plugin.

Features
----------------------
Compilation
-----------

* Private chests by Users and Groups or even by Password
* Public chests that anyone can use, but no one can register
* Chest limits--limit the amount of chests a User or Group can register
* Small memory footprint - LWC uses both physical and memory databases and chests are only loaded into memory when they are needed until done with them
* No excessive disk I/O. The disk is only written to when a new Chest is protected, a limit created or an access right created <span style="font-size: .75em;">(for private chests)</span>
* Built in support for double chests: proper recognition only requires you to register one side of a double chest. Internally, only one chest is registered, saving storage space
* much more. some features are largely undocumented!
We use maven to handle our dependencies.

Modes
----------------------
Modes are special features you can activate with commands to either make something easier to give you a useful tool or feature. They are not meant to be overpowered, and as a server admin you can disable any modes you don't want your server to be using.
* Install [Maven 3](http://maven.apache.org/download.html)
* Check out this repo and: `mvn clean package`

(todo)

Converting
----------------------

Are you using ChestProtect? LWC can seamlessly convert every chest from Chest Protect 100% to LWC. If you use a different chest plugin, open a GitHub issue, and it could possibly be created.
To convert a chest, do one of the following:
<b>In-game:</b> `/lwc convert chestprotect`
<b>Console:</b> `java -cp plugins/LWC.jar CPConverter`

Commands
----------------------
You can view the latest commands by typing `/lwc` ingame, and then typing a command to view more information on it
The core LWC plugin will be found inside `core/target/LWC.jar`
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.4.0
251 changes: 251 additions & 0 deletions changelog.md

Large diffs are not rendered by default.

Binary file added core/lib/plugins/BOSEconomy.jar
Binary file not shown.
Binary file added core/lib/plugins/CreeperHeal.jar
Binary file not shown.
Binary file added core/lib/plugins/Essentials.jar
Binary file not shown.
Binary file added core/lib/plugins/Heroes.jar
Binary file not shown.
Binary file added core/lib/plugins/MobArena-v0.94.4.52.jar
Binary file not shown.
Binary file added core/lib/plugins/PermissionsBukkit.jar
Binary file not shown.
Binary file added core/lib/plugins/PermissionsEx.jar
Binary file not shown.
Binary file added core/lib/plugins/Showcase0.7.7.jar
Binary file not shown.
Binary file added core/lib/plugins/Towny.jar
Binary file not shown.
Binary file added core/lib/plugins/Towny_Advanced.jar
Binary file not shown.
Binary file added core/lib/plugins/WorldEdit.jar
Binary file not shown.
Binary file added core/lib/plugins/WorldGuard.jar
Binary file not shown.
Binary file added core/lib/plugins/iConomy5.jar
Binary file not shown.
Binary file added core/lib/plugins/iConomy6.jar
Binary file not shown.
235 changes: 235 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.griefcraft</groupId>
<artifactId>lwc</artifactId>
<name>LWC</name>
<url>getlwc.org</url>
<packaging>jar</packaging>
<version>4.5.0-SNAPSHOT</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
<repository>
<id>md-5</id>
<url>http://repo.md-5.net/content/repositories/snapshots</url>
</repository>

<repository>
<id>Plugin Metrics</id>
<url>http://repo.mcstats.org/content/repositories/public</url>
</repository>

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

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.7.10-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mcstats.bukkit</groupId>
<artifactId>metrics</artifactId>
<version>R8-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>

<!-- Plugin Support -->
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>1.2.27</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.bananaco</groupId>
<artifactId>bPermissions</artifactId>
<version>v2.12-DEV</version>
</dependency>
<dependency>
<groupId>BOSEconomy</groupId>
<artifactId>BOSEconomy</artifactId>
<version>0.7.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/BOSEconomy.jar</systemPath>
</dependency>
<dependency>
<groupId>CreeperHeal</groupId>
<artifactId>CreeperHeal</artifactId>
<version>5.8.5</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/CreeperHeal.jar</systemPath>
</dependency>
<dependency>
<groupId>Essentials</groupId>
<artifactId>Essentials</artifactId>
<version>2.5.7</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/Essentials.jar</systemPath>
</dependency>
<dependency>
<groupId>Heroes</groupId>
<artifactId>Heroes</artifactId>
<version>1.5.1-dev-b1666</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/Heroes.jar</systemPath>
</dependency>
<dependency>
<groupId>iConomy5</groupId>
<artifactId>iConomy5</artifactId>
<version>5.01</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/iConomy5.jar</systemPath>
</dependency>
<dependency>
<groupId>iConomy6</groupId>
<artifactId>iConomy6</artifactId>
<version>6.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/iConomy6.jar</systemPath>
</dependency>
<dependency>
<groupId>MobArena</groupId>
<artifactId>MobArena</artifactId>
<version>0.94.4.52</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/MobArena-v0.94.4.52.jar</systemPath>
</dependency>
<dependency>
<groupId>PermissionsBukkit</groupId>
<artifactId>PermissionsBukkit</artifactId>
<version>1.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/PermissionsBukkit.jar</systemPath>
</dependency>
<dependency>
<groupId>PermissionsEx</groupId>
<artifactId>PermissionsEx</artifactId>
<version>1.13</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/PermissionsEx.jar</systemPath>
</dependency>
<dependency>
<groupId>Showcase</groupId>
<artifactId>Showcase</artifactId>
<version>0.7.7</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/Showcase0.7.7.jar</systemPath>
</dependency>
<dependency>
<groupId>Towny</groupId>
<artifactId>Towny</artifactId>
<version>0.74.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/Towny.jar</systemPath>
</dependency>
<dependency>
<groupId>Towny_Advanced</groupId>
<artifactId>Towny_Advanced</artifactId>
<version>0.76.3.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/Towny_Advanced.jar</systemPath>
</dependency>
<dependency>
<groupId>WorldEdit</groupId>
<artifactId>WorldEdit</artifactId>
<version>4.3</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/WorldEdit.jar</systemPath>
</dependency>
<dependency>
<groupId>WorldGuard</groupId>
<artifactId>WorldGuard</artifactId>
<version>5.0-alpha8</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/plugins/WorldGuard.jar</systemPath>
</dependency>
</dependencies>

<build>
<finalName>${project.name}</finalName>
<defaultGoal>clean package</defaultGoal>

<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.mcstats.bukkit:metrics</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.mcstats</pattern>
<shadedPattern>com.griefcraft.util.mcstats</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>

<distributionManagement>
<repository>
<id>mcstats.releases</id>
<url>http://repo.mcstats.org/content/repositories/releases/</url>
</repository>

<snapshotRepository>
<id>mcstats.snapshots</id>
<url>http://repo.mcstats.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

</project>
Loading