1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-01-18 21:58:00 +01:00

90 Commits

Author SHA1 Message Date
snowleo
a2950c74cb New config setting: protect.prevent.enderman-pickup
Defaults to false
2011-09-21 02:30:58 +02:00
snowleo
2ca0a8b9da Less use of Craftbukkit code, so less things will break on MC update.
Added try/catch around the tnt and creeper protection code. The event will now always canceled, even if our fake explosion code fails.
2011-08-27 20:39:54 +02:00
snowleo
f76afa66a2 Protect detector/powered rails 2011-08-27 17:11:15 +02:00
snowleo
12bf86baac Protect detector/powered rails 2011-08-27 17:09:43 +02:00
snowleo
751de18eaa PVP protection for arrows and other projectiles. Needs cleanup. 2011-08-26 04:46:08 +02:00
snowleo
cdb7e3ccbe Wait 1 second after deactivation of protect to allow the database to close. 2011-08-21 21:27:22 +02:00
snowleo
ec5e2afe51 Revert "Prevent closing already closed statements"
This reverts commit 9c2af4adbfa171ddc55bb60a497f37e8f96aab03.
2011-08-08 18:14:20 +02:00
snowleo
9c2af4adbf Prevent closing already closed statements 2011-08-08 15:56:23 +02:00
snowleo
d5254a2885 Changes to build-impl by Netbeans 2011-08-08 14:40:39 +02:00
snowleo
de498087fa Correcting all line endings to LF 2011-07-24 23:19:12 +02:00
snowleo
44e55e01c8 Added code guidelines to all projects, so we don't need them globally.
Compress jar files
Don't copy lib files into dist folders
Removed vendor names
Changed all java versions to 1.6 to make it consistent.
2011-07-24 04:07:28 +02:00
snowleo
adc446dfa5 Removing the annoying c3p0 start message. 2011-07-19 11:11:59 +02:00
snowleo
9e89425dab Close database connections on plugin deactivation 2011-07-19 10:34:02 +02:00
snowleo
64f27c9b53 New config settings for Protect:
protect.prevent.tnt-playerdamage
protect.prevent.fireball-fire
protect.prevent.fireball-playerdamage
2011-07-18 07:22:28 +02:00
snowleo
cd4c21378c Split build and use protection 2011-07-18 02:30:05 +02:00
snowleo
f5f04b032a Protect Rails and other signs from pistons 2011-07-18 01:39:41 +02:00
snowleo
d2e1b2435f Cleaned deprecated functions 2011-07-18 01:17:24 +02:00
snowleo
6733d177df Piston push blacklist 2011-07-18 01:05:42 +02:00
snowleo
a710cd2a95 Fixes to EssentialsProtect that will remove conflicts with WorldGuard and other protection plugins. 2011-07-16 17:04:25 +02:00
snowleo
616b880e13 Heavy cleanup of all classes
ItemDb is not static anymore
Essentials.getStatic() removed
2011-07-16 01:33:22 +02:00
snowleo
46fe38c03e Log Protection alerts to the console
Also added the world name, which was missing.
2011-07-15 19:52:29 +02:00
snowleo
ef4a3df168 Now fireball explosion prevention has it's own config settings (was catched by tnt explosion prevention before) 2011-07-06 01:24:54 +02:00
snowleo
4a2a8f2ce0 Bounce projectiles, if they are cancelled. 2011-07-06 01:13:03 +02:00
ementalo
cb09f41969 Updating for huge renames in #939 2011-06-28 23:32:30 +01:00
snowleo
496f2ea19f Deprecating the old sign code and adding the new code.
Please test everything without EssentialsProtect. The signs should protect themselves.
2011-06-26 16:17:45 +02:00
snowleo
60b89c6e3c Fix unbreakable blocks 2011-06-23 15:57:52 +02:00
snowleo
5dc1a70bcb Merge branch 'bukkitupdate'
Conflicts:
	EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
2011-06-23 13:49:37 +02:00
snowleo
bceaf01595 Added TargetReasons of wolfs 2011-06-23 13:14:26 +02:00
snowleo
b0ed17e20f Only get data from valid rows
Fixes #641
2011-06-23 12:22:52 +02:00
snowleo
da547981a8 Prevent lava bucket placed in air (far away from user)
event.isCancelled() does not return the expected value
2011-06-12 16:15:50 +02:00
snowleo
627a75657c Another missing part 2011-06-12 14:54:56 +02:00
snowleo
ba6ef52438 The permission is essentials.protect.ownerinfo 2011-06-12 14:32:28 +02:00
ementalo
00f4586500 Protect: Remove protection when attached block is destroyed 2011-06-11 16:05:14 +01:00
ementalo
3f736d9713 Protect: Get block owners on right click block only 2011-06-11 08:37:05 +01:00
snowleo
396ee62393 Fix dependency
Loading from lib won't work, so back to the old method.
2011-06-07 21:55:31 +02:00
snowleo
275c865de3 Major cleanup of the Protect code 2011-06-06 22:29:08 +02:00
ementalo
3aa78a78df [trunk] Protect, add missing listener
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1587 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-05 21:36:47 +00:00
ementalo
3c05ce0d63 [trunk] Protect, more merges
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1586 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-05 19:09:29 +00:00
ementalo
8bad78402a [trunk] Protect, move some bits about
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1582 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-03 21:03:08 +00:00
ementalo
9734dd4d27 [trunk] Protect, merging changes in
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1581 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-03 20:56:29 +00:00
ementalo
91c80d45e6 [trunk] Adding dependancy checker, need to fix timings as Protect tries to use it before the file system finishes
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1579 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-03 14:23:55 +00:00
ementalo
36ee673798 [trunk] Fix the build, bundling the c3p0 jar inside protect for the moment
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1578 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-03 07:57:35 +00:00
ementalo
d0b1d02a15 [trunk] Protect refactors (formally known as 3.0) needs ***EXTENSIVE*** testing
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1574 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-02 23:09:59 +00:00
snowleo
641ec230d6 Missed some parts for the last commits
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1555 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-01 11:26:12 +00:00
snowleo
e776db66fe CB#812
Fix for change in the minecraft class structure.
Do not use this yet!

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1538 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-26 14:50:13 +00:00
snowleo
38ba163a36 cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1520 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-22 20:06:17 +00:00
snowleo
629586dc0b cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1519 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-22 20:05:47 +00:00
snowleo
1418708fa4 Added permissions to bypass EssentialsProtect damage protection.
Change for admin!
Since we don't want to murder all admins, I added another permission:
essentials.protect.damage.disable
Since all admins get this by using '*', all those damage permissions are disabled
Don't use - -essentials.protect.damage.* as I stated in the last commit.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1479 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 12:33:17 +00:00
snowleo
f2f6c3fdaa Added permissions to bypass EssentialsProtect damage protection.
As admin you want to disable this with
- -essentials.protect.damage.*

New permissions:
essentials.protect.damage.contact
essentials.protect.damage.lava
essentials.protect.damage.tnt
essentials.protect.damage.creeper
essentials.protect.damage.projectiles
essentials.protect.damage.fall
essentials.protect.damage.suffocation
essentials.protect.damage.fire
essentials.protect.damage.drowning
essentials.protect.damage.lightning

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1476 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 12:10:24 +00:00
snowleo
f86ebef670 Move Register stuff inside Essentials
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1454 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-13 23:39:18 +00:00