Skip to content

Commit

Permalink
Merge pull request #1 from birolozturkk/master
Browse files Browse the repository at this point in the history
Add SFarmer
  • Loading branch information
efekurbann authored Sep 5, 2024
2 parents d9cca52 + 3cbfaa2 commit 1acb0a1
Show file tree
Hide file tree
Showing 93 changed files with 269 additions and 15 deletions.
19 changes: 19 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,25 @@ export default defineConfig({
},
],
},
{
label: "sFarmer",
badge: { text: "new product", variant: "success" },
items: [
{
slug: "sfarmer/info",
badge: { text: "?", variant: "default" },
},
{
label: "Features",
translations: {
tr: "Özellikler",
},
badge: { text: "⭐", variant: "tip" },
collapsed: true,
autogenerate: { directory: "sfarmer/features" },
},
]
}
],
}),
],
Expand Down
28 changes: 22 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added src/assets/sfarmer/en/add-member-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/any-permission-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/auto-harvest-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/auto-harvest-module.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/auto-kill-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/auto-plant-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/collected-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/glowing-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/glowing-npc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/hologram-without-shader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/hologram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/kick-member-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/log-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/logs-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/main-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/manage-member-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/manage-member-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/management-panel-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/management-panel-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/member-role-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/members-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/members-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/name-input-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/sfarmer/en/npc.png
Binary file added src/assets/sfarmer/en/permissions-item.png
Binary file added src/assets/sfarmer/en/permissions-menu.png
Binary file added src/assets/sfarmer/en/selected-color-item.png
Binary file added src/assets/sfarmer/en/sell-all-item.png
Binary file added src/assets/sfarmer/en/settings-item.png
Binary file added src/assets/sfarmer/en/settings-menu.png
Binary file added src/assets/sfarmer/en/sugar-cane.png
Binary file added src/assets/sfarmer/en/teleport-cmd.png
Binary file added src/assets/sfarmer/en/teleport-item.png
Binary file added src/assets/sfarmer/en/toggle-collecting-item.png
Binary file added src/assets/sfarmer/tr/add-member-item.png
Binary file added src/assets/sfarmer/tr/any-permission-item.png
Binary file added src/assets/sfarmer/tr/auto-harvest-item.png
Binary file added src/assets/sfarmer/tr/auto-harvest-module.png
Binary file added src/assets/sfarmer/tr/auto-kill-item.png
Binary file added src/assets/sfarmer/tr/auto-plant-item.png
Binary file added src/assets/sfarmer/tr/collected-item.png
Binary file added src/assets/sfarmer/tr/glowing-item.png
Binary file added src/assets/sfarmer/tr/glowing-npc.png
Binary file added src/assets/sfarmer/tr/hologram.png
Binary file added src/assets/sfarmer/tr/kick-member-item.png
Binary file added src/assets/sfarmer/tr/log-item.png
Binary file added src/assets/sfarmer/tr/logs-item.png
Binary file added src/assets/sfarmer/tr/main-menu.png
Binary file added src/assets/sfarmer/tr/manage-member-item.png
Binary file added src/assets/sfarmer/tr/manage-member-menu.png
Binary file added src/assets/sfarmer/tr/management-panel-item.png
Binary file added src/assets/sfarmer/tr/management-panel-menu.png
Binary file added src/assets/sfarmer/tr/member-role-item.png
Binary file added src/assets/sfarmer/tr/members-item.png
Binary file added src/assets/sfarmer/tr/members-menu.png
Binary file added src/assets/sfarmer/tr/name-input-menu.png
Binary file added src/assets/sfarmer/tr/npc.png
Binary file added src/assets/sfarmer/tr/permissions-item.png
Binary file added src/assets/sfarmer/tr/permissions-menu.png
Binary file added src/assets/sfarmer/tr/selected-color-item.png
Binary file added src/assets/sfarmer/tr/sell-all-item.png
Binary file added src/assets/sfarmer/tr/settings-item.png
Binary file added src/assets/sfarmer/tr/settings-menu.png
Binary file added src/assets/sfarmer/tr/sugar-cane.png
Binary file added src/assets/sfarmer/tr/teleport-cmd.png
Binary file added src/assets/sfarmer/tr/teleport-item.png
Binary file added src/assets/sfarmer/tr/toggle-collecting-item.png
5 changes: 5 additions & 0 deletions src/content/docs/sfarmer/features/collected-item.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Operations
---

![Collected Item](../../../../../assets/sfarmer/en/collected-item.png "Collected Item")
9 changes: 9 additions & 0 deletions src/content/docs/sfarmer/features/glowing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Glowing
---

![Glowing Item](../../../../../assets/sfarmer/en/glowing-item.png "Glowing Item")
![Glowing Enabled](../../../../../assets/sfarmer/en/glowing-settings-menu-enabled.png "Glowing Enabled")
![Glowing Disabled](../../../../../assets/sfarmer/en/glowing-settings-menu-disabled.png "Glowing Disabled")
![Selected Color](../../../../../assets/sfarmer/en/selected-color-item.png "Selected Color")
![Glowing NPC](../../../../../assets/sfarmer/en/glowing-npc.png "Glowing NPC")
7 changes: 7 additions & 0 deletions src/content/docs/sfarmer/features/interaction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Interaction
---

![NPC](../../../../../assets/sfarmer/en/npc.png "NPC")

![Hologram](../../../../../assets/sfarmer/en/hologram.png "Hologram")
7 changes: 7 additions & 0 deletions src/content/docs/sfarmer/features/logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Logs
description: Çiftçi üyelerinin çiftçi üzerinden gerçekleştirmiş olduğu birçok işlemin kaydı tutulur ve bu kayıtlar diğer çiftçi üyeleri tarafından da görülebilir.
---

![Logs Item](../../../../../assets/sfarmer/en/logs-item.png "Logs Item")
![Logs Item](../../../../../assets/sfarmer/en/log-item.png "Logs Menu")
16 changes: 16 additions & 0 deletions src/content/docs/sfarmer/features/manage-member.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Member Manage
---

![Members Item](../../../../../assets/sfarmer/en/members-item.png "Members Item")
![Members Menu](../../../../../assets/sfarmer/en/members-menu.png "Members Menu")


![Add Member Item](../../../../../assets/sfarmer/en/add-member-item.png "Add Member Item")
![Name Input Menu](../../../../../assets/sfarmer/en/add-member-item.png "Name Input Menu")


![Manage Member Item](../../../../../assets/sfarmer/en/manage-member-item.png "Manage Member Item")
![Member Role Item](../../../../../assets/sfarmer/en/member-role-item.png "Member Role Item")
![Kick Member Item](../../../../../assets/sfarmer/en/kick-member-item.png "Kick Member Item")

7 changes: 7 additions & 0 deletions src/content/docs/sfarmer/features/permissions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Permission Manage
---

![Permissions Item](../../../../../assets/sfarmer/en/permissions-item.png "Permissions Item")
![Permissions Menu](../../../../../assets/sfarmer/en/permissions-menu.png "Permissions Menu")
![Permission Item](../../../../../assets/sfarmer/en/any-permission-item.png "Permission Item")
22 changes: 22 additions & 0 deletions src/content/docs/sfarmer/features/settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Settings
---

![Settings Item](../../../../../assets/sfarmer/en/settings-item.png "Settings Item")
![Settings Menu](../../../../../assets/sfarmer/en/settings-menu.png "Settings Menu")


![Auto Harvest Item](../../../../../assets/sfarmer/en/auto-harvest-item.png "Auto Harvest Item")
![Required Piston](../../../../../assets/sfarmer/en/sugar-cane.png "Required Piston")
![Auto Harvest Module](../../../../../assets/sfarmer/en/auto-harvest-module.png "Auto Harvest Module")

**required-piston:** If you set the required-piston option to false, players do not need to place a piston for automatic harvesting

**required-farmer:** If you set the required-farmer option to false, crops will be harvested even in regions where there are no farmers.

**check-stock:** If you set the stock control option to false, crops will be harvested and drops will fall to the ground even if the farmer's warehouse is full.



![Auto Plant Item](../../../../../assets/sfarmer/en/auto-plant-item.png "Auto Plant Item")
![Auto Kill Item](../../../../../assets/sfarmer/en/auto-kill-item.png "Auto Kill Item")
7 changes: 7 additions & 0 deletions src/content/docs/sfarmer/features/teleport.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Teleport
---

![Teleport Item](../../../../../assets/sfarmer/en/teleport-item.png "Teleport Item")

![Teleport Command](../../../../../assets/sfarmer/en/teleport-cmd.png "Teleport Command")
31 changes: 31 additions & 0 deletions src/content/docs/sfarmer/info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Introduction
description: A brief introduction to our sFarmer plugin
---

**Hand over the keys to the farmer!**

sFarmer allows players to automatically collect farming items in their territory. With its advanced features and flexible management options, you can optimise farming processes on your server. Farmer members can customise their farm with a comprehensive menu support.

### Key Features:

- **Interaction:** We provide both NPC and hologram support for players to interact with their farmer.

- **Teleportation:** Your players can teleport their farmer to any desired location within their region.

- **Glow:** If your server has set the interaction type of the farmer as an NPC, players can change the glow status and color of the NPC.

- **Operations:** Farmer members can retrieve collected items from the farmer's inventory or directly sell them through the menu.

- **Farmer Logs:** Logs of many actions performed by farmer members are kept and can be viewed by other farmer members.

- **Member Management:** The farmer owner can promote or demote a member added to the farmer, thus restricting the actions that the member can perform within the farmer.

- **Permission Management:** The roles and permissions for farmer members can be set by the farmer owner.

- **Settings:** The farmer owner can enable or disable automation options like auto-harvest, auto-plant, and auto-kill.


## Preview Video

<iframe width="768" height="432" src="https://www.youtube.com/embed/yOmKw_QVdw8" title="sFarmer Preview" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" style="height:432px; width:768px;" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
5 changes: 5 additions & 0 deletions src/content/docs/tr/sfarmer/features/collected-item.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: İşlemler
---

![Collected Item](../../../../../assets/sfarmer/en/collected-item.png "Collected Item")
9 changes: 9 additions & 0 deletions src/content/docs/tr/sfarmer/features/glowing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Parıltı
---

![Glowing Item](../../../../../assets/sfarmer/en/glowing-item.png "Glowing Item")
![Glowing Enabled](../../../../../assets/sfarmer/en/glowing-settings-menu-enabled.png "Glowing Enabled")
![Glowing Disabled](../../../../../assets/sfarmer/en/glowing-settings-menu-disabled.png "Glowing Disabled")
![Selected Color](../../../../../assets/sfarmer/en/selected-color-item.png "Selected Color")
![Glowing NPC](../../../../../assets/sfarmer/en/glowing-npc.png "Glowing NPC")
7 changes: 7 additions & 0 deletions src/content/docs/tr/sfarmer/features/interaction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Etkileşim
---

![NPC](../../../../../assets/sfarmer/en/npc.png "NPC")

![Hologram](../../../../../assets/sfarmer/en/hologram.png "Hologram")
7 changes: 7 additions & 0 deletions src/content/docs/tr/sfarmer/features/logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Çiftçi Kayıtları
description: Çiftçi üyelerinin çiftçi üzerinden gerçekleştirmiş olduğu birçok işlemin kaydı tutulur ve bu kayıtlar diğer çiftçi üyeleri tarafından da görülebilir.
---

![Logs Item](../../../../../assets/sfarmer/en/logs-item.png "Logs Item")
![Logs Item](../../../../../assets/sfarmer/en/log-item.png "Logs Menu")
17 changes: 17 additions & 0 deletions src/content/docs/tr/sfarmer/features/manage-member.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Üye Yönetimi
---


![Members Item](../../../../../assets/sfarmer/en/members-item.png "Members Item")
![Members Menu](../../../../../assets/sfarmer/en/members-menu.png "Members Menu")


![Add Member Item](../../../../../assets/sfarmer/en/add-member-item.png "Add Member Item")
![Name Input Menu](../../../../../assets/sfarmer/en/add-member-item.png "Name Input Menu")


![Manage Member Item](../../../../../assets/sfarmer/en/manage-member-item.png "Manage Member Item")
![Member Role Item](../../../../../assets/sfarmer/en/member-role-item.png "Member Role Item")
![Kick Member Item](../../../../../assets/sfarmer/en/kick-member-item.png "Kick Member Item")

7 changes: 7 additions & 0 deletions src/content/docs/tr/sfarmer/features/permissions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Yetki Yönetimi
---

![Permissions Item](../../../../../assets/sfarmer/en/permissions-item.png "Permissions Item")
![Permissions Menu](../../../../../assets/sfarmer/en/permissions-menu.png "Permissions Menu")
![Permission Item](../../../../../assets/sfarmer/en/any-permission-item.png "Permission Item")
7 changes: 7 additions & 0 deletions src/content/docs/tr/sfarmer/features/piston.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Auto Harvest
---

![Teleport Item](../../../../../assets/sfarmer/en/teleport-item.png "Teleport Item")

![Teleport Command](../../../../../assets/sfarmer/en/teleport-cmd.png "Teleport Command")
19 changes: 19 additions & 0 deletions src/content/docs/tr/sfarmer/features/settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Ayarlar
---

![Settings Item](../../../../../assets/sfarmer/en/settings-item.png "Settings Item")
![Settings Menu](../../../../../assets/sfarmer/en/settings-menu.png "Settings Menu")


![Auto Harvest Item](../../../../../assets/sfarmer/en/auto-harvest-item.png "Auto Harvest Item")
![Auto Harvest Module](../../../../../assets/sfarmer/en/auto-harvest-module.png "Auto Harvest Module")

**required-piston:** required-piston seçeneğini false olarak ayarlarsanız, oyuncuların otomatik hasat için bir piston yerleştirmesi gerekmez.

**required-farmer:** required-farmer seçeneğini false olarak ayarlarsanız, hiç çiftçinin olmadığı bölgelerde bile ürünler hasat edilir.

**check-stock:** check-stock seçeneğini false olarak ayarlarsanız, çiftçinin deposu dolu olsa bile ürünler hasat edilecek ve droplar yere düşecektir.

![Auto Plant Item](../../../../../assets/sfarmer/en/auto-plant-item.png "Auto Plant Item")
![Auto Kill Item](../../../../../assets/sfarmer/en/auto-kill-item.png "Auto Kill Item")
7 changes: 7 additions & 0 deletions src/content/docs/tr/sfarmer/features/teleport.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Işınlama
---

![Teleport Item](../../../../../assets/sfarmer/en/teleport-item.png "Teleport Item")

![Teleport Command](../../../../../assets/sfarmer/en/teleport-cmd.png "Teleport Command")
32 changes: 32 additions & 0 deletions src/content/docs/tr/sfarmer/info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Tanıtım
description: sFarmer eklentimizin ufak bir tanıtımı
---

**Çiftinin anahtarlarını oyuncularınıza teslim edin!**

sFarmer, oyuncuların bölgelerinde tarım eşyalarını otomatik toplama imkanı sunuyor. Gelişmiş özellikleri ve esnek yönetim seçenekleriyle, sunucunuzdaki tarım süreçlerini optimize edebilirsiniz. Çiftçi üyeleri kapsamlı bir menü desteğiyle çiftçilerini özelleştirebilir.

### Temel Özellikler:

- **Etkileşim:** Oyuncuların çiftçi ile etkileşime geçebilmesi için hem NPC hem de hologram desteği sunuyoruz.

- **Işınlama:** Oyuncularınız çiftçilerini bölgeleri içerisindeki herhangi bir konuma ışınlayabilirler.

- **Parıltı:** Sunucunuzda çiftçinin etkileşim türü NPC olarak ayarlanmışsa, oyuncular NPC'nin parıltı durumunu ve rengini değiştirebilirler.

- **İşlemler:** Çiftçi üyeleri, çiftçinin envanterinden topladıkları eşyaları alabilir veya menü üzerinden doğrudan satışını gerçekleştirebilirler.

- **Çiftçi Kayıtları:** Çiftçi üyeleri tarafından gerçekleştirilen birçok işlem kaydedilir ve diğer çiftçi üyeleri tarafından görüntülenebilir.

- **Üye Yönetimi:** Çiftçi sahibi, çiftçiye eklenen bir üyeyi terfi ettirebilir veya tenzil edebilir, böylece üyenin çiftçi içinde gerçekleştirebileceği işlemleri kısıtlayabilir.

- **Yetki Yönetimi:** Çiftçi üyelerine verilecek rollerin yetkileri çiftçi sahibi tarafından ayarlanabilir.

- **Ayarlar:** Çiftçi sahibi, otomatik hasat, otomatik ekme ve otomatik öldürme gibi otomasyon seçeneklerini aktif veya pasif hale getirebilir.

## Tanıtım Videosu

<iframe width="768" height="432" src="https://www.youtube.com/embed/yOmKw_QVdw8" title="sFarmer Preview" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" style="height:432px; width:768px;" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>


9 changes: 0 additions & 9 deletions src/content/docs/tr/welcome.md

This file was deleted.

0 comments on commit 1acb0a1

Please sign in to comment.