Skip to content

Commit

Permalink
Merge pull request #76 from taylorhaight/patch-34
Browse files Browse the repository at this point in the history
Create CPI Logs Guide
  • Loading branch information
Technofied authored Jul 10, 2024
2 parents 7a935ea + fb5a81d commit 9b8ee11
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions docs/policies/staff/CPI Logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
sidebar_position: 4
---

# Getting CPI Data

Once a month, the DOC will open a system ticket requesting Chest Shop data for the CPI.
This is an **Admin+** task.



### Step 1: Finding the log file.

Going to your DemocracyCraft dashboard, you'll go to **File Manager** on the sidebar on the right, then click the **plugins** folder.

![Image](https://i.imgur.com/q0CLZs0.png)

Next, locate the **ChestShop** folder. These folders are in alphabetical order.

![Image](https://i.imgur.com/L9rUnlz.png)

Finally, **DOWNLOAD** the **ChestShop.log** near the top by clicking the 3 dots in it's row and clicking **download**.

![Image](https://i.imgur.com/C9YIqdG.png)



### Step 2: Collecting that month's data

Once you download the logs, open them. Notepad works great.


Next, **find** the month you're looking for by doing **yyyy/mm/01**.
Find on Windows is ctrl+f; Find on Mac is cmd+f.

![Image](https://i.imgur.com/a8m1MrC.png)

Now you'll select all of that month's bar. This is a lot.
(Tip: put an extra space or two between the start of the month and end of the month for a more distinct start and end.)

Select all of the month's transactions. You can click and drag, or put your cursor at the very start of the month, move down to the end, hold shift, and click the very end and it will highlight everything inbetween.
(Tip: do this in sections.)

![Image](https://i.imgur.com/TDDg1Ii.gif)


Once you've selected all of the month you'd like, copy and paste it into it's own document.
(Windows: ctrl+c / ctrl+v ; Mac: cmd+c / cmd+v)

![Image](https://i.imgur.com/KBXzufM.gif)



### Step 3: Save & send

Save the document as **Month Year CPI Data**.

![Image](https://i.imgur.com/hMiZNJC.png)

Then just send it to the DOC in the ticket they've opened.


## Tadah! You've completed this month's CPI data.




0 comments on commit 9b8ee11

Please sign in to comment.