Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorax5 committed Mar 5, 2024
2 parents e2553b2 + 49c8ebb commit ef5ce10
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 SoraxDubbing

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### **Objectif:**

Ce plugin Minecraft a pour but pédagogique de démontrer l'implémentation du **pattern MVC (Model-View-Controller)** dans le développement d'un **plugin** Minecraft Spigot.
Il n'a pas pour but de vous apprendre a crée des plugins, il faut avoir des bases de java pour comprendre.

### **Fonctionnalités:**

Expand All @@ -28,6 +29,14 @@ Le plugin est organisé selon le pattern MVC:

Il utilise notamment le design pattern d'Observer.

<h1 align="center">
<img src="https://raw.githubusercontent.com/Sorax5/SpigotPluginMVC/master/assets/mvc_exemple.png">
</h1>

L'architecture est multi-tier (3 exactement), une première qui est l'IHM (Minecraft), une seconde qui est la Logic est enfin le Storage.

Le storage utilise un DAO, avec des méthodes CRUD (create/read/update/delete) avec de la sérialisation en json utilisant Gson qui est nativement intégré a la librairie de spigot.

### **Build du plugin:**

1. Clonez le repo GitHub
Expand All @@ -52,7 +61,11 @@ Ce plugin est sous licence MIT.

### **Contributeurs:**

* [SoraxDubbing]
<a href="https://github.com/Sorax5/SpigotPluginMVC/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Sorax5/SpigotPluginMVC" />
</a>

Made with [contrib.rocks](https://contrib.rocks).

### **Remarques:**

Expand Down

0 comments on commit ef5ce10

Please sign in to comment.