Commit Graph
1135 Commits
Author SHA1 Message Date
LoneDev6 b5217375b9 Fix item display name
Remove item display name as it would be annoying (usually added on drops by holograms drops plugins)

Former-commit-id: 9da25964808ee4bc4db554c8522e1fb18f99ceaa [formerly 602ca8b646595f8a3deb654dc74d1e6ccebb103a]
Former-commit-id: 17324de3dbf73524f0a68bfe1c5e4738ee71087d
2019-08-27 00:52:48 +02:00
Ghost_chu d74a0c67ad Retrigger the travis
Former-commit-id: 84f9d619b096fedc11c408993c87075272d63cd6 [formerly 8a7d397a612e913645d41b886e80037e88c335b2]
Former-commit-id: 372d4d4201b68d1c97e3aea9b07fd9c08fb4eea0
2019-08-26 17:07:08 +08:00
Ghost_chu a84e760f72 Optimize performance when nor cross the chunk detection
Former-commit-id: 518d3413d742242b06834f7f6075194960563296 [formerly cc77f3372ef1b61940deda6fa255cc1ee775c422]
Former-commit-id: aa67e5e4ba9ec3eef8094f75d469351d19ad7ee7
2019-08-26 16:13:01 +08:00
Ghost_chu c47a41da05 Send global alert when block is breaked
Former-commit-id: 5549009d46567840ccf6dace891426f0bda44380 [formerly 2e40250fdf8c2b6b1e8f86e5d3aa140700eb5d46]
Former-commit-id: 6df359de6b9eb2c77543b06930687cfea5b239c9
2019-08-26 16:09:13 +08:00
Ghost_chu c8e792ee7b Optimize the targetShopDisplayCheck performance
Former-commit-id: 539c1d93571be609bc40d731f4cc5ceaef323992 [formerly 7f4f5d49a0600480a96eb52c07685cac25f24e3a]
Former-commit-id: 7aa7cd5b5837e5785d5599692c454ef66360fe0d
2019-08-26 16:04:55 +08:00
Ghost_chu b375f3c7d3 Optimize the item check performance
Former-commit-id: bff5c31b4823a010c1334c80a5a4bc035718aa1b [formerly e53361720c6d92e8d85264edebffff272ada71fb]
Former-commit-id: b6769077a92db94cd48c9fc86668e1dcc38d7aab
2019-08-26 16:03:05 +08:00
Ghost_chu 4aa8216666 Optimize the performance in InventoryMoveEvent
Former-commit-id: f803d3e04bb6a32693b2257a351bdc1f0ce45b09 [formerly 57efbba8c66d4e19b8ca3c046207e31b7e4663c0]
Former-commit-id: 4d1859687dc1c120d86142a502f1b9c72bd01056
2019-08-26 15:49:44 +08:00
Ghost_chu 788aede000 Fix NPE in shopProtectionListener
Former-commit-id: 10aef641ae04ce7812afe1afd97dcdcad84c6ffb [formerly 7df8a4f24984abbacbe115a9711a3e8c5d2e6769]
Former-commit-id: d287cca71d7e79944206860e12de57aa0e27849d
2019-08-26 14:49:47 +08:00
Ghost_chu 0185bdad37 Fix attributeModifiers matcher bug
Former-commit-id: 9108a3568475d2876c81fad77f439883c0975acd [formerly b3e21136f0584f240a7632f1b4bc2957b8c2d3b1]
Former-commit-id: 773cce5befbc187157bd12f3ab23399a84c9d6ef
2019-08-26 00:02:16 +08:00
Ghost_chu 453042450b Fix debug error
Former-commit-id: 0121941d6c66c425dc1ff71c9bda2da8afe965c3 [formerly 97f2f78a64503b5d084801675f678e15eabbdcea]
Former-commit-id: d6e258dddc0d6cf92962e8ff7e4fe5bc5b0b9637
2019-08-25 21:36:16 +08:00
Ghost_chu 5a250c35f6 Move LinkedList to HashSet
Former-commit-id: 4b7632e9009df783380b5313f355904d2d252bcb [formerly 63a1ce149cca6b37270cb7d740c312acf6fa4d0b]
Former-commit-id: 33fa0856f32962387bbd02e213562f4a266b2958
2019-08-25 21:07:12 +08:00
Ghost_chu 2f14620940 Change the priority on WorldLoadEvent
Former-commit-id: 3316d301d3373b96a31fc89c1aa923999c7773c1 [formerly 5f65ac68453360c14d4eb3d5000402e61ea2e2e2]
Former-commit-id: 36bdcb76f7452ff47dd394274b9887b376f5e3ca
2019-08-25 21:06:26 +08:00
Ghost_chu 3326aeb900 Update example config
Former-commit-id: b6405cf3037a81e25b64e417afd5a2350b39d7c2 [formerly 0feb89498548df71747c2fb500c3097cb111c129]
Former-commit-id: 76ec7571d4becffd427cdc89ff99351f700eaf37
2019-08-25 21:04:41 +08:00
Ghost_chu f770d1055c Fix #169 maybe
Former-commit-id: c798e69e572eef640d3cac1f8473653da2e1ebf4 [formerly 12e80a889cc5e8e76652e7bf5909655e14efe89b]
Former-commit-id: ec8b30289ebf24c03cf4b6c16bf95f48d26136ea
2019-08-25 20:48:38 +08:00
Ghost_chu c7939fa8b7 Finally fix the InventoryMoveEvent
Former-commit-id: e10073d2d36b1f81c6c1137667730280b3335a09 [formerly 721a587f54c9c0d2757c4c36f72d4f650f1527ec]
Former-commit-id: 7383d6377ef1a36aef359f9f620d7b742643d6ed
2019-08-25 20:47:15 +08:00
Ghost_chu b26092e6a1 Remove useless checks
Former-commit-id: 6fb04bddcedfb8bf9bf6d531bb8fe7958e8420f7 [formerly 057532fcda56b002fbf58cf702ea2f6f751c51b5]
Former-commit-id: a0d1cd0754a72884749d60c250cf3ae9e90f1389
2019-08-25 20:22:38 +08:00
Ghost_chu fc8a31d3b3 Cancel it if shop owner not is player
Former-commit-id: 7162949edc92d11fe64020633b0b492d9c1bee51 [formerly 6af2967ccc57c58295c06c321f2079ed0daa0848]
Former-commit-id: 2307c55409332641d6f8b233ac58608ae37b9812
2019-08-24 22:23:46 +08:00
Ghost_chu ba296fae90 Check event is be cancelled
Former-commit-id: 7a35da3cd7ac1f8984bf3e03aee9c635baa39a0d [formerly a4132948afb8fa277f4571687bae40009ae6533b]
Former-commit-id: 7e52412cb1b5536fc8570d4b14aba33bfb9ca270
2019-08-24 22:21:29 +08:00
Ghost_chu 8411762ccf Fix again
Former-commit-id: 4771c2475d881c28b9a8cdf54594de740b11a9f5 [formerly b5bd49cabf3f7dccff2363d5483c5901ad1d8a10]
Former-commit-id: 3d4aeec7d689e4c72d1b115b8b4bb89c8ae36a6b
2019-08-24 21:48:11 +08:00
Ghost_chu f417c41f36 Fix info error
Former-commit-id: 80b86757a369a5cb4f1bb09805d8b1e76b3a3348 [formerly 7c985a73ed1c2ddf45c9159ce9e475c4ce4c1a51]
Former-commit-id: 95780e59fd6a20e5b7f1d92523fecd29cf5421ce
2019-08-24 20:32:22 +08:00
Ghost_chu 47e2b31e3b Modify api accept the null
Former-commit-id: 02729cd8afadf6e4728d83cd3ffd86f679c58fd5 [formerly 47591fdcf72ec0dae34c1f8009eb97050e4a30a8]
Former-commit-id: d6ad06268265d16f4075332653f38f650b5c88a5
2019-08-24 18:37:40 +08:00
Ghost_chu 7d611c137d Purge old shop before creation
Former-commit-id: 1bfcdc8e32caec92c77f5170249cfa725a58767b [formerly de367796aa3ff40fa500b97c2a21f18c2d4fcc3f]
Former-commit-id: 86f79ca03bf4f938eaed750a557d87f2305a2a08
2019-08-24 18:36:47 +08:00
Ghost_chu d6e044e441 Fix possible NPE
Former-commit-id: 457393a22cecdbbdb4b8190fd24c0d5e6abe2566 [formerly f15e5802f53b03ad2dea8c65f6d44c75dd57ecbd]
Former-commit-id: b5ea513f07f68e1cef71d9fa27c51a8f8bad7fb2
2019-08-23 16:15:02 +08:00
Ghost_chu 2427cadb26 Nolonger listen InventoryMoveItemEvent because we already listen the pickup item event
Former-commit-id: dd9bf695d7a47ab9e506f5eca05ad48eb574809f [formerly 05a7013d10cc9689e12c03151399d5582ceefb7e]
Former-commit-id: 97b4d59516d9391320b8e2609a8e3714a7a5dd67
2019-08-23 15:08:32 +08:00
Ghost_chu 11dcd3c4b8 Optimize the performance on DisplayItem checking
Former-commit-id: 44800172607e2e2a46c6736afb608046ec996f1e [formerly f05ad24f3c8f723733a2c8e3e169fb6cd7f66ef1]
Former-commit-id: ffbbe26fcc44a5694e17a04cb08ec7c9c712c632
2019-08-23 15:07:52 +08:00
Ghost_chu 2f180b2aa2 Fix possible bug if cross the chunk border
Former-commit-id: 207d78aaf5ee2778130aa14a770bff30939ccaf2 [formerly cbd1bb1865d79dc9f16664b589088de6354e03bc]
Former-commit-id: 7013980d5a931107098fa46a16f6d61cdbf71d75
2019-08-23 15:04:58 +08:00
Ghost_chu 0a5b35bef2 Fix lore bug
Former-commit-id: 7074270a90d18e3cdc82ea648afe0c502335bd29 [formerly 67518d7aa4b77c9ebb94f58f230ed59bc593fd31]
Former-commit-id: b117d0b17b6191f002c82a843d2d1dd933342ca8
2019-08-20 23:27:08 +08:00
Ghost_chu d4dabaabb6 Beep
Former-commit-id: 6f9519291b9d43a9c1d2f50c95169392f341d60b [formerly ae794bd36ab53fed92a78ed19a6be192481eef83]
Former-commit-id: 467c8af982ac2fe3176d9abef3db75984d40e84d
2019-08-19 15:47:14 +08:00
Ghost_chu 79b6e07de8 Remove async move check -- Memory issue
Former-commit-id: cce6f283ce139ed2f96d94f2abcde4c7cc4a8494 [formerly 09743fb47614d729f5d027923c0a1e0ae6080e6c]
Former-commit-id: e0b75d1846420d9f3b642ee5e27793fa07908d25
2019-08-19 15:45:18 +08:00
Ghost_chu fb8cbd569e Paste more datas when pasteing.
Need upload transaltions cause it may cause no-reasion disconnect if somethings wrong in there.


Former-commit-id: 1ccaff5e248962e83d09c389cd83be8183086f60 [formerly 4c77998bb57eaaf35dd92ee4ab4a08e3a93a7153]
Former-commit-id: 9c9064cdbd82f8171f4cd134be9320e9060f9f82
2019-08-19 15:32:54 +08:00
Ghost_chu 3c0f6cb322 Add lines between debug logs
Former-commit-id: a86a8e2d8dabcc7e5e773a79afb30bf2e0864194 [formerly 5435c54d346b9c0f3d4a63379670d19cff8888e8]
Former-commit-id: 60f81ce88c80d9c13705aaaa49406a4784a12cd6
2019-08-19 15:29:47 +08:00
Ghost_chu 11746edff8 More friendly to send BUILD CHECK failed message
Former-commit-id: f1c743862aefd34adbffb6a44834a52c29aac7d2 [formerly 5de39333b755e043b287dffd68ecc036f00c4d43]
Former-commit-id: 0224ef779b0704255d23894d58edfb8793e82692
2019-08-19 15:28:28 +08:00
Ghost_chu 6e7c2293fa Fix itemMatcher and sell command bug
Former-commit-id: 15cdc3fbdcff754a0205c8afc20877fc9a9d8be9 [formerly 65add46848be7e2af0b15dac57791f8c89bcaacc]
Former-commit-id: 094f82c7dff166e4bbaad446ccfd7470eebb2737
2019-08-19 15:27:07 +08:00
Ghost_chu 1cdb34bec5 Fix meta matcher class in the matcher class
Former-commit-id: 3e7f2f90a576fbc0c37056298f8d939bbad1d16e [formerly f0ee1ce46f6125f4b4f8866b39031cc2b1abdbc1]
Former-commit-id: 01ebe770e0b638c381156310633a6620bb65e077
2019-08-19 15:21:10 +08:00
Ghost_chu 16d2903df4 Use faster deepEquals method in java to replace lines check
Former-commit-id: 474b213f30199e50b9863bc2c11b5a0470dae65b [formerly 1992fa33889457e7c7930ff4e09867d40c8cda0f]
Former-commit-id: 558c3e2d43f87467ba4ca6a14048c5044aadc374
2019-08-19 15:20:06 +08:00
Ghost_chu 792fd82d1e Use faster deepEquals method in java to replace lines check
Former-commit-id: cec29e4517b627ca50c4e37bd06636acc34b4aaf [formerly 2261ef58b73b1bc28d8d2581869a81e728ee3699]
Former-commit-id: 7241fc0086cb3804a684f401d01c2648f97bc358
2019-08-19 15:18:20 +08:00
Ghost_chu d808b9c0c9 Add repaitcost support
Former-commit-id: f025824f0117363c7ebacb2811677ddcc16d61a4 [formerly 286df6551ab76130ff3b7ffdff3b2faf577ec797]
Former-commit-id: d975c63051915d7a952f01afa8fa1cab78a94362
2019-08-19 15:12:18 +08:00
Ghost_chu b349d9ce02 Fix ItemMatcher bugs.
Former-commit-id: 2418c4bd624f19745fb79df926a1c8974e28476a [formerly d9c0aed489021dad7d8e5683894bd58bb2934347]
Former-commit-id: 93107c54fecb77bc8b3cdff9f3da04cbfa056b04
2019-08-19 15:00:54 +08:00
Ghost_chu 227d1c0382 Remove useless comments, we already will save example config in data folder
Former-commit-id: 296099b2f5394eab1d63932f739f4b890f106849 [formerly 90a6c070ae16d27ac77d6735cf71d88b945f337e]
Former-commit-id: a3b076c41338dffc38745e86bb2b2e5af08d1f87
2019-08-18 23:07:35 +08:00
Ghost_chu df87ec2993 Fix build error
Former-commit-id: bfad8d848420180cb89592a3d6ecd954a05e105e [formerly 44121054a9e2b54aa8fd90ea09a3c37461d5b357]
Former-commit-id: 36563bf0bbe7369ca290ccd7e4c5a04eb2caae06
2019-08-18 23:01:09 +08:00
Ghost_chu acbb65a7dc LangUtils language auto-load
Former-commit-id: c16b85b110e325a252545c6eb3bc696d40d94d6b [formerly a0ce3186f16df210ad39e4d0c6c25facb1b9889a]
Former-commit-id: 7bf49366b1d5b9ec73f9bf34b82e25df224c9176
2019-08-18 22:59:54 +08:00
Ghost_chu ce532f73d0 Old(KaiNoMood) QuickShop detect.
Former-commit-id: f172f7adec69e92d2de11c1f8a70e35302d85c16 [formerly 9db5fbd5f0a7786383bf551c34216c91acf93e39]
Former-commit-id: 178904a3a6d4e75a01189f83ded0133ed2846470
2019-08-18 22:51:24 +08:00
Ghost_chu 8d8f93683b Fix sentry errors
Former-commit-id: b0b20ceb0ba7d8698a68cba1bdbac38081fe0257 [formerly d16a14d14ff9315d28dcfab3158b7c9ea39d98b7]
Former-commit-id: 858df03a408e093454c51b4af40febed2b470bb0
2019-08-18 22:47:49 +08:00
Ghost_chu b3b1c6225a Null economy system detect
Former-commit-id: 6f0f5e85662475cd5dcade7c74c55e688be3be6f [formerly e452e99b3c16026056453a95a9ca4cebceb33500]
Former-commit-id: a7773a1a9bb8a9398a9341b6ddd847c86bd3a4df
2019-08-18 22:40:09 +08:00
Ghost_chu 8de5b5d02c Patch stupid space in chat
Former-commit-id: a47c4d08f052c38f730b4f579405601c462edf6b [formerly bea7b865d3e3ceeedef4ec77200e7d7ace9ceaee]
Former-commit-id: d1151386c8bd00ca4ee511e189dfcf052412411e
2019-08-18 22:33:57 +08:00
Ghost_chu 86b7cc7064 Rewritten the ItemMatcher
Former-commit-id: 4213ae2f22583eb16bf74914ca0e82e95fb24b4f [formerly 77667dedda07394085e1d0fbcc9937bcade02220]
Former-commit-id: 65b76392b994d0caf1c6b5219b4906d3be0c4011
2019-08-18 22:30:59 +08:00
Ghost_chu 0fb20f89f2 Add the ShopProtectionCheckEvent for calling protection check event.
Former-commit-id: ea18ee45b91891acf6209a49adf6721884735d78 [formerly c0b8a34e23ad7b4668966d6f681b881b10f98a80]
Former-commit-id: 5a519d862f0e81ccede9dd6b7f72d6fd69f12d05
2019-08-18 22:08:40 +08:00
Ghost_chu ee9e8569d6 Fix support for double-chest protection.
Former-commit-id: 31c2f05c56cb4ede8a37b71c7ecfa75a8741539f [formerly 87cce965edd35c686d0e2c249f91fa0e55285a36]
Former-commit-id: 2a74ad7b3413014f31ecb705a57ca83f6a671a2b
2019-08-18 21:54:42 +08:00
Ghost_chu 90f02a8a2e Fix build error
Former-commit-id: c2fa1ad0e069d19b0a28a0417898016a53682df3 [formerly 6c2cd7e67cdf99bd86cd170c04aa4d6876f6df80]
Former-commit-id: b53952fb6020402f5d29f1edaba91d45c98fe330
2019-08-17 19:57:55 +08:00
Ghost_chu 83da71a4fe Bump config updater
Former-commit-id: 1778a757285395ba934dee8b6ab19e1997b020cb [formerly c5cbddfc3949c31188b829c09c171a92b7b48d6e]
Former-commit-id: df234863444b08773bd3cbd03403a67c36820c98
2019-08-16 21:34:02 +08:00