Commit Graph

1030 Commits

Author SHA1 Message Date
fullwall eb6665900b Fix packet sending 2014-03-12 16:23:12 +08:00
fullwall 1413951b00 Fix pom 2014-02-18 20:36:17 +08:00
fullwall d127841a34 Packet update delay setting 2014-02-18 20:25:28 +08:00
fullwall f211b382cf Respect canSee for 1.6.x 2014-02-18 20:19:12 +08:00
fullwall b8bfd52bc7 Add a blockStrengthModifier to BlockBreaker.Configuration and implement setPaused/isPaused in CitizensNavigator 2013-11-23 00:40:09 +08:00
fullwall 666d9cb210 Move some methods into AbstractNPC, implement sorted() 2013-11-18 15:18:18 +08:00
fullwall 5a38194a1c Be null-safe in EventListen 2013-11-17 23:21:03 +08:00
fullwall 0c403ed88e Add /npc passive 2013-11-16 15:08:00 +08:00
fullwall b1b98c0313 Add /npc swim command 2013-11-15 12:06:18 +08:00
fullwall 02d9b559e4 Remove stack trace printing for trove support 2013-11-14 23:24:10 +08:00
fullwall 7d0476d101 Allow trove to be optional 2013-11-13 14:25:43 +08:00
fullwall f7d921648e Relocate trove lib to lib.trove 2013-11-13 14:09:10 +08:00
fullwall 2761d4bb5a Update pom - Minimise trove dependency 2013-11-13 00:27:45 +08:00
fullwall 2466be1a09 Deprecate ByIdArray and pull in trove for better NPC storage 2013-11-12 12:01:42 +08:00
fullwall d7e3d03ce6 Fix iterator implementation 2013-11-11 11:53:41 +08:00
fullwall c4c1594e4b Allow /npc spawn and /npc despawn to use names as well instead of ids 2013-11-08 00:08:50 +08:00
fullwall 79fcba4ec7 Remove unused command 2013-11-07 23:47:55 +08:00
fullwall 3cbc8f7ebe Better error message for non-numeric IDs with /npc spawn 2013-11-07 23:47:18 +08:00
fullwall b2b89345dd Fix iterator remove() for NPCs 2013-11-07 00:24:26 +08:00
fullwall 5ae1f15a69 Fix NPC iteration in certain cases 2013-11-06 15:10:11 +08:00
fullwall c1738d2004 That won't work 2013-11-06 12:59:44 +08:00
fullwall b47a00d027 Make priority for controllable LOWEST 2013-11-06 12:58:40 +08:00
fullwall 7246e4935e Implement migration method 2013-11-06 11:37:15 +08:00
fullwall ceda94a0e5 Fix getBukkitEntity() for nulls 2013-11-06 00:58:20 +08:00
fullwall e20baeb870 Fix up some erroneous casting, better /npc create behaviour 2013-11-05 22:14:02 +08:00
fullwall 5a5fd0c83f Fix incorrect import in NMS 2013-11-05 21:44:01 +08:00
fullwall a40aa327b5 Move FlyingUtil methods to NMS and Util 2013-11-05 21:38:08 +08:00
fullwall 174389cc80 Implement new methods, add /npc flyable command, and add some missing messages 2013-11-05 21:35:26 +08:00
fullwall 7803313e8c Use new getEntity() call 2013-11-05 19:29:18 +08:00
fullwall 05f3667a37 Ignore cancelled block click events 2013-11-05 13:17:36 +08:00
fullwall f3c6cdcede Set event priorty to MONITOR for right click entity events 2013-11-05 13:08:01 +08:00
fullwall 923d078604 Add a new command to set avoiding water while pathfinding 2013-11-04 23:42:32 +08:00
fullwall f1189e5c4b Add FlyingAStarNavigationStrategy 2013-11-04 21:33:56 +08:00
fullwall 133ea9e0db Send movement updates more often 2013-10-27 18:01:28 +08:00
fullwall 64e33f234d Change EnderCrystalMarker to use endersignals instead 2013-10-21 00:38:51 +08:00
fullwall 1ae40ebc72 Change debug-pathfinding node 2013-10-21 00:26:01 +08:00
fullwall 3a084f6159 Remove debug code in guided waypoint provider, add 'toggle path' to avoid showing waypoint markers 2013-10-21 00:24:48 +08:00
fullwall a7a6b54d39 Remove waypoint provider goal when providers change 2013-10-21 00:13:03 +08:00
fullwall 01c7338555 Add debug-pathfinding setting 2013-10-20 18:52:57 +08:00
fullwall f04fa76774 Set pathfinding range on strategy switch 2013-10-20 00:11:53 +08:00
fullwall 262f4353a6 Merge branch 'master' of https://github.com/CitizensDev/Citizens2 2013-10-17 15:28:06 +08:00
fullwall 215a834458 Ignore cancelled right click events 2013-10-17 15:27:53 +08:00
Jeremy Schroeder 150eab01ad Don't add 1 to y-axis when using -c modifier for /npc anchor. 2013-10-15 21:07:59 -04:00
Jeremy Schroeder ce7b7a77e4 Formatting to Pose toString(), add 1 block in the y-axis to '/npc anchor --add name -c' to avoid NPCs having anchors waste-deep. Have /npc anchor show anchors which are 'currently unloaded'. 2013-10-15 20:57:41 -04:00
Jeremy Schroeder 5fb0d74d18 Allow anchors for locations in worlds which are currently not loaded. 2013-10-15 20:56:20 -04:00
Jeremy Schroeder 2aff2b82ca Fix SpeechController 'Chat' VocalChord when talkign with multiple entities. 2013-10-15 20:54:58 -04:00
fullwall 551e1e8617 Merge pull request #26 from oloflarsson/betterperms
Add missing permission nodes for a few traits.
2013-10-03 07:08:42 -07:00
Olof Larsson acd4053bce Add missing permission nodes for a few traits.
I missed a few traits when creating permission nodes in my previous pull request. In this pull request I have added the missing ones by taking a look in the class "net.citizensnpcs.npc.CitizensTraitFactory".

Signed Off By: Olof "Cayorion" Larsson
2013-10-03 12:06:11 +02:00
fullwall a3ced8744d Merge pull request #25 from oloflarsson/betterperms
Superperms compliant plugin.yml. Fixes CITIZENS-705.
2013-10-03 02:42:21 -07:00
Olof Larsson 818c620a6e Superperms compliant plugin.yml. Fixes CITIZENS-705.
In this commit I have registered all permissions used in the source code. I have also manually created all applicable wildcard (.*) nodes. By doing this no external
permission manager plugin is required. Additionally external permission managers that are superperms based will now work without bugs.

This commit is 99% backwards compatible current server configurations. The only change made to the nodes is the removal of underscores in citizens.npc.controllable.*
permissions. This change was made to achieve consistency with citizens.npc.create.* permissions.

Signed Off By: Olof "Cayorion" Larsson
2013-10-03 03:02:46 +02:00