Commit Graph

577 Commits

Author SHA1 Message Date
fullwall
88936787c0 Update for 1.3.2, reuse instances when loading 2012-08-26 21:04:07 +08:00
fullwall
1a9c6ae0a0 Implement changes 2012-08-25 10:40:36 +08:00
fullwall
26538aafb0 Enable player swimming 2012-08-19 12:59:32 +08:00
fullwall
1328df1cf9 Bugfix 2012-08-19 12:51:45 +08:00
fullwall
2af3790fc2 Bugfix 2012-08-18 15:13:33 +08:00
fullwall
aa095e0d1b Bugfix 2012-08-17 22:05:30 +08:00
fullwall
4ac86c4e30 Null checks when searching for Vault 2012-08-17 15:12:54 +08:00
fullwall
7eb1a9077f Remove pointless abstraction in WaypointGoal, made it a bit faster when only one waypoint 2012-08-16 23:15:10 +08:00
fullwall
6cf0cc08c5 Implement NPCDamageByBlockEvent 2012-08-16 00:13:46 +08:00
fullwall
3c1cc9934f Add message for NPCPayListener 2012-08-16 00:08:36 +08:00
fullwall
e441abf839 Vault support 2012-08-16 00:06:13 +08:00
fullwall
270f5536af Check for null in getBukkitEntity() fix issue in Text 2012-08-12 14:39:44 +08:00
fullwall
0e817378ab Bugfixes, speed updates during pathfinding 2012-08-07 22:04:52 +08:00
fullwall
687200463b Trait commands act as toggle 2012-08-06 17:26:17 +08:00
fullwall
674974aa15 Fix traits/lookclose, use less memory in MCTargetStrategy, improve Behaviour (ie. scripts don't need to implement hashCode() any more) 2012-08-06 17:22:04 +08:00
fullwall
efadc1bf08 Move trait commands, /npc copy 2012-08-05 21:07:42 +08:00
fullwall
0c2ba89c55 Experimental change to use less memory for sockets - may break player NPCs 2012-08-05 14:21:34 +08:00
fullwall
e7244ba118 Forgot this 2012-08-05 14:16:11 +08:00
fullwall
32c7ef28bb Support spaces in names for /npc rename 2012-08-05 14:15:04 +08:00
fullwall
235b0faa36 Update for new YamlStorage constructor 2012-08-05 13:19:16 +08:00
fullwall
e96f3adf63 Change settings node 2012-08-04 23:19:22 +08:00
fullwall
ba1d245169 Derp 2012-08-04 22:08:47 +08:00
fullwall
4372b8c389 Provide /npc2 and /citizens2 aliases for commands for compatibility 2012-08-04 21:56:35 +08:00
fullwall
675052b8d9 Use collision vector from event 2012-08-04 13:39:04 +08:00
fullwall
a5a2f7f7ef CommandConfigurable interface, range/realistic looking settings added to LookClose and Text 2012-08-04 12:48:07 +08:00
fullwall
3a03525a41 C:/Program Files/Git/npc speed [speed] and speed/range saving 2012-08-03 22:30:11 +08:00
fullwall
ec9962b36f Move reflection into its own file 2012-08-03 21:18:10 +08:00
fullwall
8c7cfa88e9 Fix player movement, block villager trading 2012-08-02 22:51:10 +08:00
fullwall
28013dc689 Update for 1.3 2012-08-02 21:44:59 +08:00
fullwall
11fc67fff6 Use custom spawn reason 2012-07-28 16:22:03 +08:00
fullwall
b2253db67d Fix some issues with pathing/controllable 2012-07-28 16:15:12 +08:00
fullwall
588d491667 Implement NPCPush/CollisionEvent 2012-07-28 15:02:57 +08:00
fullwall
1957fa9c0d Implement pathfinding range methods in Navigator, make default range setting of 25F 2012-07-28 11:04:59 +08:00
fullwall
fa35bed33f Implement NPCCollisionEvent, made EntityType matching more sane 2012-07-28 00:01:52 +08:00
fullwall
f27eab8622 Add isPaused() and setPaused(boolean) to WaypointProvider 2012-07-27 22:48:06 +08:00
fullwall
af9c42cfb6 Fix waypoints (an issue with the Goal, not pathing) and make entity type use the bukkit naming scheme 2012-07-26 19:01:50 +08:00
fullwall
90191c435e Add isPushable() and setPushable(), cleanup 2012-07-24 14:47:10 +08:00
fullwall
1bd973141a Fix equipment editing 2012-07-24 14:21:59 +08:00
fullwall
f9574a2551 Fix pig pathing speed 2012-07-22 15:44:40 +08:00
fullwall
20c102f1e7 Add -r flag to /npc trat 2012-07-22 14:47:44 +08:00
fullwall
b73afa92d6 Better threading - stop memory leak 2012-07-22 14:18:24 +08:00
fullwall
94e366ff31 Remove debugging, don't use metrics for internal traits 2012-07-21 23:28:19 +08:00
fullwall
5748a3007c Fix some bugs 2012-07-21 23:19:54 +08:00
fullwall
d6e5995df9 Don't use internal classes from other packages. Fixes CITIZENS-112 2012-07-21 14:11:32 +08:00
fullwall
bcd727e554 Git fail. WARNING: API BREAKAGES 2012-07-19 23:10:30 +08:00
fullwall
151d82a83f Revert "Simplification part 1 - remove characters"
This reverts commit 10ae38882d.
2012-07-09 21:35:57 +08:00
fullwall
d207234df5 Revert "Add files"
This reverts commit 1a13150572.
2012-07-09 21:35:45 +08:00
fullwall
1a13150572 Add files 2012-07-09 16:51:38 +08:00
fullwall
10ae38882d Simplification part 1 - remove characters 2012-07-09 16:46:53 +08:00
fullwall
91f6472932 Hackfix a stack overflow problem. 2012-06-11 16:11:54 +08:00
fullwall
5c72a2ed01 Update master 2012-06-10 16:09:53 +08:00
fullwall
97b61473c4 Update master 2012-06-10 16:09:01 +08:00
fullwall
b0ffe41c5a Update master 2012-06-10 16:08:16 +08:00
fullwall
a1dabf0b36 Update master 2012-06-10 16:06:45 +08:00
fullwall
200e4f4ed1 Update master 2012-06-10 16:05:42 +08:00
fullwall
8f9ecea073 Update master 2012-06-10 16:04:34 +08:00
fullwall
d826bb3b69 Normalise editing slot. 2012-05-30 16:39:35 +08:00
fullwall
4144953dff This is why you don't use the github web interface 2012-05-27 16:48:58 +08:00
fullwall
735afe277c Update src/main/java/net/citizensnpcs/Settings.java 2012-05-27 16:35:04 +08:00
fullwall
392f28ff25 . 2012-05-27 16:32:11 +08:00
fullwall
70dfe575ff . 2012-05-27 16:31:08 +08:00
fullwall
8aa4c75281 Fix an issue in Settings. 2012-05-27 16:30:27 +08:00
DMarby
50b762bb8e Corrected Metrics Plotter. 2012-05-26 23:26:46 +03:00
fullwall
e1bca417d8 Metrics.... 2012-05-26 22:31:01 +08:00
fullwall
e3fb3704b5 Fix a multiworld issue in LookClose 2012-05-25 23:02:20 +08:00
fullwall
6cd9401a41 Delete metrics, clean up 2012-05-23 18:57:01 +08:00
fullwall
472ac50003 Fix an issue with setDestination not working immediately after spawn 2012-05-23 16:51:33 +08:00
fullwall
783dd9a5a9 Just use instanceofs 2012-05-18 00:06:31 +08:00
fullwall
ad31ba7221 Tempfix all the things 2012-05-17 23:55:25 +08:00
fullwall
6db2fa9ca6 Don't add pig traits at spawn. 2012-05-17 23:49:09 +08:00
fullwall
4a51cba1a2 Temporary hack to fix age throwing errors, don't give every NPC age on create 2012-05-17 23:31:09 +08:00
fullwall
26277ecab6 Remove explicit @ServerCommand, remove unnecessary instanceof in CitizensNPCRegistry 2012-05-17 23:14:30 +08:00
fullwall
fba0777a0d BREAKING: rename methods 2012-05-17 21:34:03 +08:00
fullwall
bcc36a3076 Fix typo 2012-05-14 19:45:16 +08:00
fullwall
5ea3f32f76 Remove constructor parameter, add method in Util 2012-05-13 19:41:21 +08:00
fullwall
31dc1f813b Use new constructor 2012-05-12 15:18:04 +08:00
fullwall
e6d76e696c Fix bugs with controllables, waypoints, add waypoint editing slot, call damage event 2012-05-12 15:13:58 +08:00
fullwall
8a07f129b9 Fixed an issue with waypoints 2012-05-12 10:01:27 +08:00
fullwall
09776024e0 Bugfixes, console can select NPCs for use with commands 2012-05-11 23:13:10 +08:00
fullwall
e491d1bb07 Changes to arm animations, noDamageTicks is decremented again 2012-05-10 20:51:11 +08:00
fullwall
4bc1426192 Merge branch 'master' of http://www.github.com/CitizensDev/Citizens2 2012-05-08 21:38:52 +08:00
fullwall
7a8a5cb210 Changes 2012-05-08 21:38:28 +08:00
David Marby
b1824f33e1 Now shows amount of NPCs instead of amount of servers 2012-05-07 21:44:54 +02:00
David Marby
9d6a53cbc2 Capitalize names 2012-05-07 19:53:58 +02:00
David Marby
b38f1bac8e Made it actually work, lawl 2012-05-07 19:33:02 +02:00
David Marby
e8b4443df7 Another Cleanup 2012-05-06 17:58:56 +02:00
David Marby
ee3d052bd1 Cleanup 2012-05-05 21:24:50 +02:00
David Marby
bc5d922718 Updated Metrics, Added Character Types Metrics 2012-05-05 17:22:11 +02:00
fullwall
172c46f766 Fix logic error in entity equip 2012-05-04 18:41:47 +08:00
aPunch
a9105c624e Slightly hackish workaround for mob NPC and spawn egg bug. This fixes CITIZENS-59. 2012-05-03 16:38:23 -05:00
aPunch
affb84f6cd Fix equip NPE. This fixes CITIZENS-62. 2012-05-03 15:53:35 -05:00
fullwall
81d6c2a3a3 Changes 2012-05-03 23:22:31 +08:00
fullwall
bed9c12c57 Set the head yaw as well, remove bukkit from pom as it is included in craftbukkit 2012-04-30 23:19:07 +08:00
fullwall
c7eb4eb1b0 Fixed human npcs not updating properly, exclude some types from waypoints 2012-04-30 22:56:27 +08:00
fullwall
f610651dbc Refactoring, Behaviour trait (scripted AI) 2012-04-30 21:38:18 +08:00
fullwall
8960722ad7 Fix typo 2012-04-30 19:56:57 +08:00
fullwall
9fa9e73f21 Fix bugs 2012-04-30 17:52:55 +08:00
fullwall
78d77ee04b Cache workaround no longer applicable 2012-04-29 17:03:10 +08:00
aPunch
4b7e6dd189 No need for an extra key 2012-04-26 04:01:12 -05:00
fullwall
6ee305d192 Package refactor, getNPC lookup optimisation, fix ByIdArray iterator remove 2012-04-24 23:05:38 +08:00
fullwall
391b35d0f7 Minor changes 2012-04-24 14:17:16 +08:00
fullwall
f358dfc548 Fix typo 2012-04-24 14:13:05 +08:00
fullwall
8c28909411 Extra validation code in Itr 2012-04-24 14:01:52 +08:00
fullwall
a975b9ebf5 Ignore non-living entities 2012-04-24 13:31:52 +08:00
fullwall
f405d4cb7d Avoid using iterators where possible 2012-04-22 19:33:35 +08:00
fullwall
69b71fcf76 Remove hyphens from trait names, add TODO 2012-04-22 17:57:50 +08:00
fullwall
f7e85f08ab Rework lookclose logic, Controllable is now Toggleable 2012-04-21 14:12:30 +08:00
fullwall
4dd0cb03a3 Default type to player if not found 2012-04-20 23:19:15 +08:00
fullwall
6d5b73a2dd Fix errors in entity instantiation and update entities properly 2012-04-20 22:45:09 +08:00
fullwall
27a7b9680e Add some more TODOs, make TraitManager slightly more flexible with constructors, fix number of args for controllable 2012-04-20 22:19:03 +08:00
fullwall
325a23e5f5 Fix for controllables not creating the trait properly 2012-04-20 21:49:30 +08:00
fullwall
05a7ee468b Simple controllable command 2012-04-19 22:57:54 +08:00
fullwall
7a53a0c163 Move updating to individual entities 2012-04-19 11:52:07 +08:00
fullwall
d65346482e Minor cleanup 2012-04-18 10:12:17 +08:00
fullwall
62551967e5 Use PluginProvider 2012-04-16 22:58:09 +08:00
aPunch
9c2a748d27 Change 2012-04-15 18:35:25 -05:00
fullwall
3a25ca5ce8 Change classpath method to Thread.setContextClassLoader() 2012-04-15 22:39:17 +08:00
fullwall
48c073dffe Exclude current classloader 2012-04-15 21:35:46 +08:00
aPunch
7aa5e4bd74 Change error message 2012-04-14 18:37:13 -05:00
aPunch
4e245cff4f Attempt to fix configuration loading 2012-04-14 18:32:43 -05:00
aPunch
7687b80ffc Add missing permissions to plugin.yml 2012-04-14 18:17:22 -05:00
aPunch
2cab36d2e0 Changes 2012-04-14 11:49:18 -05:00
fullwall
4e5ecff66a Use new ScriptCompiler method 2012-04-15 00:29:13 +08:00
fullwall
44b904ed0a Move commands around 2012-04-13 23:59:51 +08:00
aPunch
19aba97351 Changes 2012-04-12 12:19:45 -05:00
fullwall
9f31132bdf Derp 2012-04-12 23:31:54 +08:00
fullwall
2695cba3ec Add script compile command 2012-04-12 23:30:01 +08:00
fullwall
c4f8b92ed8 Hook into new event ContextProvider 2012-04-12 23:01:56 +08:00
aPunch
462f90270b Change to text prompt 2012-04-07 18:00:31 -05:00
aPunch
8547e2e830 Small change 2012-04-05 10:03:30 -05:00
fullwall
d8446c12ed Merge branch 'master' of http://www.github.com/CitizensDev/Citizens2 2012-04-01 19:15:06 +08:00
fullwall
76a65c890b Minor changes 2012-04-01 19:14:11 +08:00
aPunch
2a478a2961 Updated to 1.2.5 2012-03-31 16:15:53 -05:00
fullwall
323f99c2e0 Storage type is now a setting 2012-03-30 22:01:36 +08:00
fullwall
f053870423 Move callback order 2012-03-27 23:26:47 +08:00
fullwall
325dacf713 Minor optimisations and changes 2012-03-27 22:42:15 +08:00
fullwall
4a45b3eedf Minor change to item finder 2012-03-25 16:43:24 +08:00
fullwall
942e7ae9ed NPE check 2012-03-25 16:28:47 +08:00
fullwall
de821df98d Bugfix 2012-03-25 16:19:08 +08:00
aPunch
b27954548e Ugh 2012-03-23 07:06:04 -05:00
aPunch
eb2592300d Remove debug message 2012-03-23 07:05:01 -05:00
aPunch
7cab8a69a2 Fix NoSuchElementException on remove all 2012-03-23 07:01:55 -05:00
aPunch
24a66088fd Fixes 2012-03-23 06:55:53 -05:00
aPunch
30132872a9 Modifications to Traits 2012-03-23 06:18:10 -05:00
aPunch
09303b9ead Update to 1.2.4 2012-03-22 18:49:15 -05:00
aPunch
e0e9fe03c5 Small cleanup 2012-03-22 04:37:36 -05:00
aPunch
a144f1cee4 Use Ageable instead of Animals 2012-03-22 00:19:54 -05:00
aPunch
8c8b3ac122 Changes 2012-03-21 05:45:05 -05:00
fullwall
eae9ae6f46 Minor cleanup 2012-03-21 17:40:40 +08:00
aPunch
c271ffb14e Format 2012-03-20 19:29:13 -05:00
aPunch
7b55fda4fa Added ability to set the server as the owner of an NPC. 2012-03-20 14:38:37 -05:00
aPunch
09f977f194 Added ability to equip Pig NPCs with saddles. This addresses CITIZENS-6. 2012-03-18 18:11:13 -05:00
aPunch
2e9f7db721 Added ability to modify NPC age. This addresses CITIZENS-10. 2012-03-18 16:14:17 -05:00
aPunch
9474532efb Add ability to edit sheep via the equipment editor. This address CITIZENS-5. 2012-03-17 10:43:43 -05:00
fullwall
126cfc8489 Merge branch 'master' of http://www.github.com/CitizensDev/Citizens2 2012-03-15 19:38:48 +08:00
fullwall
46ad744582 Fix for CITIZENS-31 2012-03-15 19:38:10 +08:00
aPunch
80838fcd4b Added ability to change a villager NPC profession. This addresses CITIZENS-14. 2012-03-15 06:02:53 -05:00
fullwall
2468a8c0eb Fix CITIZENS-21, partially fix CITIZENS-2 and CITIZENS-11 2012-03-15 18:06:40 +08:00
aPunch
20382e370b Change 2012-03-15 03:33:00 -05:00
aPunch
86c8cb3934 Added default text in config file. This addresses CITIZENS-28. 2012-03-15 03:30:40 -05:00
aPunch
99280ccaf0 Forgot to remove something 2012-03-14 16:50:48 -05:00
aPunch
ace140882b Fix saving and loading from files. This fixes CITIZENS-30. 2012-03-14 16:48:02 -05:00
aPunch
ac7644234a Fix saving and loading bugs. 2012-03-14 02:05:15 -05:00
aPunch
b1c29e1e14 Added support for * wildcard for selection and talking. This addresses CITIZENS-26. 2012-03-14 01:09:20 -05:00
aPunch
2c3a51c3f7 Fix look-close and talk-close defaults. This fixes CITIZENS-27. 2012-03-14 00:16:42 -05:00
aPunch
e03151f60f Change 2012-03-12 14:13:20 -05:00
aPunch
98032f8b4a Call super remove(), fix trait loading bug 2012-03-12 13:50:48 -05:00
fullwall
17f6c4fc70 Make NPC handles accessible from nms Entity (increase speed of NPCManager.getNPC), make Text trait respect despawned state, despawn NPCs on death event 2012-03-12 18:45:36 +08:00
fullwall
88019f2ac9 Fix part of CITIZENS-11 (waypoint saving incorrectly) 2012-03-12 18:17:28 +08:00
aPunch
9ca35da988 Fixed characters having no valid mob types by default. 2012-03-12 01:44:16 -05:00
aPunch
dc04b0f9e1 Fix pitch and yaw not saving properly. This fixes CITIZENS-22. 2012-03-12 01:26:08 -05:00
aPunch
dcf81236df Fixed NoSuchElementException on disable. 2012-03-11 18:33:58 -05:00
aPunch
15c1ad24ad Added support for using help menu in console. This addresses CITIZENS-20. 2012-03-11 18:26:40 -05:00
aPunch
0cbf0d8d74 Added ability to change if a creeper NPC is powered. This address CITIZENS-16. 2012-03-11 17:39:18 -05:00
aPunch
bd6f2ec49a Fixed grammar issues in help menu. This fixes CITIZENS-19. 2012-03-11 16:57:32 -05:00
aPunch
93315b4b40 Prevent creeper NPCs from becoming powered by lightning. This partially fixes CITIZENS-16. 2012-03-11 16:52:21 -05:00
aPunch
f725893005 Prevent lightning from morphing pigs into pig zombies. This fixes CITIZENS-17. 2012-03-11 16:46:24 -05:00
aPunch
d9a7175407 Fix reload removing NPCs. This fixes CITIZENS-13. 2012-03-11 15:14:36 -05:00
aPunch
1293c1f7fb Added onNPCSpawn method to Trait. 2012-03-11 03:53:19 -05:00
aPunch
458efb9152 Added left and right click events. 2012-03-11 00:43:18 -06:00
aPunch
d4113c1984 Added ability to equip the carried material for Enderman. This addresses CITIZENS-7. 2012-03-10 19:11:28 -06:00
aPunch
0c70b28803 removed some methods from API 2012-03-10 13:41:09 -06:00
fullwall
95cddba16b Changes 2012-03-10 18:33:11 +08:00
fullwall
836e1cf6a4 Pathfinding changes 2012-03-10 13:59:37 +08:00
aPunch
d2cc9982ec update to latest API changes 2012-03-09 14:53:02 -06:00
aPunch
b0947cb743 fix text editing 2012-03-08 17:57:24 -06:00
aPunch
35ce20c6b3 Implement Character entitytype forcing 2012-03-08 15:27:36 -06:00
aPunch
62808e386b changes 2012-03-08 12:01:12 -06:00
aPunch
c45c7d919d major character and trait refactor 2012-03-07 19:03:32 -06:00
aPunch
15d0087064 small changes 2012-03-05 18:32:53 -06:00
aPunch
adfe76c65e change to talking 2012-03-04 12:06:33 -06:00
aPunch
de6d1b7e18 changes to text editing, added click to talk and some talk settings 2012-03-03 08:15:45 -06:00
aPunch
b6b00f8fef added talk-close command and config settings 2012-03-02 18:04:49 -06:00
aPunch
ac897a471a changes to text 2012-03-02 16:42:58 -06:00
aPunch
44a98bb60f compatible with 1.2.3 2012-03-02 15:44:59 -06:00
aPunch
8f0af02292 initial text editing using Conversations API 2012-03-02 14:42:34 -06:00
aPunch
de7ab2b109 fix remove all bug 2012-03-02 09:58:09 -06:00
aPunch
f61c02924e fix remove all command 2012-03-02 08:32:03 -06:00
fullwall
d3128ee874 Misc changes / javadoc 2012-03-02 21:04:40 +08:00
fullwall
23ab7664a2 Attempted fixes 2012-03-02 19:39:47 +08:00