Commit Graph

1113 Commits

Author SHA1 Message Date
asofold
34d6f2ff31 Add "grace" parameter to the FastBreak config to replace
buckets.contention.

For compatibility buckets.contention is still read and the maximum of
both
is
used.
2012-11-15 11:39:23 +01:00
asofold
b4302edc48 Adapt bounds for onground checking minimally (back to 0). 2012-11-15 00:15:18 +01:00
asofold
e9a3fc6974 Adapt debug message for NoFall. 2012-11-15 00:13:58 +01:00
asofold
68a4145971 Adjust commands usage/info messages. 2012-11-14 20:36:26 +01:00
asofold
da52663523 SF: Fix for vertical accounting. 2012-11-14 18:35:05 +01:00
asofold
f786aa844a Add @Override to BlockCache methods. 2012-11-13 11:19:54 +01:00
asofold
e0e5998f04 Experimental: Do not rely on the actual players bounding box.
Just takes into account EntityPlayer.width/2 and Player.getEyeHeight.
2012-11-12 11:59:34 +01:00
asofold
f89cc50a6e collidesBlock: Assume full block bounds for stairs. 2012-11-12 11:53:55 +01:00
asofold
c282b8c648 Add some comments, reorder condition at lostground check. 2012-11-12 11:50:33 +01:00
asofold
040947b6d3 Make NCP listeners identifiable by implementing ComponentWithName
(adding NCPListener, CheckListener).
2012-11-12 09:04:43 +01:00
asofold
448ae2249b Move boatsanywhere to blockplace. 2012-11-11 17:43:57 +01:00
asofold
c1bb11a725 Bleeding: Adjust reset-conditions for set-back location and similar. 2012-11-11 17:11:04 +01:00
asofold
cf99770902 Prefer these. 2012-11-11 16:11:23 +01:00
asofold
9f25bff64c Let collides find fences if searched for (does not find some fences for
F_GROUND or F_SOLID, if those should be searched for).
2012-11-11 13:41:38 +01:00
asofold
655c620cb6 Account for 1.5 block high blocks in collidesId and collidesBlock. 2012-11-11 13:26:13 +01:00
asofold
6ee59c858a Config had been changed in b236. 2012-11-11 13:16:58 +01:00
asofold
f500afd713 Fix isInWeb. 2012-11-11 13:16:38 +01:00
asofold
a1655371ff Add convenience methods and pull some loop bounds to local variables. 2012-11-11 13:07:24 +01:00
asofold
d4f29e8d77 Fix isAboveStairs. 2012-11-11 12:53:18 +01:00
asofold
7fff252863 Fix CoordMap [test cases to be integrated later]. 2012-11-10 17:31:17 +01:00
asofold
915987f9d3 Sharpen NoFall: Deal damage on SF violations, include the players
location into max/min.
2012-11-10 13:32:31 +01:00
asofold
f18b7b2c7d You can move on cocoa. 2012-11-10 12:32:30 +01:00
asofold
2dd8d58540 Make spider prevention less strict (allow blocks below other colliding
blocks 
with
ign_passable set to be regarded as ground).
2012-11-09 21:19:40 +01:00
asofold
9ddb442bc9 Add trap_door to ignorepassable default config. 2012-11-09 21:17:47 +01:00
asofold
f044db166b Fix Actionfrequency.fromLine [need to add test cases]. 2012-11-09 20:46:07 +01:00
asofold
131ad3356f Fix and extend ActionFrequency. 2012-11-09 20:24:06 +01:00
asofold
d36cbe787a Correct comments (revert aggressive renaming effects). 2012-11-09 15:04:13 +01:00
asofold
4120ca9bd7 LogAction: no longer check the config file for flags.
The optimized actions will have done that beforehand.
2012-11-09 14:46:56 +01:00
asofold
9f4896b47c Make use of the optimized action lists. 2012-11-09 14:42:07 +01:00
asofold
a6003fc820 Use NoCheatPlus.sendAdminNotifyMessage in LogAction. 2012-11-09 14:30:08 +01:00
asofold
e0aca1a6eb Add pinpoint notification and getting players by permission support
(cached).

This adds the ability to keep track of players with a certain
permission with world-specific resolution (world changes, join, quit,
kick). Also adding a static access method to NoCheatPlus to notify all
with administration.notify permission.
2012-11-09 14:29:51 +01:00
asofold
a7b45fc3d4 Add basic support for getting an optimized ActionList. 2012-11-09 13:51:24 +01:00
asofold
71aaba2ea8 Store message in ActionWithParameters. 2012-11-09 11:57:33 +01:00
asofold
006d987518 Optimize ActionWithParameters.
Only return true for needsParameters() if a wildcard is present at all.
2012-11-09 11:13:05 +01:00
asofold
4cb953e2bb Change DummyAction to always execute.
there shpould not be any history for this, so execute it always.
2012-11-09 11:08:03 +01:00
asofold
c824f54c3d ExecutionHistory: Do not add entries for actions that always execute. 2012-11-09 10:28:57 +01:00
asofold
eed05511a6 Add Action.executesAlways . 2012-11-09 10:23:47 +01:00
asofold
6f41bad624 Refactor slightly to hide SimpleCommandMap (ongoing). 2012-11-09 10:17:07 +01:00
asofold
d4e171b9c9 Add getter: ViolationData.getPermissionSilent. 2012-11-09 09:24:39 +01:00
asofold
8ac003508f Adapt to LogUtil use. 2012-11-09 08:47:24 +01:00
asofold
b158d5369a Deprecate some methods, delegate to LogUtil. 2012-11-09 08:39:04 +01:00
asofold
86695a8cb0 Add LogUtil to bundle some static access methods. 2012-11-09 08:37:55 +01:00
asofold
ff5db38d0e GenericListener: Don't handle events that can't be handled.
For some reason this is needed.
2012-11-08 19:47:37 +01:00
asofold
e17cb6f5dd SF: Make horizontal-accounting a hidden setting for the moment. 2012-11-08 19:16:02 +01:00
asofold
7f747e9c18 MovingListener: Do more for dead players. 2012-11-08 19:09:12 +01:00
asofold
dd74accab8 Tweak NoFall.
For maximum and minimum y also consider player.getLocation(). For the
most normal cases it does not matter, but it can matter.
2012-11-08 18:56:25 +01:00
asofold
b531091e7f Add method for reset condition to PlayerLocation. 2012-11-08 18:33:28 +01:00
asofold
fdd5bf3b58 SF: Split off workaround from main method. 2012-11-08 18:04:29 +01:00
asofold
d59ba6fd19 SF: Simple re-structure for after-failure permission checks. 2012-11-08 17:52:27 +01:00
asofold
ee8244ecbc Re-work accounting for survivalfly slightly. 2012-11-08 16:44:47 +01:00