Skip to content

Feature:Log Actions

Ghost_chu edited this page Dec 13, 2019 · 1 revision

This feature allow you log player actions with shop to file.

How enable it

  • Open your configuration, set log-actions to true
  • Execute /qs reload

How it works

We create the internal listener to listen the shop actions, and write to qs.log file.

The example content in the file

[2019-11-22 22:35:03.623] Player Ghost_chu created a shop at location Location{world=CraftWorld{name=w3},x=3601.0,y=110.0,z=2953.0,pitch=0.0,yaw=0.0}
[2019-11-22 22:35:03.624] Player Ghost_chu created a shop at location Location{world=CraftWorld{name=w3},x=3601.0,y=110.0,z=2953.0,pitch=0.0,yaw=0.0}
[2019-11-22 22:35:16.469] Player IRN_Nian purchased Ghost_chu shop Shop w3(3601, 110, 2953) Owner: Ghost_chu - 7351a6fd-a09a-4c2d-aae9-86252d079a4c Price: 2.0 Item: ItemStack{GRASS_BLOCK x 1} for items x7 for ◎13.29 (◎0.05 tax).
[2019-11-22 22:35:41.508] Shop at Location{world=CraftWorld{name=w3},x=3601.0,y=110.0,z=2953.0,pitch=0.0,yaw=0.0} was removed.
[2019-11-23 07:30:20.128] Player gauutek purchased Koishi_Patchi shop Shop w3(3449, 124, 3065) Owner: Koishi_Patchi - 49fca854-fbc3-4ce8-b782-c500bcfa7783 Price: 500.0 Item: ItemStack{ELYTRA x 1} for items x2 for ◎950 (◎0.05 tax).
[2019-11-24 00:34:40.85] Player lazha purchased ChenYiHao shop Shop w3(3110, 122, 3314) Owner: ChenYiHao - 4e49f776-4bd2-41bc-81b1-b23e988f4a24 Price: 100.0 Item: ItemStack{DIAMOND x 1} for items x15 for ◎1,425 (◎0.05 tax).
[2019-11-24 17:55:56.867] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=2616.0,y=63.0,z=-4735.0,pitch=0.0,yaw=0.0}
[2019-11-24 17:55:56.868] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=2616.0,y=63.0,z=-4735.0,pitch=0.0,yaw=0.0}
[2019-11-24 17:56:11.89] Shop at Location{world=CraftWorld{name=w3},x=2616.0,y=63.0,z=-4735.0,pitch=0.0,yaw=0.0} was removed.
[2019-11-24 17:57:51.821] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=3112.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0}
[2019-11-24 17:57:51.821] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=3112.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0}
[2019-11-24 17:58:08.944] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=3114.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0}
[2019-11-24 17:58:08.944] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=3114.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0}
[2019-11-24 17:58:31.49] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=3108.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0}
[2019-11-24 17:58:31.49] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=3108.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0}
[2019-11-24 18:09:14.742] Player gauutek purchased Koishi_Patchi shop Shop w3(3449, 124, 3061) Owner: Koishi_Patchi - 49fca854-fbc3-4ce8-b782-c500bcfa7783 Price: 700.0 Item: ItemStack{TRIDENT x 1, UNSPECIFIC_META:{meta-type=UNSPECIFIC, enchants={MENDING=1}, repair-cost=1}} for items x1 for ◎665 (◎0.05 tax).
[2019-11-24 21:59:04.638] Player SSRRS created a shop at location Location{world=CraftWorld{name=w3},x=3454.0,y=124.0,z=3069.0,pitch=0.0,yaw=0.0}
[2019-11-24 21:59:04.638] Player SSRRS created a shop at location Location{world=CraftWorld{name=w3},x=3454.0,y=124.0,z=3069.0,pitch=0.0,yaw=0.0}
[2019-11-25 19:25:41.576] Player gauutek purchased Koishi_Patchi shop Shop w3(3449, 124, 3062) Owner: Koishi_Patchi - 49fca854-fbc3-4ce8-b782-c500bcfa7783 Price: 300.0 Item: ItemStack{SCUTE x 1} for items x1 for ◎285 (◎0.05 tax).
[2019-11-25 20:00:14.959] Shop at Location{world=CraftWorld{name=w3},x=3449.0,y=124.0,z=3065.0,pitch=0.0,yaw=0.0} was removed.
[2019-11-25 20:01:04.675] Player Koishi_Patchi created a shop at location Location{world=CraftWorld{name=w3},x=3457.0,y=124.0,z=3063.0,pitch=0.0,yaw=0.0}
[2019-11-25 20:09:36.33] Player zhangyeye233 created a shop at location Location{world=CraftWorld{name=w3},x=3455.0,y=124.0,z=3069.0,pitch=0.0,yaw=0.0}
[2019-11-25 20:13:32.908] Shop at location Location{world=CraftWorld{name=w3},x=3455.0,y=124.0,z=3069.0,pitch=0.0,yaw=0.0} price was changed from 60.0 to 50.0
[2019-11-25 20:17:36.876] Player Koishi_Patchi created a shop at location Location{world=CraftWorld{name=w3},x=3446.0,y=124.0,z=3068.0,pitch=0.0,yaw=0.0}
[2019-11-25 20:18:22.222] Shop at location Location{world=CraftWorld{name=w3},x=3446.0,y=124.0,z=3068.0,pitch=0.0,yaw=0.0} price was changed from 30.0 to 100.0
[2019-11-25 20:36:02.233] Player zhangyeye233 purchased lan_muda shop Shop w3(2976, 83, 3308) Owner: lan_muda - 0a6aba79-33bf-40b7-bbe5-02eab3195fba Price: 50.0 Item: ItemStack{SPLASH_POTION x 1, POTION_META:{meta-type=POTION, potion-type=minecraft:strong_swiftness}} for items x2 for ◎95 (◎0.05 tax).
[2019-11-25 21:26:29.392] Shop at Location{world=CraftWorld{name=w3},x=3108.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0} was removed.
[2019-11-25 21:26:33.902] Shop at Location{world=CraftWorld{name=w3},x=3112.0,y=122.0,z=3314.0,pitch=0.0,yaw=0.0} was removed.
[2019-11-25 21:47:34.276] Player feiyuyu2019 created a shop at location Location{world=CraftWorld{name=w3},x=3456.0,y=124.0,z=3069.0,pitch=0.0,yaw=0.0}
[2019-11-25 21:48:59.126] Player SkuprM purchased feiyuyu2019 shop Shop w3(3456, 124, 3069) Owner: feiyuyu2019 - b81d0d52-cc98-475c-a49a-0d4f410f8145 Price: 81.0 Item: ItemStack{GOLD_BLOCK x 1} for items x1 for ◎76.95 (◎0.05 tax).
[2019-11-25 21:59:57.708] Shop at location Location{world=CraftWorld{name=w3},x=3455.0,y=124.0,z=3069.0,pitch=0.0,yaw=0.0} price was changed from 50.0 to 30.0
[2019-11-26 18:48:44.797] Player gauutek purchased Koishi_Patchi shop Shop w3(3457, 124, 3062) Owner: Koishi_Patchi - 49fca854-fbc3-4ce8-b782-c500bcfa7783 Price: 100.0 Item: ItemStack{SCUTE x 1} for items x2 for ◎190 (◎0.05 tax).
[2019-11-26 19:36:40.215] Player Chahappy purchased SSRRS shop Shop w3(3454, 124, 3069) Owner: SSRRS - 80f9be64-bdcb-4752-baa3-de6ad05e787c Price: 5.0 Item: ItemStack{BOOK x 1} for items x6 for ◎28.50 (◎0.05 tax).
[2019-11-26 19:36:41.212] Player bz_zhi123 purchased feiyuyu2019 shop Shop w3(3456, 124, 3069) Owner: feiyuyu2019 - b81d0d52-cc98-475c-a49a-0d4f410f8145 Price: 81.0 Item: ItemStack{GOLD_BLOCK x 1} for items x233 for ◎17,929.35 (◎0.05 tax).
[2019-11-27 12:43:17.763] Player lan_muda created a shop at location Location{world=CraftWorld{name=w3},x=2968.0,y=83.0,z=3315.0,pitch=0.0,yaw=0.0}
[2019-11-27 12:43:17.764] Player lan_muda created a shop at location Location{world=CraftWorld{name=w3},x=2968.0,y=83.0,z=3315.0,pitch=0.0,yaw=0.0}
[2019-11-27 20:24:03.669] Shop at Location{world=CraftWorld{name=w3},x=3446.0,y=124.0,z=3068.0,pitch=0.0,yaw=0.0} was removed.
[2019-11-27 20:24:17.437] Player Koishi_Patchi created a shop at location Location{world=CraftWorld{name=w3},x=3457.0,y=124.0,z=3060.0,pitch=0.0,yaw=0.0}
[2019-11-27 20:24:17.437] Player Koishi_Patchi created a shop at location Location{world=CraftWorld{name=w3},x=3457.0,y=124.0,z=3060.0,pitch=0.0,yaw=0.0}
[2019-11-27 20:27:08.266] Player Koishi_Patchi purchased feiyuyu2019 shop Shop w3(3456, 124, 3069) Owner: feiyuyu2019 - b81d0d52-cc98-475c-a49a-0d4f410f8145 Price: 81.0 Item: ItemStack{GOLD_BLOCK x 1} for items x424 for ◎32,626.80 (◎0.05 tax).
[2019-11-28 08:51:40.891] Player SkuprM purchased Koishi_Patchi shop Shop w3(3457, 124, 3061) Owner: Koishi_Patchi - 49fca854-fbc3-4ce8-b782-c500bcfa7783 Price: 800.0 Item: ItemStack{TRIDENT x 1, UNSPECIFIC_META:{meta-type=UNSPECIFIC, enchants={MENDING=1}, repair-cost=1}} for items x1 for ◎760 (◎0.05 tax).
[2019-11-28 08:51:47.879] Player SkuprM purchased Koishi_Patchi shop Shop w3(3457, 124, 3063) Owner: Koishi_Patchi - 49fca854-fbc3-4ce8-b782-c500bcfa7783 Price: 700.0 Item: ItemStack{ELYTRA x 1} for items x1 for ◎665 (◎0.05 tax).
[2019-11-28 19:36:01.019] Shop at Location{world=CraftWorld{name=w3},x=176.0,y=75.0,z=228.0,pitch=0.0,yaw=0.0} was removed.
[2019-11-28 19:42:06.622] Player JOC_ZX2 created a shop at location Location{world=CraftWorld{name=w3},x=174.0,y=75.0,z=228.0,pitch=0.0,yaw=0.0}
[2019-11-28 22:06:41.976] Player ZH40QC_T0RUK purchased Kai_mii shop Shop w3(204, 70, 251) Owner: Kai_mii - 0286f28c-c81b-4f35-9202-cdf3d4bee54a Price: 2.0 Item: ItemStack{WHITE_WOOL x 1} for items x1 for ◎1.90 (◎0.05 tax).