Commit Graph

293 Commits

Author SHA1 Message Date
aPunch
588cfff8cb admins can override ownership 2012-02-19 11:07:19 -06:00
aPunch
5b6e73f10d remove tests temporarily 2012-02-19 10:08:41 -06:00
aPunch
a7fa8b950d added ability for NPCs to chat to one player only 2012-02-18 16:29:29 -06:00
aPunch
8340fa9c76 fix NPE 2012-02-18 12:47:57 -06:00
aPunch
5d9f637ee0 change to selection, add /npc remove command for permanent removal 2012-02-17 22:53:28 -06:00
aPunch
369e2c798e fix commands 2012-02-17 21:25:17 -06:00
aPunch
6e6c9eb167 added /npc 2012-02-17 18:37:33 -06:00
aPunch
8b21ec5b3f added more messaging flags 2012-02-17 11:48:33 -06:00
fullwall
64559a9579 Fix pom.xml 2012-02-17 15:48:20 +08:00
aPunch
db8d5cb02b work now 2012-02-16 17:56:25 -06:00
aPunch
f1f0bcddea work now 2012-02-16 17:48:07 -06:00
aPunch
e2807d9baf work now 2012-02-16 17:40:20 -06:00
aPunch
dd1076d048 test jenkins 2012-02-16 17:33:01 -06:00
aPunch
88822dca0f added temporary selection API until Bukkit adds metadata 2012-02-14 05:45:50 -06:00
fullwall
cfb7bfe1e0 Revert "Changes to inventories"
This reverts commit ffe0fecc9b.
2012-02-14 19:38:44 +08:00
fullwall
ffe0fecc9b Changes to inventories 2012-02-14 18:52:22 +08:00
aPunch
659b1c7dde player tag for messages 2012-02-13 07:08:36 -06:00
fullwall
1693202784 Implement minecraft-like AI system 2012-02-13 19:48:38 +08:00
aPunch
f77e1e71ec customizable chat prefix 2012-02-12 12:29:33 -06:00
aPunch
b35d5f05cd fix 2012-02-12 09:54:25 -06:00
aPunch
6481ea948d fix metrics bug 2012-02-12 04:02:36 -06:00
aPunch
7af4fd113e fix import errors 2012-02-12 02:00:19 -06:00
fullwall
38ae2936af Delete files 2012-02-12 15:20:08 +08:00
fullwall
c609030ff7 Metrics 2012-02-12 15:19:32 +08:00
fullwall
6529364397 Merge branch 'master' of http://www.github.com/aPunch/Citizens2 2012-02-12 11:00:23 +08:00
fullwall
c0a272f431 Remove CommandIdentifier 2012-02-12 10:59:45 +08:00
aPunch
0bbf996e22 move storage to API for convenience 2012-02-11 10:33:36 -06:00
aPunch
39dd529e9c removed Inventory from Citizens, added to API 2012-02-11 08:33:19 -06:00
aPunch
3a9496fc71 change 2012-02-11 05:04:19 -06:00
aPunch
0de701800c not working 2012-02-11 03:21:02 -06:00
aPunch
057e28d600 command fix 2012-02-11 01:11:45 -06:00
aPunch
c2f42c6837 added character setting command 2012-02-09 16:30:57 -06:00
aPunch
18125d682b shorten names when renaming NPC 2012-02-08 14:01:27 -06:00
aPunch
649eef5b30 Merge branch 'master' of github.com:aPunch/Citizens2 2012-02-08 09:35:18 -06:00
aPunch
e72465179b really fix it this time 2012-02-08 09:32:38 -06:00
fullwall
941ed6158a Merge branch 'master' of http://www.github.com/aPunch/Citizens2 2012-02-08 23:25:39 +08:00
aPunch
158519efd6 added some commands, fixed bug where NPCs that despawned via chunk loading were deselected 2012-02-08 09:22:42 -06:00
fullwall
db8d534bd1 Remove nested commands 2012-02-08 23:15:36 +08:00
aPunch
7566a15966 added file headers 2012-02-08 06:07:17 -06:00
aPunch
efaa462894 dynamic help menus 2012-02-08 02:26:14 -06:00
aPunch
ba8ee44769 use permission() in Command annotation 2012-02-07 05:31:22 -06:00
aPunch
455e49b4eb moved NPC rotation to LookClose trait, fix name color saving 2012-02-07 04:37:12 -06:00
fullwall
3c1f9fd8c0 Runnables 2012-02-07 17:45:43 +08:00
aPunch
2a51adcaab inventories now use the full name of an NPC 2012-02-07 02:31:28 -06:00
aPunch
89bd263aad whoops 2012-02-06 05:58:22 -06:00
aPunch
68cc28eb05 proper color-parsing for names 2012-02-06 05:55:29 -06:00
fullwall
0e3f29c6f8 Fixed up new command features + test 2012-02-06 16:30:45 +08:00
aPunch
6c47757453 mob type is optional for create command 2012-02-05 07:02:47 -06:00
aPunch
4067a85bce fixed bug 2012-02-05 05:31:08 -06:00
aPunch
1f5dd50d3f items now save in the correct slot, enchantments are saved on inventory close 2012-02-05 05:26:55 -06:00
aPunch
97b6a74c68 disallow names greater than 16 characters in length as per vanilla spec 2012-02-05 04:24:11 -06:00
aPunch
8a63d0950e saving inventories kind of works now 2012-02-05 04:08:24 -06:00
aPunch
11fbd0c7b4 inventory work 2012-02-05 03:10:09 -06:00
fullwall
28273ec7b5 ShowableInventory 2012-02-05 15:26:49 +08:00
aPunch
7a4fff1e68 added inventory-related API 2012-02-05 01:18:40 -06:00
aPunch
b557837ecb remove debug messages 2012-02-04 17:00:40 -06:00
aPunch
6aca4590a3 getTrait is safer 2012-02-04 16:58:40 -06:00
aPunch
76a769489c removed duplicate files 2012-02-04 16:14:48 -06:00
fullwall
b8bb1955d9 Command features 2012-02-04 23:26:06 +08:00
fullwall
ddb1a88bd0 Revert to old socket, fix NPE 2012-02-04 22:49:16 +08:00
fullwall
f2e9a7dc3f Override dragon + endermen AI 2012-02-04 22:31:16 +08:00
fullwall
3d8e1f4988 Merge AIController and Navigator 2012-02-04 17:58:51 +08:00
aPunch
ab0a8dcae3 changes and bugfixes 2012-02-04 02:13:20 -06:00
fullwall
739d7490fd Change mob classes to static inner, add rudimentary pathfinder 2012-02-04 14:48:23 +08:00
aPunch
9bb9abf700 registering traits no longer requires a String parameter 2012-02-03 17:44:18 -06:00
aPunch
d30d892982 attempt some better trait exception handling 2012-02-03 17:35:24 -06:00
aPunch
2f69deec93 remove file 2012-02-03 03:21:16 -06:00
aPunch
9029ea29ec initial mob type NPCs implementation 2012-02-03 03:20:48 -06:00
aPunch
4c8ccdcba2 method name change 2012-01-30 17:44:12 -06:00
aPunch
c2de3bfcfa bug fixes 2012-01-30 12:55:16 -06:00
fullwall
27e2a6c8c9 Cleanup 2012-01-30 19:58:59 +08:00
aPunch
a0f7d8c130 added incompatibility error prevention 2012-01-29 14:58:19 -06:00
aPunch
49d8034bd2 updated to Bukkit 1.1-R2 2012-01-29 13:29:23 -06:00
aPunch
d4977e10d2 make sure mc entity is null when despawning 2012-01-29 13:14:10 -06:00
aPunch
0e737cc367 added spawned trait 2012-01-29 12:23:42 -06:00
aPunch
967eef4836 added selection command, bug fixes 2012-01-29 11:52:50 -06:00
fullwall
ed6a05e7c4 Changes 2012-01-29 19:43:27 +08:00
aPunch
dcbabe9ee1 added some teleporting commands 2012-01-28 23:01:08 -06:00
aPunch
b85a378a7d fix? 2012-01-28 17:19:45 -06:00
aPunch
922cf2444b more bugfixes 2012-01-28 16:40:00 -06:00
aPunch
6837ac11ea bug fixes 2012-01-28 14:16:30 -06:00
fullwall
55c1dc7be0 Changes 2012-01-28 12:11:23 +08:00
aPunch
2bd13d1eb0 added command requirements and NPC owners 2012-01-26 15:08:32 -06:00
aPunch
86b84c259a fixes and changes 2012-01-26 08:45:42 -06:00
aPunch
d5a127fb1d fix reload bug 2012-01-25 17:09:02 -06:00
aPunch
8c4aa23461 changes to commands 2012-01-25 14:40:01 -06:00
aPunch
4e7b2efc4f some more commands 2012-01-25 14:07:49 -06:00
aPunch
d23dd7c747 initial command commit, needs lots of work 2012-01-25 09:29:54 -06:00
aPunch
2c844d492d remove debug test 2012-01-25 04:33:45 -06:00
aPunch
575c3a5b99 added ability to send chat through an NPC 2012-01-25 04:32:24 -06:00
aPunch
848cbce13a changes and fixes to character handling 2012-01-25 04:09:02 -06:00
aPunch
21bfe51c83 fix outofmemory error 2012-01-24 01:49:56 -06:00
aPunch
fbf4741ada properly remove NPC 2012-01-23 10:05:22 -06:00
aPunch
e5ee5d6dd1 fix ID bug and others 2012-01-23 09:42:01 -06:00
aPunch
47e77f2a45 added selection, needs work 2012-01-23 08:30:15 -06:00
fullwall
0106c8a675 AbstractNPC 2012-01-23 17:46:06 +08:00
fullwall
b742c232b8 Cleanup, add() method in ByIdArray 2012-01-23 16:45:34 +08:00
fullwall
6c6627362f Forgot to put this back 2012-01-23 14:25:23 +08:00
fullwall
9bc4b54db5 Merge CharacterManager and TraitManager 2012-01-23 14:12:45 +08:00
aPunch
ffa6888420 fix annoying spawning save bug 2012-01-22 11:43:58 -06:00
aPunch
d95501bd1c build "fixed" and other saving fix 2012-01-22 08:43:25 -06:00
aPunch
1beaae6b30 more stubborn formatting 2012-01-22 08:23:25 -06:00
fullwall
7cb59f9f8a Merge 2012-01-22 22:09:32 +08:00
fullwall
59ba77f775 Add test, fix bug 2012-01-22 22:07:35 +08:00
aPunch
6bd85f50c0 possible fix and lots of other changes 2012-01-22 07:48:50 -06:00
fullwall
d0e964153d Merge branch 'master' of http://www.github.com/aPunch/Citizens2 2012-01-22 16:04:27 +08:00
fullwall
1347dce509 Change to ByIdArray 2012-01-22 16:04:10 +08:00
aPunch
596fa0e74b more formatting again 2012-01-22 02:02:49 -06:00
aPunch
4341327c3c more formatting 2012-01-22 01:58:02 -06:00
aPunch
2a99446bd5 formatting fun 2012-01-22 01:52:46 -06:00
fullwall
8ffc62a9a0 Allow easier trait registration 2012-01-22 15:31:49 +08:00
fullwall
aa6c20dcd5 Changes to trait api 2012-01-22 15:10:25 +08:00
aPunch
f583344506 update for SpawnLocation trait 2012-01-21 10:21:21 -06:00
aPunch
7e7e4ff37a small change 2012-01-21 08:44:21 -06:00
aPunch
3239eb3cc0 remove test setting 2012-01-21 07:57:57 -06:00
aPunch
8c797f7a78 implemented settings 2012-01-21 07:56:50 -06:00
aPunch
8ab0c815d9 fix saving bugs 2012-01-21 06:53:58 -06:00
aPunch
0511dd53b8 bugfixes 2012-01-20 09:15:32 -06:00
aPunch
204023728c bugfixes 2012-01-20 07:15:14 -06:00
aPunch
a240b71573 bugfixes 2012-01-20 01:48:55 -06:00
aPunch
504d4f94d2 traits should not load properly 2012-01-20 01:27:14 -06:00
aPunch
150d037137 something 2012-01-19 06:21:04 -06:00
aPunch
d5df854e5a use spaces 2012-01-19 05:43:21 -06:00
aPunch
7fea467676 refactor a bit 2012-01-19 04:52:58 -06:00
aPunch
5aec593858 update to latest Bukkit event API 2012-01-19 01:38:40 -06:00
aPunch
7d10c522ec more saving work 2012-01-18 06:48:47 -06:00
aPunch
eb503dab12 use Entity instead of LivingEntity to avoid needing to cast 2012-01-18 04:47:13 -06:00
aPunch
56053849eb if you say it, do it! 2012-01-18 04:37:09 -06:00
aPunch
b923781a2c added some events 2012-01-18 04:35:15 -06:00
aPunch
4aafac4604 testing new Bukkit events 2012-01-17 22:04:08 -06:00
aPunch
2ef5d5323d switching to maven 2012-01-16 15:18:47 -06:00
aPunch
7b727c3d6b implemented saving framework, messaging utils 2012-01-15 21:15:32 -06:00
aPunch
b10094d441 fix bug 2012-01-15 13:33:49 -06:00
aPunch
d6a907d7e5 format 2012-01-15 01:04:08 -06:00
aPunch
04ab5a36ef implemented more of the /lib/ 2012-01-15 01:00:04 -06:00
aPunch
e1d3cd4f31 go back go back go back, go back to where we were 2012-01-14 23:09:31 -06:00
aPunch
a3dd54757e added names 2012-01-14 22:41:02 -06:00
aPunch
ffd078a3f8 derp 2012-01-14 22:28:25 -06:00
aPunch
ac7f58b089 changes 2012-01-14 22:23:58 -06:00
aPunch
cf1bb89509 forgot something 2012-01-14 21:55:45 -06:00
aPunch
46eb073031 added exceptions 2012-01-14 21:52:31 -06:00
aPunch
456c9bfceb call event elsewhere 2012-01-14 17:58:47 -06:00
aPunch
32abcf8a79 initial Citizens2 commit 2012-01-14 17:51:37 -06:00