Commit Graph
1374 Commits
Author SHA1 Message Date
Ghost_chu a83b5da23c If no number input, output errors to debug log
Former-commit-id: 9ea5a32c3970a2b37b4a1b97de8185ea694570fe [formerly 7ef977b5b021bfbdfed87631b2e481ffa8262d49]
Former-commit-id: dc872789da9da8f4e72b3770d5d9f0f10e5b5b75
2019-08-13 17:00:48 +08:00
Ghost_chu 916c32528b Fix possible NPE when tax is empty
Former-commit-id: 00ddb76f97f005642da47b81c3d5362823af3b2c [formerly 968cd2b7e6ad090dc0dc14bd2f81decac6880edc]
Former-commit-id: 63821c1e4edee61ac7ae2ded026a9052784df886
2019-08-13 16:57:02 +08:00
Ghost_chu 80318c4bd7 Optimize the code
Former-commit-id: 3d0cc60d113637ee32c542d8ed18e487518a8aca [formerly b783eed1dbb7c29817b5c1d4835a3b009cd648cf]
Former-commit-id: 9bb8deca0ffdc07d274b90308fd4c811fa4cd20b
2019-08-13 16:52:06 +08:00
Ghost_chu eabb883810 Detect the AIR itemstack shop.
Former-commit-id: cc03daa513c7e9b00c9a2bdc73d45b848555d770 [formerly 35af43e79c2954a5b1d4bafa0ffba5485a3a253a]
Former-commit-id: 7c2b5211b704959c164cefe9b0b44eb6f675b33f
2019-08-13 16:50:40 +08:00
Ghost_chu 3d88c4f349 Detect more broken shop infomation in database
Former-commit-id: 87d7fe1bf933c5ede0880682eed767becea0bd3f [formerly 0932f356edeb77fc116f4b6136788c8289376aed]
Former-commit-id: eb02caf088d20f0142ab250fca89f1d724f333be
2019-08-13 16:48:55 +08:00
Ghost_chu d98ffe7416 Skip the shaded jar, only use normal one.
Former-commit-id: 923bc31ae7ed516a839e0c3fcb632b7ec301f4ab [formerly 0b0f14d86ce8bb70cb60658f177b092e4ed8f926]
Former-commit-id: d6a429c71ef671f1ac9fdb805547077705297e1f
2019-08-13 16:45:35 +08:00
Ghost_chu 77c51b581a Fix ConcurrentModificationException in ShopManager$ShopIterator
Former-commit-id: bcabc941751027c1fa1739f7b40aad8402511ca9 [formerly 06bfcbe24aae770dab485d21444dc9ab55797394]
Former-commit-id: ae240f53d9aa95706127492d6d710a227353af9e
2019-08-13 16:41:18 +08:00
Ghost_chu 77a3f125a0 Move container checks to standalone method, so other plugin can use it.
Former-commit-id: 4ccb9867f15c20b51d12eed5bd5b000dcfb2e8b4 [formerly 7fb42701e4a8c245ca86b4d1769edfe877dfd19f]
Former-commit-id: 526dd140f7ec15f997dfbd1e4d7294fad43e176e
2019-08-13 16:36:21 +08:00
Ghost_chu bc0838d3ea We need told user if sentry unloaded, not simple a disabled alert.
Former-commit-id: 629e730beee76fc4f236c909f2bd90cd4bf99cae [formerly fc7e78c5f03fb8e7fbc12d6ca7092118423b6664]
Former-commit-id: f566ede0628bd20d339fa40371dacd00afb01481
2019-08-13 16:33:47 +08:00
Ghost_chu 0f25b473cb No more stupid
Former-commit-id: da86a813fb1b175642aa1a0811606b2ad02c6a25 [formerly 38454fa78ad00774d324c3e0bbcb6638e13eca7f]
Former-commit-id: 2ace12a3bbb88e59fa351088f4e7174cea704dbf
2019-08-13 16:31:23 +08:00
Ghost_chu 63c48dd53c Fix possible NPE error
Former-commit-id: e80d18b489fa982d16ddef89d3205fcef985e8e6 [formerly 7be34d6c9173151e6d86c4a1032907c593376f29]
Former-commit-id: 983cdaf75ab114814d7f60228f338561d9cf0ed2
2019-08-13 16:24:28 +08:00
Ghost_chu 044aaac665 Unload all shops when server shutting down
Former-commit-id: 96a54564cff4c48068ef7b2c1be4e7111d3621c5 [formerly 39470a2e4b50b10bb029c1bb27a70f4320c420b4]
Former-commit-id: 1c3bcbde49c6ed245072e5e645e01544745141d7
2019-08-13 16:23:50 +08:00
Ghost_chu bea49d773b Add loaded shops api
Former-commit-id: 74bc27698e5f8f1a5d8c8b38fa58b27932119b91 [formerly c71ea19e99cef09a967aaa07b9dba38955e05015]
Former-commit-id: 4b62dbd00a6e319d654c8bde9ec6492998450fab
2019-08-13 16:23:02 +08:00
Ghost_chu 9bda6134b0 Fix supertool break the shop issue
Former-commit-id: 699fce6d951254f36fc86fdb9a0409a6af1c2b1f [formerly 232dc5943b1d0e70e597e3f1f02263949fa4ef81]
Former-commit-id: 7adbc48000ef8d86f5640aa240c2227aef1bd8ae
2019-08-09 18:07:36 +08:00
Ghost_chu 034c0a6065 fix register listener failed if not install clearlagg
Former-commit-id: 2234d501247bf349c774504f45283718d7b4f9b8 [formerly 2705c9786c255526697f8c506760d98d4207474b]
Former-commit-id: 236100e9b2757118edf80c499d5fc88bbf889f81
2019-08-07 18:01:38 +08:00
Ghost_chu 2d6a78c911 Update languages
Former-commit-id: fd99e79981f8826a7299caf63f86ac2b6984db0e [formerly 211d73a1f14aacd7910b20c2f431fb6670c87c41]
Former-commit-id: 1a3a480a567cdebfb426ae319fa45bb558978865
2019-08-07 16:22:41 +08:00
Ghost_chu 4d93851297 Add ClearLagg support
Former-commit-id: 77bec3282ba05e64a8b29dc6b2f0fda5caecbd96 [formerly b5683ed568b90ac268986da32fac882e90437aa2]
Former-commit-id: 09c112a46dba9cdc2ae80f57105e920c9776e74e
2019-08-07 16:20:25 +08:00
Ghost_chu a83aba841d 2.3.2
Former-commit-id: d9ec55f49dd63cc49c2500b3e868d3d2059d4cf9 [formerly dea3434fadc6e8b494d78e589e7bb77fbdbc08a7]
Former-commit-id: 3a7be1c6326c12efcf7a201992aebb10ab8d7b8d
2019-08-02 20:26:08 +08:00
Ghost_chu 864beca92c Remove @NotNull for events
Former-commit-id: 042a63422f5f6b919353a1ad3a6c2e2d37f76a5a [formerly becafd3a6315ff72ccbdaac71172fb077f559b84]
Former-commit-id: e5e9fb3222066e0e4d886e5a2125977279d85ce4
2019-08-01 17:29:27 +08:00
Ghost_chu e329e149ee Remove useless permission node, fix #161
Former-commit-id: 6dfeb04ce1f414c28b074771938fddcfbb5da2c4 [formerly 2002d3369c68b4021f76efbe11864e89a6679608]
Former-commit-id: 6f2dcd48dbe3564ff28d057ea3babea5acc46eae
2019-07-29 23:27:57 +08:00
log4b0at 60788f12a0 Update ShopUpdateEvent.java
Former-commit-id: 457d5a21e1bd565f4004ea05d6d7a33e87ddb8f9 [formerly 56a3716c319c7a47b993641381d28b28fed61fd0]
Former-commit-id: 524a96c61725ec7b8a7815c398217b27aaea528e
2019-07-25 14:06:32 +02:00
log4b0at cf46a1bfe0 Update ShopUnloadEvent.java
Former-commit-id: 40d9e0416b19bb2a3bd9b18b8467dd5f7d7391d6 [formerly 5012675dee3b51bf07bce21fa811428b5169e8d7]
Former-commit-id: c222ae6ba84b48d287d2998f3a2f546f2ff077d2
2019-07-25 14:06:03 +02:00
log4b0at 4b52505a65 Update ShopSuccessPurchaseEvent.java
Former-commit-id: 9321b71f4bada53df98008c1d45cf48eb5f65748 [formerly 657675534bcc4385981e4b737b3011274abcff62]
Former-commit-id: 655351a7546e6ce0423b6b49aa317fce46041c87
2019-07-25 14:05:40 +02:00
log4b0at 97c7614778 Update ShopSignUpdatedEvent.java
Former-commit-id: 66146ba9079a0e9edc38fb4838276c77b51dcbb0 [formerly 8b5d5a5a7bf519549e990a486c01c15cb81e2a72]
Former-commit-id: 55890f79fd62c9c79640d42ece705211faa3776b
2019-07-25 14:05:18 +02:00
log4b0at c3cfd3d293 Update ShopPurchaseEvent.java
Former-commit-id: 2bcebc7d2f3a5d52281754d7cd4b32f0be0f2c98 [formerly 8ca700dc8dbeca47de0ba8c7619209b25a3dbfbf]
Former-commit-id: 8fa90a90ac09fd337b5debf72c63504e3b734c9c
2019-07-25 14:05:01 +02:00
log4b0at c5ce54556e Update ShopPriceChangedEvent.java
Former-commit-id: 1177288962ce3512ad2e314c2cf3e7acfb148660 [formerly 5b5b513a78d482a7ef026010ac7acc2eed82e6ed]
Former-commit-id: a3b17303926727115526482116cae9200dec9ed3
2019-07-25 14:04:34 +02:00
log4b0at 33ef442e95 Update ShopPreCreateEvent.java
Former-commit-id: dd0d155d3715a26f902a74ade5e14ca87af3f09c [formerly 9796f27f8854882ae73b61801340d26131972653]
Former-commit-id: ebaa394f14123e28277effde58f18e703db94135
2019-07-25 14:04:12 +02:00
log4b0at e156d33387 Update ShopModeratorChangedEvent.java
Former-commit-id: 67313f6913d43cf62da8fcd5753588236d481180 [formerly 19222228c40fdad3b237af48a87d71aa9d8ec1f7]
Former-commit-id: c1b3b4c80fe7e53c2604f15da253bd75644a70cd
2019-07-25 14:03:53 +02:00
log4b0at 57f215757f Update ShopLoadEvent.java
Former-commit-id: 456aeee8a286308d64e7df7e371b6dc6485869cc [formerly e0da466233ac0a397849ea96beda8ea04172fdf5]
Former-commit-id: f0557e635ac4a771dc03e8c1a2206f91961e2669
2019-07-25 14:03:22 +02:00
log4b0at 48cc433daf Update ShopInventoryPreviewEvent.java
Former-commit-id: 1fc70064a0c90849973bc2ef93447fc8520624b8 [formerly 1533cf367babf9db54329a1696c546881efdca85]
Former-commit-id: 0f9750a4b1ea7768d056ff4ca690349fe88ad267
2019-07-25 14:02:58 +02:00
log4b0at 3acbb85503 Update ShopDisplayItemSpawnEvent.java
Former-commit-id: a2cd60ebf28c264f899c3029fc9e05616e9035f5 [formerly 8a9e284210416a7a8f1f7dd26a25d751db0c0451]
Former-commit-id: cf9ad9c644242d9cc7ddd3902ac0d54d402e7d57
2019-07-25 14:02:36 +02:00
log4b0at 4da05df425 Update ShopDisplayItemDespawnEvent.java
Former-commit-id: b503fa14bb466cd723e763d132adebd9507b5c95 [formerly 7768661552e870f1a8dc5bcbbd9541212ceefa8d]
Former-commit-id: e06714e745ed4091af637a8a03d7885efca9cdd3
2019-07-25 14:02:06 +02:00
log4b0at 472e243fa2 Merge pull request #1 from log4b0at/patch-3
make getHandlerList static in ShopDeleteEvent.java

Former-commit-id: 72c23a69b8ac592d7b40a9d8d26ed53942fc9ceb [formerly 8344f25e427ca8c04b1fe4b5b89297e8c2de8c6e]
Former-commit-id: 5ce5c544b3e3a3a3b77854f48487c12a37d15610
2019-07-25 13:58:24 +02:00
log4b0at b1db6f67a6 make getHandlerList static in ShopDeleteEvent.java
According to the documentation the method "getHandlerList" must be static. This should solve another NullPointerException problem
https://bukkit.gamepedia.com/Event_API_Reference#Creating_Custom_Events
Former-commit-id: d3cd0e8fd64513e34a8910220fa344ba954c1e7b [formerly f4ce8801ca16c46218030c0bcc36c9674f453c4b]
Former-commit-id: e46172a9758d47d53f19633fbe0b8a78b3a88d0c
2019-07-25 13:55:15 +02:00
log4b0at 045565fe5a make getHandlerList static
According to the documentation the method "getHandlerList" must be static. This should solve another NullPointerException problem
https://bukkit.gamepedia.com/Event_API_Reference#Creating_Custom_Events
Former-commit-id: ce63aa6f89ef6b2ea6ef8c2179f2744cdd99376f [formerly 7fe086cc5a3849a3726011d6bae71ec521426ec3]
Former-commit-id: 006734f1572eb440981f3e588b5de0742decaefb
2019-07-25 13:53:33 +02:00
Ghost_chu e7c80f703d Fix build failed
Former-commit-id: 44c0e1446ade5d1a50ba87774a7c0c2d12508747 [formerly c0abce0e39284754cc47a3e45021cd69f9dfd3d8]
Former-commit-id: 75429564239eb668dc5b0234836d3b3a3fc815b0
2019-07-25 18:14:12 +08:00
Ghost_chu 9220c7b719 SentryErrorReporter nolonger depend the bstats lib
Former-commit-id: 70a0ee7c93777912a604ded62d4a4a1a2efb0cd1 [formerly 3860dfbe9f42a4d195a6081e0a25836d9fb101da]
Former-commit-id: 6135c8c2c60f1a5f9b02d37d20fc6e1c9a376ed5
2019-07-25 17:47:39 +08:00
Ghost_chu d90f54bc8f Paste nolonger depend bStats lib
Former-commit-id: 8d035f2cbac6b516a29b5f02b02f9f0a582255df [formerly 8ec7fd323a52ec130d7a1340df13bec961d5d103]
Former-commit-id: 12afb29bcff2956d6996d8403144005de0c00a7d
2019-07-25 17:43:26 +08:00
Ghost_chu 6bb8c6f967 Fix QUICKSHOP-88
Former-commit-id: 7bf81ddd5a78d6e373b1483f644a816bf0155e74 [formerly fc05f34a10455d59873345beebaf2d4dcfe15395]
Former-commit-id: a9ca76b08d0abe00e4b913aef2463b1a8dab8f88
2019-07-25 17:36:26 +08:00
Ghost_chu d90ad50605 Fix QUICKSHOP-8Z
Former-commit-id: aff5859fc4a673f6105133dad66a602229fab72a [formerly 969dc40ba6f71fa414fa157e652a9de7a917c499]
Former-commit-id: 2995f1c21de911ac8a36e4536ec34a086d0c8881
2019-07-25 17:34:00 +08:00
Ghost_chu c02f562413 Fix #155
Former-commit-id: a307999d8570c1efb966b552f20d778cab0ca38f [formerly 3191f8cfc777a77e75b28f0a3c7782d28ab83b26]
Former-commit-id: 269d55277d4cd17bd23d99c5b0b8bc856a17bd99
2019-07-25 17:30:38 +08:00
Ghost_chu 01981b8155 More details when notice send to console
Former-commit-id: 1253ab42355c536657c6de3c3673af0896277a2e [formerly 23bb8b67435f56c1b74f20d5d4ce93318d210a43]
Former-commit-id: 1ed78a8add6cb2caf1acbaae6160856fb1df6961
2019-07-20 18:58:24 +08:00
Ghost_chu bbb25a8719 Add a settings to fix #148
Former-commit-id: b32676e0ad7f31809fc42d977c6063f8b773f168 [formerly 291ad189409abea3cd950d8f0935329829fc4e57]
Former-commit-id: 2d436d7a8ee307653efa03dbe6037b886c7d3be1
2019-07-19 10:20:08 +08:00
Ghost_chu d3c70912b2 Update zh-TW language
Former-commit-id: c94e8ee40a3122466ca4160eb273b0ab22900dae [formerly 4f950f793ab13b58cdaaca19cecb941a7d6329be]
Former-commit-id: f104af20b085f5f292253dc000d6d1cbe1537853
2019-07-18 21:55:05 +08:00
Ghost_chu 1f4774d811 Simply code
Former-commit-id: 1ede265b6cd86439f995117ec61731e6db5ae598 [formerly 56078ad8986d5a95614b0388fd910fd8664a7bad]
Former-commit-id: 1a8bcbcb46964a5bcea3abaf8e2e393ac412a73b
2019-07-18 21:43:53 +08:00
Ghost_chu 7096eb92f7 Optimize code
Former-commit-id: a804f43920436cbce88f170af37ed77a3a71f3ef [formerly 544bb3795e922e2129440dc47e752e2b03693116]
Former-commit-id: 2e3013ec7039c7a6ca26e4a2764bf6bc27646cf9
2019-07-18 21:40:52 +08:00
Ghost_chu 0e4e46d9d7 Optimize code
Former-commit-id: 95a525785f61d93f7af8064b9037834e2ccec347 [formerly 54d83c45490bafdc60061d7c537e613842075025]
Former-commit-id: 70f6cab73a7339aa950d48d98df4c9cb1a67f858
2019-07-18 21:39:00 +08:00
Ghost_chu 5a421a6458 Add settings to control loan
Former-commit-id: 015aec44f61f386177972ee37b8274dfc71989d5 [formerly 42f41a6c66b06a077b88473b2bf088a9d6f63387]
Former-commit-id: 0ec2edcd9f6688ff9cc0cf8593d5f87701a98ddc
2019-07-18 21:35:53 +08:00
Ghost_chu 0d4b880899 nope
Former-commit-id: a74b167dd5f3a787cbb8a6885f6c0047e32f3e0f [formerly 9f9c275421ffba5a886d54475ee3c5bd42fd2d34]
Former-commit-id: eff352c229b9ee03c400a88f8297882004524fb1
2019-07-18 21:16:05 +08:00
Ghost_chu ce1060a039 Fix help command
Former-commit-id: da249a42520058529a207ca49fdfb230354a764c [formerly 4ef9a62fb669d3c81e68959c93fced1414c213be]
Former-commit-id: 78afe63c539a753d6945b509308e04064be81451
2019-07-18 21:03:13 +08:00