Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion]: Dynamic Prices #9

Open
Joaofixe opened this issue May 14, 2024 · 0 comments
Open

[Suggestion]: Dynamic Prices #9

Joaofixe opened this issue May 14, 2024 · 0 comments

Comments

@Joaofixe
Copy link

Joaofixe commented May 14, 2024

[EN]

Dynamic Prices: What Is It?

Dynamic prices refer to a feature where item prices automatically vary over time (see the example below). This can be something interesting for plugins, but especially for servers, as it allows for a constantly evolving economy.

Example:

Let's say today a carrot is sold for $5. Next week, the server can set another value within margins defined by the administrators.

'1':
  type: ZSHOP_ITEM
  item:
    material: CARROT
  sellPrice: 112.8-564
  buyPrice: 1.2-6
  slot: 0

In the example above, note that in "buyPrice," price margins have been defined (from 1.2 to 6). This means the server will adjust the value within this margin at times set by the player (weekly, daily, monthly).

Thank you, and I hope you understand my suggestion.

#############################################################################################

[FR]

Prix Dynamiques: Qu'est-ce que c'est?

Les prix dynamiques font référence à une fonctionnalité dans laquelle les prix des articles varient automatiquement avec le temps (voir l'exemple ci-dessous). Cela peut être quelque chose d'intéressant à la fois pour le plugin mais surtout pour les serveurs car cela permet une économie en évolution constante.

Exemple:

Supposons qu'aujourd'hui une carotte soit vendue pour 5$. La semaine prochaine, le serveur peut définir une autre valeur entre des marges, définies par les administrateurs.

'1':
  type: ZSHOP_ITEM
  item:
    material: CARROT
  sellPrice: 112,8-564
  buyPrice: 1,2-6
  slot: 0

Dans l'exemple ci-dessus, notez que dans "buyPrice" des marges de prix ont été définies (de 1,2 à 6). Cela signifie que le serveur ajustera la valeur dans cette marge aux moments définis par le joueur (toutes les semaines, tous les jours, tous les mois).

Merci et j'espère que vous comprenez ma suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant