Commit Graph
592 Commits
Author SHA1 Message Date
Ghost_chu 81acdac11a A little tweaks
Former-commit-id: 2dc6143ec5c0614cbca6c569e27c887a85d38c42 [formerly 3c40047d121add26cc4f54626eb62a28fd75646d]
Former-commit-id: add203375ddf23155eb42f22b4a8ae7a31d3a3f0
2019-06-01 20:15:16 +08:00
Ghost_chu 766014db61 Move to lombok
Former-commit-id: 14764b8c08a3a8ef60e6cc5f904c6c066fb871dd [formerly 435f306bd56080d7dfb7cb03a7e12fe2aa854227]
Former-commit-id: 50f38b3ec13edb0605f54851d29490f4e7849fd3
2019-06-01 20:11:29 +08:00
Ghost_chu 5c9f55c65f Fix some updater bugs
Former-commit-id: b889ab10b6c9db292f16495c339b4d38186f8d8b [formerly ae6386b59566ff396f9d6f83611bae8906ed7a4e]
Former-commit-id: 566d43b089f0ae8eb9d8d2ac805d66fdb2667b93
2019-06-01 20:05:41 +08:00
Ghost_chu 7e119bb19f Update shop infomation when new moderator setuped.
Former-commit-id: 7c8acff134ed728f5b7e92c18a6296418cdeff08 [formerly eba0c2ed4eb67d652acc1614ea6919cdd900ec7b]
Former-commit-id: 952cf6903955a351b347318fca5bece855558408
2019-06-01 19:57:53 +08:00
Ghost_chu 0e2978070a Remove dupe isLoaded checking
Former-commit-id: b96c2451933a5bf2df5960b8078edf5e8523f1f3 [formerly 74a66926a585a9fb436ab6f372689ddda58efc88]
Former-commit-id: d27937494f0ad75b2e9b3c6ed53d1163ebb697fc
2019-06-01 19:40:35 +08:00
Ghost_chu 431e8c88c6 Fix a bug
Former-commit-id: 4cf708ef57c601c32ce2d380c079bf64ff6e9d31 [formerly 8b59ea7615896a856aa0ed2276eb794742cc0aa0]
Former-commit-id: befe5551bec075a58d1400196383c797e5c990f8
2019-06-01 13:59:53 +08:00
Ghost_chu c7ebbddcbd Check shop is loaded after to check display
Former-commit-id: c09e1c96db1a6c424cd9ce4a60ed46558101d103 [formerly af3ababfc54d3d4b86e2528a3dae421b18e513fe]
Former-commit-id: d95c0eedb5af9b30d732c1025e895e23ba601c00
2019-06-01 11:42:25 +08:00
Ghost_chu 830a902ee7 Try fix a bug
Former-commit-id: 687b5490dec75c6f62890cbf17a4f3d95dea75b3 [formerly fb8aea695c69ea48744d6685ceb5571196399dda]
Former-commit-id: 753e0e48f09c0d4aca77941a973ebbc92a8becf5
2019-06-01 11:36:19 +08:00
Ghost_chu 69c91a9e47 Remove useless debug logs
Former-commit-id: 38e5c5e59f6f98ae401401038c2174cd5fc25fee [formerly 8bd5c468f990a97f4036d99dd52581500ee53a24]
Former-commit-id: 5c630e85f5d56ce9fa1b229c6cae6a5c6c5656bf
2019-05-31 21:51:13 +08:00
Ghost_chu 495adf90bb Release version
Former-commit-id: d5aeb36da159df5def8cce4d38888caa44d6ef1a [formerly 1f56dde9085c69ebd91a1e19ed503b6d5b91ad65]
Former-commit-id: 0d529e27060d83fa1e917e455d2134e7b0564f12
2019-05-31 21:50:37 +08:00
Ghost_chu 4b12db0038 Remove length for sign limit
Former-commit-id: 614600fb9b7b88c92f0877e86912f894f1a8f7e9 [formerly 7bfe8d4cefe3b62ea84e6f2e57fd237a547c809d]
Former-commit-id: 953d7f6d5803acaa9a0808e6eef7160311acaea0
2019-05-31 20:04:16 +08:00
Ghost_chu f02ef09dd7 Move setSignText actions to ContainerShop class
Former-commit-id: 7717a7a4cd55c945969dc84d7954857ab2a0def3 [formerly 5474905252b3e4a67dd533cdc69843918ae8869b]
Former-commit-id: 9f12f0f479e0bdbecbe2ede083dee3d36e74f02b
2019-05-31 19:59:58 +08:00
Ghost_chu 813354d4f5 Remove dupe call signSetText
Former-commit-id: eb806913e9790b6ea541d8c209ae0aed2842d92a [formerly 6f6204af997ba6a4399bd9d12af19f7492fdc8ba]
Former-commit-id: 7d63a86e9099a15251db786eeb225f1844ed7b0a
2019-05-31 19:54:03 +08:00
Ghost_chu cf4f86fcad Revert about isLoaded changes
Former-commit-id: cae89af61bcf4815fe6eb1c035bcedb8c64df483 [formerly 4211c2090ca10d9c50bc81d29fe952c9c2e075a1]
Former-commit-id: 9ee77e7f5c1f434814a34782851957ba9c54353d
2019-05-31 19:46:49 +08:00
Ghost_chu c000b25f69 Add isLoaded(), check shop handler when shop loading.
Former-commit-id: 1bb082e64df1af5e904ee525b48c1dfd3cfc84da [formerly 3fbe7ab6c7cad3ecfba1fc031391fc98e57c2dc0]
Former-commit-id: e5b9c8031a66bceffb8b2b974e91e7beefe7af4d
2019-05-31 19:36:12 +08:00
Ghost_chu e4d2f5e6c9 Make display-item be interface, allow virtual display-item developing.
Former-commit-id: 623b3c92e8af00221ce4966125b2e6ce6a3d841c [formerly 03d633d78c352c366c518cf2a81fa327272eb92a]
Former-commit-id: d82604b13f8ccb3f107b2c5c6ab30b4f3c98783c
2019-05-31 10:19:55 +08:00
Ghost_chu d6d75f56d4 Move parseColours before first message output.
Former-commit-id: 5d189ec33dc69a9ed61d1aff8d2769db30998bb4 [formerly d949878cd67af763ccf3e765c54577d26e49db3b]
Former-commit-id: a332dd27db6ce19c6631794ef45d6c8fcb9abecd
2019-05-30 22:27:03 +08:00
Ghost_chu 460c6c0dab Fix queue clean process late than close database connection.
This bug will cause data can't flush to database when server shutting down.


Former-commit-id: 1ce2e56ac7c1f7159ca902be37781246c0bd1d77 [formerly d96623499983814c521a5dc8484b8f42f58ab92c]
Former-commit-id: 050c8aaf086e6be9eea4b2ea4af8a3e7729353d1
2019-05-30 22:20:29 +08:00
Ghost_chu 761a2f9011 Updater shouldn't use WARNING logger level.
Former-commit-id: d8794f43883e8c7e82edcf6807d0916f966e62ed [formerly 516e1c39bc86538c529e3132298e50bac26d3bd0]
Former-commit-id: 5cb35c92ae4655ef7081272961f466a509a8a3b5
2019-05-30 22:12:49 +08:00
Ghost_chu 21debe4397 Improve queue design.
Former-commit-id: 79fb7c2d1d005f4a39fdd45220d11baeb51af5af [formerly 9683256a42eed53d3432af877a6dc370886d0937]
Former-commit-id: 4a90cf7a375412bd5d7271b1a91f3d73d4234324
2019-05-30 22:09:50 +08:00
Ghost_chu e917db666f Improve queue design.
Former-commit-id: 2e70ac28c377926270874c12ac0c1bc66ad47f4f [formerly 24835158282149798739f37485bed36abb963544]
Former-commit-id: a21e538dd1c7b87c92a4aa57581f3475cdf1d0d6
2019-05-30 22:09:00 +08:00
Ghost_chu c5a2d02b97 Move some database actions to queue.
Former-commit-id: 988157b41664aa0bca6d2cccdd570e091de3aac3 [formerly cceff3446774675373b6ffd4283aa35b450fd9fa]
Former-commit-id: 334809d3e07bc6762ac1b778f2b8c61a436faff3
2019-05-30 22:00:36 +08:00
Ghost_chu d3d4dda87e Fix maybe will may happend NPE when SpigotMC.org down.
Former-commit-id: a0e84dee5e2cb53d1633cca4d27ff7ab621a8575 [formerly 53b615c5241bebc618a46b26c818fb9651931f5b]
Former-commit-id: 3deaa1cfdce5ce8b8f31f4facd4ed5df942fbbe2
2019-05-30 20:52:29 +08:00
Ghost_chu dfd4e435b4 Queue the display moved checking
Former-commit-id: de29db7da0448e61436fda65400ace67c7558274 [formerly 356e2ef977078916a588c32cd424959dcc8d862d]
Former-commit-id: 139dea203e44144753db42b501cd3e98fd75d28e
2019-05-30 20:47:35 +08:00
Ghost_chu d6f26276d7 Queue the display removeing
Former-commit-id: 7f4bece045ea8931e513361aeaab9c5f69293a92 [formerly 949d73ed5986a3961303156b0d147e3245f90ab6]
Former-commit-id: 0af5e94c052d1199dd0739d1d5e652b85ca890d5
2019-05-30 20:43:54 +08:00
Ghost_chu ce83fc6798 Format codes
Former-commit-id: 80507eaefc0643160687cdce75a29681688934d9 [formerly 3aaa173201b353e71ebf3340cfebf603406d858b]
Former-commit-id: ccaa5aad83ed69545a82374a3f4cc60c6b45a332
2019-05-30 17:12:55 +08:00
Ghost_chu 4713e183e7 Fix dead-lock for queue
Former-commit-id: dad9a3b663b6c356b4c595a6917efdf43488bfb7 [formerly c8e1e004b39f10bb3f1bd8d91c919f9f0cc11752]
Former-commit-id: 007ad9c9f5e4c65591ada000077a35c0330876ae
2019-05-30 16:59:07 +08:00
Ghost_chu bbb25207a9 Finally fixed NPE
Former-commit-id: 9408958e09075621d7cf5c2191ef41ac9a26a356 [formerly 92e217a037a7253550d4f691c1fe14631eef1104]
Former-commit-id: bc9ca0a9d24bf47fd930d5d9a41698bcef8ca00d
2019-05-30 16:47:35 +08:00
Ghost_chu b57df7f334 Try fix NPE again
Former-commit-id: 15ee0e50f4c3cb6322c22cdd9d2bd622378cd35a [formerly c028e69895ef78f90b53caa27b374749873e208e]
Former-commit-id: cb11976dc86bc00546c253014f385012a7cbf70c
2019-05-30 16:43:25 +08:00
Ghost_chu 80465e036f Fix another NPE
Former-commit-id: 2ed3cbdb43bae45de3a965a7969a6392e3b7f3c1 [formerly 724f603c475734d3a3e1bccd006ea7efb611c538]
Former-commit-id: 380c69059a6a3184ab08e06494bacdd2fbfc4d24
2019-05-30 16:35:46 +08:00
Ghost_chu b1947112f3 Fix NPE
Former-commit-id: 9636aede462f71d8ce488a192801718836436a85 [formerly f92298e7e86ec18cccf21baa0fabf0eb33b32f16]
Former-commit-id: a77180363e9dda8598e89ead54c59d937a487bab
2019-05-30 16:32:30 +08:00
Ghost_chu 31f0271951 Rewrite Shop loader.
Former-commit-id: fd40b15afb97926ec945f194898fea98f95a5ed3 [formerly 2b852ace1b14302162a5c6d5a692c955ce2bda79]
Former-commit-id: 757420771149065c81c747028686220e279058e1
2019-05-30 16:14:05 +08:00
Ghost_chu 0e7af5784f Improve default config and add javadoc
Former-commit-id: 7dd362e437602dbbe9a17a9f8613445b53de63e3 [formerly 4e75a17cea9e5597ab1495b71298510c5b3b0bea]
Former-commit-id: 0e27a944482c182e1dba070869b414bbf5bc876b
2019-05-30 14:41:21 +08:00
Ghost_chu 0cfbe353a0 Queue shops process
Former-commit-id: 95bc58df0372df2ccbea170f9611c6b611952ad0 [formerly 2c136b0366c9f5a8cb69253722344f6e65cc0f84]
Former-commit-id: cbec18795939b17748484e807a845fdcfc1d8e10
2019-05-29 23:19:29 +08:00
Ghost_chu eea2bccd6b Merge pull request #89 from harry0198/patch-2
Update QuickShop.java - Tiny tiny tiny grammar mistake

Former-commit-id: f2f731bd754eddcad1857353a562c865e9510c2c [formerly ea4857abf375ae684cb7892bdda978bd691877d9]
Former-commit-id: 3163dd08059032dd7d1da421e42b2eafc2cb9809
2019-05-28 23:41:49 +08:00
Ghost_chu 180024688d Register permission in plugin.yml
Former-commit-id: 618c90758c206865567ef6b01befd642bc2c2edb [formerly f84ed69983d01f5ac2ce4f259ab5a32f3ed6d590]
Former-commit-id: fbfa303701ac30ff39ff8dbd16fc81e98f766091
2019-05-28 22:17:50 +08:00
Ghost_chu 1bd3f5e17a Comment useless method
Former-commit-id: aa6a2841a18dc839c4355cd4821bbb59cf35f384 [formerly 520aa4d01bd9a905679401e557fcb2210c378411]
Former-commit-id: 05157475d005ff6ea2443d01d4288b576d26f2de
2019-05-28 19:11:34 +08:00
Ghost_chu a00f9ea5ac Javadoc
Former-commit-id: 1ec7bb723c7bf9991b264e5e58cb8b830c6ffd96 [formerly a24fe2e0d0c1253503c87fbd7eddbf435a6ffc29]
Former-commit-id: 501258aefeebc000a54861e20759ef2da5cc6fa1
2019-05-28 19:09:26 +08:00
Ghost_chu 9dfd9e2976 Code cleanup
Former-commit-id: 80f414b465749a954695b20545284cf26abf4939 [formerly 989ff8127d444acd5e566cc53af89d643e331f23]
Former-commit-id: 6b87f63a9a31438e44c891caccb3a018a6542bdf
2019-05-28 19:04:02 +08:00
Ghost_chu 4e0eaecf72 Fix some MySQL bugs
Former-commit-id: d149ed15a913bd1117c85db43cea4f331bb11e23 [formerly 6d1c679009376011fade74fd17d7ec0bba64acd8]
Former-commit-id: 73552e30d14c584f00afdf72165340ba83c67fcc
2019-05-28 18:59:35 +08:00
Ghost_chu 8d1226f8c8 Fix the NPE
Former-commit-id: aee509bd20e8dd9f5e6112e655e50ecb2fff0ac3 [formerly 0254d0a19ad611877aa6f311c6f1476c4b6ec1d6]
Former-commit-id: 3a5fd38570095b1e138e2ba10eee439d279f11fb
2019-05-28 18:58:46 +08:00
harry0198 9d74f2b718 Update QuickShop.java
Former-commit-id: 5bb946ff72e952198e37271669c7441e23de15ed [formerly 145653d60bc2917bdfb03f7a5923d4a03f4ac6ad]
Former-commit-id: e0d08f6738be606e56c2f2c941834a0856422fc6
2019-05-28 11:23:07 +01:00
Ghost_chu ca7e797a56 disable compatibility tools
Former-commit-id: 3c070e656d3225939a4b128d9eaf155133114ec2 [formerly a86ed866f697e3fea45bf828694bad74998d161a]
Former-commit-id: 177759c2cb14cf15b85637ccdb4d221024ebbcb1
2019-05-28 09:38:22 +08:00
Ghost_chu e86a47df2e Fix #85 #86
Former-commit-id: 68eca3b8f4e61b40dab2ab03c0d2621050ae128e [formerly cce6bd6b8ca5be2314063f406adf60d66ac9f0ff]
Former-commit-id: 94b0a5f71f01a4058de4d074c95b8178dd593c37
2019-05-28 08:58:35 +08:00
Ghost_chu 311dcda981 Javadoc for plugin
Former-commit-id: be2a1357f79921008a16872e66134102f0ab9d15 [formerly b3dbf13cea0f3f12c0b84e4f1092826b9bb4c1da]
Former-commit-id: 1af9fe4324f8afce36304efba0223f8e5206ce2c
2019-05-27 22:48:02 +08:00
Ghost_chu 555a9d651d Format code by IDEA IDE
Former-commit-id: 341da21d21b8f04ec28de8362f04fe247415dcbd [formerly 0d59111dd53cde3a9546f42c76a754b6b9c0269e]
Former-commit-id: 5d017a7595cc05fbfeff5027f61e128e5423a720
2019-05-27 22:10:57 +08:00
Ghost_chu 50bcaffa05 Debug logger update
Former-commit-id: d3b00415680cbf599d1df0014ea145c101ec4e78 [formerly 6501061f43c2c55e535fb9b2b7dbda31787c3ce1]
Former-commit-id: b0a5a71c01d0bf949f95baf057ba725e74a2a746
2019-05-27 22:03:00 +08:00
Ghost_chu 9843cc5a6a Some style improves
Former-commit-id: 1a02650c28a05de2be7984ac7bfaad5da4f08684 [formerly 28c2949aa08a0a50e10d1610f98c3b6204d7e238]
Former-commit-id: 1d1b9120ba00e7a667ab0d72743daffb130794f5
2019-05-27 21:50:04 +08:00
Ghost_chu 994f9d7ae1 Fix #84
Former-commit-id: 2dc2d5bb86ae7928c857580635657c012439b1b4 [formerly eb79a405cc083393a6f2864f41a15e5ddfb033f0]
Former-commit-id: 1e49b1dce6a6972c389f46cf2605540f516bb5bf
2019-05-27 21:45:15 +08:00
Ghost_chu 46eb7204c2 Fix #83
Former-commit-id: e983e0d2d221e6c28a667b03424c25a419493b8b [formerly 66b703342e090b65882592e7675a133da217f05a]
Former-commit-id: 46898e9124ff0ab281b430ac816bba85676f1ba3
2019-05-27 21:35:13 +08:00