Commit Graph
1091 Commits
Author SHA1 Message Date
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
Ghost_chu 22eec43020 Change hard code to fork name
Former-commit-id: ae4d436cb3092270fcd92cc1f5f077219f9499e1 [formerly 442c6c2a2aa312d5ac350f19f4e0d971dcc8b210]
Former-commit-id: 828b5c57c536a9ca9c8395d825b677e37107ab72
2019-08-16 21:33:15 +08:00
Ghost_chu 77ab87b626 New permission provider system
Former-commit-id: 1fa06035b2c0976be54c3554f0b2ae17fb2df1a1 [formerly d1f9ff9bf57e4b308aab1f6f8ac06a91140fc7b2]
Former-commit-id: 848f3e2b613736d836264b7d055195d78ab64d58
2019-08-16 21:30:49 +08:00
Ghost_chu e883e0b44f Tweak codes
Former-commit-id: 3b248850f8c5ada53752db6afca742800a978232 [formerly 562cd833976132d4a52432a967a430091bde3c2e]
Former-commit-id: 99642d75d663f514643b45620f97aaba5a5fad32
2019-08-16 18:39:00 +08:00
Shen-Ta Hsieh 310de8c571 Fix tax calculation on buying shop
Former-commit-id: 30824cc1baf23d2d41ad815f2a5515765d504742 [formerly 7b6693135c28803f6d4e93e8290e809f448db343]
Former-commit-id: 11b0078c47d99a117f2b1b482ae5f35cfa021bd8
2019-08-14 20:24:50 +08:00
Ghost_chu 65308a0f31 Fix typo
Former-commit-id: 70c16f635844c1603843cdb998a53b85ad1542aa [formerly c9aad2f491cfa1fece3a90b84a5d559f4fdd857a]
Former-commit-id: 498345f853065be9f067cfe81f9c02359935d477
2019-08-13 20:30:08 +08:00
Ghost_chu b9a1e2b19e Example config file and LangUtils support
Former-commit-id: 34cba154d0104e669d29fdf8ad65b6fa98aaad80 [formerly e223f40f724cecc499e9ef03b58a985d5f61d323]
Former-commit-id: 9a3aa901b3253f72daf3fc0825b4f240282b6c11
2019-08-13 20:27:25 +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 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