Dynasty Chantier

server side mod : your builders can be payed too !

Dependency for Dynasty Salary
Adds interactions for clients to order building projects from builders.

How a project works

  1. The client types /commande chantier Taverne @Eno. The project type can contain spaces and accents, for example Maison en pierre.
  2. The builder receives the message “@Player ordered Taverne. Do you want to accept?”, with the clickable buttons [Accepter] and [Refuser]. They can also type /commande Accepter.
  3. When finished, the builder types /chantier Terminé, and the client receives a [Valider] button.
  4. The client types /chantier Validé, and the builder is paid the construction salary set in metiers.json (10 ☾ by default).

MORE

  • Only players whose job is paid per construction can receive an order. This is the dependency on Dynasty Salary.
  • Commands work with or without capital letters and accents (Terminé, termine, Validé, valide…).
  • The project number is optional when only one project is involved.
  • An offline player receives the order, the approval request or their salary the next time they log in.
  • The client can send the project back to the builder with /chantier contester [reason], or cancel the order before it’s finished with /commande annuler.
  • /chantier liste shows the player’s last 10 projects, with action buttons.
  • Staff can settle a dispute or handle a client who has left with /chantier admin annuler <id> and /chantier admin valider <id>.
  • Safeguards, adjustable in config/dynasty_chantiers/config.json: an unanswered order expires after 24 h, a builder can have at most 3 ongoing projects, and a client at most 3 open orders.

=========================

 

Ajoute des intéractions pour passer commande pour des chantiers entre le builder et le client

Commandes : 

Déroulement d’un chantier

  1. Le client tape /commande chantier Taverne @Eno. Le type peut contenir des espaces et des accents, par exemple Maison en pierre.
  2. Le builder reçoit le message « @Pseudo a commandé Taverne. Voulez-vous accepter ? », avec les boutons cliquables [Accepter] et [Refuser]. Il peut aussi taper /commande Accepter.
  3. Quand il a fini, le builder tape /chantier Terminé, et le client reçoit un bouton [Valider].
  4. Le client tape /chantier Validé, et le builder est payé selon le salaire de construction défini dans metiers.json (10 ☾ par défaut)

    MORE : 
  • Seuls les joueurs avec un métier payé à la construction peuvent recevoir une commande. C’est la dépendance à Dynasty Salary.
  • Les commandes acceptent les majuscules ou non, avec ou sans accents (Terminé, termine, Validé, valide…).
  • Le numéro de chantier est facultatif quand il n’y a qu’un seul chantier concerné.
  • Un joueur hors ligne reçoit la commande, la demande de validation ou son salaire à sa prochaine connexion.
  • Le client peut renvoyer le chantier au builder avec /chantier contester [raison], ou annuler sa commande avant la fin avec /commande annuler.
  • /chantier liste affiche les 10 derniers chantiers du joueur, avec des boutons d’action.
  • Le staff peut régler un litige ou le cas d’un client parti avec /chantier admin annuler <id> et /chantier admin valider <id>.
  • Garde-fous, réglables dans config/dynasty_chantiers/config.json : une commande sans réponse expire au bout de 24 h, un builder peut avoir 3 chantiers en cours au maximum, et un client 3 commandes ouvertes au maximum.

Dynasty Chantier Team

profile avatar
  • 6
    Projects
  • 392
    Downloads

More from daemarisView all