Commit Graph

69 Commits

Author SHA1 Message Date
fullwall
f9497b31c2 Move some methods into AbstractNPC, implement sorted() 2013-11-18 15:18:18 +08:00
fullwall
d9f9861965 Add /npc passive 2013-11-16 15:08:00 +08:00
fullwall
5765d80125 Add /npc swim command 2013-11-15 12:06:18 +08:00
fullwall
3ef703bdcd Allow /npc spawn and /npc despawn to use names as well instead of ids 2013-11-08 00:08:50 +08:00
fullwall
02186a16f6 Remove unused command 2013-11-07 23:47:55 +08:00
fullwall
dc1771d911 Better error message for non-numeric IDs with /npc spawn 2013-11-07 23:47:18 +08:00
fullwall
6c5ebcddee Fix NPC iteration in certain cases 2013-11-06 15:10:11 +08:00
fullwall
dd58a07528 Fix up some erroneous casting, better /npc create behaviour 2013-11-05 22:14:02 +08:00
fullwall
4c9d80a464 Implement new methods, add /npc flyable command, and add some missing messages 2013-11-05 21:35:26 +08:00
fullwall
b4076c23db Use new getEntity() call 2013-11-05 19:29:18 +08:00
fullwall
2e56b1f5e8 Add a new command to set avoiding water while pathfinding 2013-11-04 23:42:32 +08:00
Jeremy Schroeder
8149d1cfff Don't add 1 to y-axis when using -c modifier for /npc anchor. 2013-10-15 21:07:59 -04:00
Jeremy Schroeder
6d30964c75 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
Olof Larsson
ccce8a249a 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
fullwall
d59cdddc2f Remove some usage of deprecated calls 2013-10-01 22:14:03 +08:00
fullwall
42172100ab Work on new waypoint provider 2013-09-26 23:55:12 +08:00
fullwall
57ead921a2 Allow Conversable rather than Player in SelectionPrompt 2013-08-16 12:12:17 +08:00
fullwall
bc5704128a Trim name length to 16 chars not 15 2013-08-14 22:53:00 +08:00
fullwall
0ce5eaeafe Add citizens.npc.trait.* permission 2013-08-11 13:27:47 +08:00
fullwall
ad3e73c384 Call new event 2013-08-11 12:27:54 +08:00
fullwall
5c4af2f4b9 add /npc controllable -y | -n 2013-08-11 12:20:15 +08:00
fullwall
2b0e7af138 Prevent NPE in moveto if NPC is not spawned 2013-08-10 18:03:20 +08:00
fullwall
5df6499dae Allow /npc remove to ignore the ownership requirement when called from console 2013-08-07 23:39:26 +08:00
fullwall
cfcd046d4e Allow /npc remove to be used by the server 2013-08-03 20:57:56 +08:00
fullwall
59af96c467 Implement NPC#teleport (untested) 2013-08-02 15:04:06 +08:00
fullwall
aa353d44e6 Remove HelpCommand, Paginator 2013-07-31 13:38:32 +08:00
fullwall
0a155a7d10 Fix /npc spawn without an NPC selected and /npc spawn with manual location 2013-07-27 17:58:40 +08:00
fullwall
fdadd1df8b Add /npc targetable and update tab list name based on removefromplayerlist setting 2013-07-18 18:48:57 +08:00
fullwall
99c32d932f Implement /npc respawn command 2013-07-14 17:28:35 +08:00
fullwall
e21d6daf48 Remove Util#parseLocation 2013-07-14 13:47:57 +08:00
fullwall
2d973e7575 Add PlayerAnimation#CRIT and MAGIC_CRIT 2013-07-12 20:32:10 +08:00
fullwall
870825d212 Add /npc horse, /npc ocelot, make /npc wolf persist 2013-07-11 12:29:46 +08:00
fullwall
c7057656a3 Add leashable command 2013-07-09 22:01:00 +08:00
fullwall
9b8bef597d Add /npc copier command 2013-07-09 18:07:37 +08:00
fullwall
65bb8f202a Implement new parameter, default USE_NEW_PATHFINDER to true 2013-07-06 12:02:17 +08:00
fullwall
350a63f0b8 Validate target NPC in /npc tp 2013-07-03 18:05:18 +08:00
fullwall
fde461489a Fix controllable NPCs and add -m flag to instamount 2013-07-03 12:36:52 +08:00
fullwall
8d7d8a7261 Fix bug with /npc playerlist, add some mob-specific methods 2013-06-08 18:43:19 +08:00
fullwall
b0519f05b4 Allow /npc spawn to use the selected NPC 2013-05-15 12:08:54 +08:00
fullwall
9797d4cdeb Add some arguments to the /npc path command allowing for pausing and immediate waypoint placing 2013-05-15 11:45:56 +08:00
fullwall
0e4a85bc4a Fix /npc wolf collar parsing 2013-05-08 21:08:12 +08:00
fullwall
9f953a81ed Update to MC 1.4.2 2013-05-03 12:25:24 +08:00
fullwall
7b1005a1a7 Fix /npc gamemode 2013-04-28 21:31:53 +08:00
fullwall
26fee2eccc Add citizens.npc.createall permission for PEX users 2013-04-17 11:41:51 +08:00
fullwall
1a80036bd5 Fixed debug output 2013-04-14 14:55:09 +08:00
fullwall
e75c167da3 Implement new type API 2013-04-12 23:56:18 +08:00
fullwall
569c4a4c51 Remove behaviours and /script command 2013-04-01 20:04:40 +08:00
fullwall
94c16c4efc Allow non-players to have anchors and poses 2013-03-17 11:28:04 +08:00
fullwall
41b4004a37 Rename /npc nameplate to /npc name (may change later) 2013-03-16 15:17:42 +08:00
fullwall
76b2bc3864 add /npc nameplate command 2013-03-16 15:06:04 +08:00