Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

Conversation

@gab4000
Copy link
Contributor

@gab4000 gab4000 commented Oct 10, 2024

Avez vous lu le Code de Conduite?: oui

Votre code se compile t-il en local ?: oui

Avez-vous supprimez les imports inutilisés ?: oui

Décrivez vos changements

Clairement et avec des screenshots si nécessaires

  • Ecriture des paramètres automatique lors de la connexion pour ne pas retourner null lors de l'ouverture des paramètres

  • Ajout d'un cache pour éviter les requêtes SQL permanentes

  • Réparation du /players

  • Réparation de la mailbox

  • Nouveau namespace pour le /settings :

Pensez à retirer le namespace omc_settings, s'il existe et de mettre celui là

settings.zip

@AxenoDev
Copy link
Member

Faire un cache

@AxenoDev
Copy link
Member

(Pas de requests SQL h24)

@gab4000
Copy link
Contributor Author

gab4000 commented Oct 12, 2024

revérifiez mon code pour voir si ça marche bien SVP

@gab4000 gab4000 changed the title Patch du bug du /settings Patch du bug du /settings + cache Oct 12, 2024
@AxenoDev
Copy link
Member

Contributor

Tu toi test normalement

@gab4000
Copy link
Contributor Author

gab4000 commented Oct 14, 2024

de quoi ?

@AxenoDev
Copy link
Member

bah faut pas

@AxenoDev
Copy link
Member

Toujours pas, quand le joueur ce connecte tu load toujours la db

@gab4000
Copy link
Contributor Author

gab4000 commented Oct 16, 2024

non

@gab4000 gab4000 changed the title Patch du bug du /settings + cache Patch du bug du /settings + cache + modif adminshop Oct 19, 2024
@AxenoDev
Copy link
Member

tu as bien test avec un second compte ?


@EventHandler
public void onJoin(PlayerJoinEvent e) {
Bukkit.getScheduler().runTaskAsynchronously(this.plugin, () -> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ta boucle est innutile elle va juste mettre Player dans un autre thread et le reste sur le principal thread

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retiré

@iambibi
Copy link
Member

iambibi commented Oct 23, 2024

mais? pourquoi avoir rechanger le taux max d'item?

@iambibi
Copy link
Member

iambibi commented Oct 23, 2024

bon laisse tomber je laisse la main au autres

@gab4000 gab4000 changed the title Patch du bug du /settings et mailbox + cache + modif adminshop Patch du bug du /settings et mailbox + cache Oct 23, 2024
@AxenoDev
Copy link
Member

🫤

@AxenoDev
Copy link
Member

regarde les review et ce seras good

@gab4000
Copy link
Contributor Author

gab4000 commented Nov 14, 2024

c bon au cas ou

Copy link
Contributor Author

@gab4000 gab4000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prêt a être merge

@iambibi
Copy link
Member

iambibi commented Nov 19, 2024

a merge, je pense que les 2 joueurs actifs sur le serveur seront content d'avoir leur mailbox

@Xernas78
Copy link
Contributor

Good @AxenoDev ?

Copy link
Contributor

@Xernas78 Xernas78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oké je fais confiance a axewoui

@Xernas78 Xernas78 merged commit 77034f7 into ServerOpenMC:main Nov 22, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants