Commit Graph
1327 Commits
Author SHA1 Message Date
Ghost_chu fc84d9bce3 2.3.7 bump
Former-commit-id: 821011415e3e591b7dc423cccc343cb65f8026cb [formerly 0f20bac53ad6c999090ac407875aa6d6d983141e]
Former-commit-id: 1d20a8cabbe1cc21cde8581925666cd7f8378105
2019-08-13 19:28:21 +08:00
Ghost_chu bba5ed4deb Lombok, u r bad!
Former-commit-id: 824a58f9e76d2a3d381fb7b3ec27d34d1eb0799a [formerly 95df98f1ccea029108d8623d91eb9d33407b0369]
Former-commit-id: 4e8042358a4b2c564bf7694eaaec10d9a459b04a
2019-08-13 19:23:25 +08:00
Ghost_chu 65446c18ed Add NoCheatPlus support
Former-commit-id: 93d9a079f7c5ee4f9af4790583ec2dc5884b8e46 [formerly 570b75dfce5e28c4a3bdeafa20db1009105e3c7d]
Former-commit-id: 0f6fae5f21750e4a673dcb1df8c69d6ae7deed42
2019-08-13 19:09:40 +08:00
Ghost_chu 86598cf9f0 Deprecated the copyTo method
Former-commit-id: 7bb676aab7b6d5729bbe6a7362094601248acc51 [formerly d147d1bbac3e7fe91efe9e72909bc212be14e1eb]
Former-commit-id: 183d7fbd3b25e80efcc485e4cb57c5d987807d30
2019-08-13 17:12:00 +08:00
Ghost_chu 8268577e8b Save changes into database when shop is unloading
Former-commit-id: 2d867c55cb0966a1ce2fa573d18b9a66581edf81 [formerly 568feb1452bd7a465c4adcb16d566ba9037426ea]
Former-commit-id: bbbac7b47dfa65b9b7bc4d3e046a340f060d7333
2019-08-13 17:09:50 +08:00
Ghost_chu 252a0ad64a Add ShopClickEvent
Former-commit-id: 6486e73df12221875b9e4d3d300f830bdedc87bc [formerly 6620b335d1fdeaa1fc60dfcfabfb9aef9b415842]
Former-commit-id: af2c95491abdb2adaf321d7f6331830ef804f995
2019-08-13 17:08:38 +08:00
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 48d2ccb547 bump 2.3.6
Former-commit-id: b5d509850f22ee8ea380b25625679dd4bf432c8b [formerly e14d88569f78bfd4e6ec2105ea2ec433f110d9b0]
Former-commit-id: ca18ecfacb69882a1d3a6c583a37b463a7e54235
2019-08-13 16:45: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 dddc77fa01 Why all peoples want download from Github and ALWAYS download the WRONG jar? Okay, now nobody can see the original jar.
Former-commit-id: 0952bc5abc56ee97caba0c3aaa1288ce940cef41 [formerly 3356550811c5ff3dcfaa58ebad0838fe5fd7fc7a]
Former-commit-id: 26dc56b9a23ff70365d911536f4ba3e25b25ac47
2019-08-08 09:48:09 +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 b5e74387d4 2.3.2
Former-commit-id: d25efc15e8ac81a170195242201dac9d7ef2788a [formerly 0ba9e63c51e5ebd8863189d51b34a13b698cb59e]
Former-commit-id: 884da0582cb4f7f521ccae1d4da029a50635eb48
2019-08-02 20:23:23 +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 f34126d884 Move vault-repo to jitpack new repo
Former-commit-id: 57346349091419686de3e4ff2ece5696298517aa [formerly d745d7b2bc944eb78ac3b6bbc82894914dc9fd18]
Former-commit-id: 97664c55bd18fb56c1935c132fe3d3376dacaab5
2019-07-30 19:19:58 +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
Ghost_chu 47ad1134ca Merge pull request #157 from log4b0at/patch-2
make "getHandlerList" static

Former-commit-id: 2150f7727c6a3bef4a5e4923da61411ad00dc927 [formerly b7aeb83edfc66c4dc6c29e531806485a498c11c2]
Former-commit-id: 7353be56d730bccdb0978eb6ab29feb3ce59fd15
2019-07-25 23:47:49 +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 9c81db0f0e trvis error
Former-commit-id: 7a2e59569833ef2cb6efdd1434f481f2406ecf1a [formerly 8bd802ce07f4aec89750cddaddf99d6306fd37be]
Former-commit-id: c0bf7a25b229b71e158414b85b8f0058636ff26a
2019-07-25 18:04:22 +08:00
Ghost_chu 677a205c31 2.3.1
Former-commit-id: eafdefd34e513a44c087a457f717a15ea716b66a [formerly c5b5313b7cc4b81c2c87d5f6499c88fdff299431]
Former-commit-id: 594372d8f6714042d3e030bc572cf92319826e77
2019-07-25 17:50:26 +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