Commit Graph

1411 Commits

Author SHA1 Message Date
asofold
7a84ed371b Add module for build parameter info.
This is needed with the current technique in order to have it available
at the time of testing NCPCommons.
2013-02-27 00:46:56 +01:00
asofold
33af656b29 Add support for build parameters (example: EXTENSIVE_TESTING).
We can put through build parameters for testing and other purposes so
NCP can see them during testing or runtime otherwise. Not sure this is
the final version, though.
2013-02-26 23:14:33 +01:00
asofold
4958913d1e Fix opposite-direction increments in ray-tracing. 2013-02-26 20:26:46 +01:00
asofold
7baac6bb38 Extend tests for RayTracing. 2013-02-26 20:25:37 +01:00
asofold
e3166783bc [BLEEDING] Use same yOnGround for noFall by default.
This should be handled by workarounds in survivalfly
(noFallAssumeGround).
2013-02-26 18:37:41 +01:00
asofold
9e4badbe4e Add comment. 2013-02-26 18:36:43 +01:00
asofold
62102c7d8b Treat small range teleports differently. [Ticket: BukkitDev-452] 2013-02-26 17:52:56 +01:00
asofold
ac048474b7 Allow interacting with the block at head height if stuck. 2013-02-26 02:32:48 +01:00
asofold
a5cc3f819f Add option to use permission subscriptions for in-game-chat logging.
See: https://github.com/NoCheatPlus/NoCheatPlus/pull/14 (@Cobi)

This allows will still check the players with stored permissions
but re-check their permissions.
2013-02-26 01:58:21 +01:00
asofold
ee400b7525 Keep track of online players for performance reasons.
Due to Server.getPlayerExact iterating over all online players,
DataManager will now keep track of online players and allow lookup by
exact name and lower-case name.
2013-02-26 00:39:48 +01:00
asofold
f37fd4b166 Allow exemption for prevention of breaking special blocks (e.g. liquid). 2013-02-24 14:30:38 +01:00
asofold
7889868905 Merge pull request #13 from MyPictures/master
Update for the plugin.yml
2013-02-23 12:55:20 -08:00
MyPictures
7ea09b7b61 Update plugin.yml
- Add missing admin.debug permission
- Rename InstantHeal to FastHeal
2013-02-23 21:41:56 +01:00
asofold
268265afde Remove blockbreak and fight data on reloading. 2013-02-23 17:49:56 +01:00
asofold
b72b51e317 Allow exemption for blockplace/against checks.
Adds a CheckType for this purpose.
2013-02-23 17:09:15 +01:00
asofold
47862a651f We use liquid, not fluid. 2013-02-23 16:54:50 +01:00
asofold
1c0a40e36a Merge pull request #12 from th3rdplanet/patch-1
Don't be too condescending in default kick messages.
2013-02-22 10:19:02 -08:00
Mike Savoie
ae193a8598 Don't be so condescending in default kick messages. 2013-02-21 20:43:26 -05:00
asofold
fafb27a131 Dump block properties in a task whenever they are reset.
Better schedule it with a task, to get other plugins changes.
Also get dumped on /ncp reload, seems to be better, though it can mean
spam.
2013-02-20 22:30:55 +01:00
asofold
0a031a0a92 [BLEEDING] Add hidden config option to override block flags.
This allows to override arbitrary blocks block-flags.
2013-02-20 22:09:31 +01:00
asofold
33abae929b Should have used a regex :p. 2013-02-20 22:04:43 +01:00
asofold
c16ccd8435 Add convenience method to StringUtil for splitting by chars. 2013-02-20 21:18:16 +01:00
asofold
f7ca2da065 Add data value to debug.output method. 2013-02-20 20:56:05 +01:00
asofold
3827fac67a Add methods for getting block-flag-names and parsing flags.
Also add extended output to BlockProperties.dumpBlocks.
2013-02-20 20:33:39 +01:00
asofold
e6961a757b Move some debugging code to a utility. 2013-02-20 19:43:54 +01:00
asofold
354e7e456d Correct fastheal actions. 2013-02-20 18:42:17 +01:00
asofold
1e71a02449 Update javadocs: return value. 2013-02-20 18:32:45 +01:00
asofold
66da361c5d Fix fight.speed not getting registered properly.
Should use addCheck in order to have the stored MCAccess instance reset
properly on reloading. Little relevance with this check.
2013-02-20 18:27:22 +01:00
asofold
6eeb3ae89d Add missing strings entry for fastheal. 2013-02-20 18:10:17 +01:00
asofold
db5a71d6d2 [Bleeding] Add FastHeal check.
Might need lower interval and higher buffer in the default config,
subject to testing.
2013-02-20 17:02:48 +01:00
asofold
4a2dfc853e Something against criticals.
NoFall will now reset fall distances to 0 if the player walks on ground
(configurable: anticriticals).
2013-02-19 02:25:49 +01:00
asofold
2304abd6e8 Add nofall fall distance to fight.criticals debug message. 2013-02-19 01:49:59 +01:00
asofold
52eb97026c [BLEEDING] Revive direction checking. Optimizations. 2013-02-18 02:55:46 +01:00
asofold
faa9a8637c Explicitly set STEP as solid.
Hopefully fixes an issue with another plugin.
2013-02-17 22:37:53 +01:00
asofold
1effa80021 Tighten blockinteract.speed limit to 60. 2013-02-17 20:21:38 +01:00
asofold
cd2cb78ad6 Don't forget to increase the VL. 2013-02-17 19:54:06 +01:00
asofold
3bb6e94432 Merge branch 'master' of https://git@github.com/NoCheatPlus/NoCheatPlus.git 2013-02-17 19:49:25 +01:00
asofold
6112d5b9fb [Bleeding] Add interact.speed check. 2013-02-17 19:45:49 +01:00
asofold
dd5f094472 Adjust debug message. 2013-02-17 19:44:50 +01:00
asofold
277d062763 Attempt to fix issues with piston-extension. 2013-02-17 19:05:57 +01:00
asofold
0d3f63e8c3 Fix interact-ray-tracing workaround. 2013-02-17 18:15:46 +01:00
asofold
48ffb2f09f [Bleeding] Add blockinteract.visible check.
This check performs somewhat heuristic ray-tracing to see if a block
interacted with can actually be "seen", in terms of not reaching
through fully solid blocks. [Still needs for performance: more refined
conditions when to use + interact-speed check].
2013-02-17 17:49:50 +01:00
asofold
3f7e2d44f1 Add heuristic InteractRayTracing. 2013-02-17 17:33:14 +01:00
asofold
89cbbfdddb Optimize/correct block-interact checking. 2013-02-17 17:04:06 +01:00
asofold
5f5d571264 Also prevent using item-in-hand or using interacted-block fpor
cancelled interact events.
2013-02-17 16:25:28 +01:00
asofold
1d44fe66be Check BlockInteract first. 2013-02-17 16:20:13 +01:00
asofold
28a28b2e54 Fastest return first. 2013-02-17 14:32:29 +01:00
asofold
5c3f79c09d Add convenience methods to BlockCache. 2013-02-17 14:21:23 +01:00
asofold
68a807a564 Correct a method name in BlockProperties.
Old one is deprecated now.
2013-02-17 14:07:22 +01:00
asofold
3dbe5fcda8 Add constructor without arguments to RayTracing for convenience. 2013-02-17 13:56:13 +01:00