Commit Graph

71 Commits

Author SHA1 Message Date
asofold
cf1c89d646 [BLEEDING] Change message sending queue from per-player to global.
Adds an API to queue messages (thread safe).
2013-07-14 22:04:42 +02:00
asofold
821dc34d7a Schedule sending the chat.text warning message.
Thread safety not guaranteed by API.
2013-07-14 20:29:21 +02:00
asofold
00836ac9d7 Change event priorities (join/world-change) + delay some admin messages. 2013-07-14 20:12:19 +02:00
asofold
f55e0d5742 Alter config version handling + make notification configurable.
Versions are saved in a subsection instead of the comment-header.
2013-07-14 19:19:07 +02:00
asofold
54273687b0 Some comments and javdocs. 2013-07-14 17:30:46 +02:00
asofold
98c64003a2 Add flyspeed and walkspeed to debug output for moving (debug level>0). 2013-07-14 12:50:04 +02:00
asofold
742e6e309c Quick fix for carpets: Allow standing inside/on.
This is somewhat incomplete, because players can pass through.
2013-07-13 21:40:34 +02:00
asofold
c30105d6b7 Fix passable alerts with fence gates.
This workaround allows the block transition from above a 1.5 high block
into the block, for the case both from and to have been inside of the
bounds of the block. This should fix the annoying bug with jumping
inside of an open fence gate, closing it while just above 1.0 height,
so that passable would alert for moving back from air into the block.
2013-07-12 19:53:40 +02:00
asofold
d7ca742c57 [BLEEDING] Fixes for passable/rt preventing moving out of blocks.
Passable/ray-tracing might disallow players moving out of blocks which
they are stuck in on some occasions.
In order to allow moving out of a block, ray tracing is repeated
with the first block ignored for some cases.
2013-07-12 19:27:27 +02:00
asofold
ee0ca14cef Provide a tag for passable violations [not in strings]. 2013-07-12 18:02:57 +02:00
asofold
81b528f90b Allow "step-up" even if in web. 2013-07-12 17:28:07 +02:00
asofold
6f232e5dde Shuffle checks in fight listener 2013-07-11 01:51:36 +02:00
asofold
a8d1aded59 [BLEEDING] Adapt to health changes + set NCPCore dependency to 1.6.1. 2013-07-10 01:55:56 +02:00
asofold
ccc9c74a76 Remove double plus. 2013-07-09 17:59:27 +02:00
asofold
543dcf57f5 Metrics/ticks: Use rounding + de-tweak counting up to 20. 2013-07-09 17:16:47 +02:00
asofold
e1babee538 MCAccess: Get rid of Block_i method. 2013-07-09 12:05:06 +02:00
asofold
e69741f5dc Simplify MCAccess version tags for support of multiple sub-versions. 2013-07-09 11:47:16 +02:00
asofold
4035719597 Use a utility for getting the damage of damage-events as well. 2013-07-06 22:28:43 +02:00
asofold
9edfb14103 Move workarounds for health-API changes to a utility. 2013-07-06 20:37:11 +02:00
asofold
a7581d509d [TEST] Fix reflection for health changes. 2013-07-06 18:53:21 +02:00
asofold
fb4614d101 Use minimum of health and max health. 2013-07-06 16:07:57 +02:00
asofold
f315336005 [TEST] Attempt to fall back to reflection for health issues (one spot). 2013-07-06 15:48:26 +02:00
asofold
e60006d6a3 Update pom.xml descriptions. 2013-07-06 14:49:24 +02:00
asofold
8929108152 Add option to not send any motd, move config for it to its own section. 2013-07-03 18:32:47 +02:00
asofold
4a581f8f91 I said i would try the endless loop one time. 2013-07-03 13:16:12 +02:00
asofold
01c3252f79 [BLEEDING] Auto detect "missing" VehicleMove events.
Like with pigs, players can ride other entities than would fire
VehicleMove events. To counter this NCP will detect for which entities
those events are fired and do the packet checks for those that don't.
2013-07-02 22:36:48 +02:00
asofold
d11e91f2e4 [BLEEDING/INSTABLE] Roughly adjust to 1.6.1 Bukkit API changes. 2013-07-02 12:13:33 +02:00
asofold
f894a8da39 [BLIND] Add factory for vanilla blocks + early addition of 1.6 blocks. 2013-07-01 15:34:33 +02:00
asofold
cd9930d3c0 Forgot that step. 2013-06-30 22:45:27 +02:00
asofold
3ba5f311b1 Add missing @GlobalConfig. 2013-06-30 22:27:22 +02:00
asofold
480264d0f1 Optimize ColorUtil.
* Use ChatColor.translateAlternateColorCode
* Use more (still too) complicated but faster method for color removal.
2013-06-30 22:24:57 +02:00
asofold
4085223594 Make messages configurable for hiding plugins. 2013-06-30 20:00:12 +02:00
asofold
3b337d968d Change config path for protectplugins. 2013-06-30 19:28:52 +02:00
asofold
90783e290f Lost update... 2013-06-30 03:03:43 +02:00
asofold
78f453c5c2 Update metrics. 2013-06-30 02:49:26 +02:00
asofold
3880808d06 [BLIND] Attempt to catch open inventories for portals and world changes. 2013-06-30 00:07:54 +02:00
asofold
c25b774721 Add hook versions to the "ncp version" command. 2013-06-22 17:13:54 +02:00
asofold
eca9c26be5 Attempt to fix high jump effect (5) + survivalfly (step). 2013-06-12 15:37:59 +02:00
asofold
21442c4e22 Use a filter permission to see if a player can use the root command.
The permission is set as child of all command permissions 
(sub commands of the root command). This is done in post enable to not
have to add it 100 times to the plugin.yml. Hopefully permission plugins
handle this right, superperms (permissions.yml) does.
2013-06-12 02:08:22 +02:00
asofold
00696c1624 Correct order of permission checking for the root command. 2013-06-12 01:08:10 +02:00
asofold
ae2d6142d9 Add command to turn notifications off and on again (per player). 2013-06-12 00:53:40 +02:00
asofold
4811fefb05 [COMMAND CHANGE] Remove delay feature from ncp ban/kick/tell/tempkick.
"ncp delay..." still is available.
2013-06-11 21:33:33 +02:00
asofold
8ea5eccaa0 Put commands on feet.
* Add a new base class for better sub-command handling also for
tab-completion (AbstractCommand).
* Alter package structure slightly, to group command-classes by purpose.
* Some renaming.
2013-06-11 21:17:06 +02:00
asofold
888c7d937a Add tags to PlayerData + implement a notify-off tag.
Not sure this is that much final, but PlayerData can now carry tags.
NoCheatPlus.sendAdminNotify... will now check PlayerData for the
"notify_off" tag, as a preparation for a command to turn off
notifications.
2013-06-11 20:06:57 +02:00
asofold
1d53115abe [BLEEDING] Add option to set prefixes for the logging messages. 2013-06-11 01:23:35 +02:00
asofold
2bf28c4982 [BLEEDING] Move configuration for logging back-ends to sub-sections. 2013-06-11 00:36:43 +02:00
asofold
be91af4e51 Rework PathUtils.
* Add processing for a new @Moved annotation for moving content to other
paths.
* Remove deprecated paths.
* Changed visibility of some static methods.
* Moderate renaming.
* Remove unused set.
* Ensure only string fields are processed (potential future issue).
2013-06-11 00:13:31 +02:00
asofold
b84235d31f Prefer this formatting, rather. 2013-06-10 19:27:13 +02:00
asofold
7805d8d486 Add ability to warn for use of deprecated paths. 2013-06-10 19:10:38 +02:00
asofold
228a6478a8 Remove RootConfPaths. 2013-06-10 18:32:43 +02:00