diff --git a/components/PluginCard.tsx b/components/PluginCard.tsx index ceca02a..fdd8509 100644 --- a/components/PluginCard.tsx +++ b/components/PluginCard.tsx @@ -5,9 +5,10 @@ interface PluginCardProps { title: string description: string githubLink: string + spigotmcLink?: string } -const PluginCard: React.FC = ({ title, description, githubLink }) => ( +const PluginCard: React.FC = ({ title, description, githubLink, spigotmcLink }) => ( = ({ title, description, githubLink }} > + { + spigotmcLink ? : null + } ) diff --git a/pages/index.tsx b/pages/index.tsx index d5f4621..e4bf1b7 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -15,6 +15,7 @@ const ActivityTracker: React.FC = () => ( title="Activity Tracker" description="Tracks the activity of players." githubLink="https://github.com/Dans-Plugins/Activity-Tracker" + spigotmcLink="https://www.spigotmc.org/resources/activity-tracker.96724/" /> ) @@ -23,6 +24,7 @@ const AlternateAccountFinder: React.FC = () => ( title="Alternate Account Finder" description="Identifies accounts that have used the same IP address." githubLink="https://github.com/Dans-Plugins/AlternateAccountFinder" + spigotmcLink="https://www.spigotmc.org/resources/alternate-account-finder.83290/" /> ) @@ -31,6 +33,7 @@ const ConquestRecipes: React.FC = () => ( title="Conquest Recipes" description="Adds recipes for the many item textures that the Conquest Resource Pack adds to the game." githubLink="https://github.com/Dans-Plugins/Conquest-Recipes" + spigotmcLink="https://www.spigotmc.org/resources/conquest-recipes.83594/" /> ) @@ -39,6 +42,7 @@ const Currencies: React.FC = () => ( title="Currencies" description="An expansion for Medieval Factions that allows faction owners to create and mint local currencies." githubLink="https://github.com/Dans-Plugins/Currencies" + spigotmcLink="https://www.spigotmc.org/resources/currencies.96381/" /> ) @@ -47,6 +51,7 @@ const DansEssentials: React.FC = () => ( title="Dan's Essentials" description="Provides miscellaneous commands." githubLink="https://github.com/Dans-Plugins/Dans-Essentials" + spigotmcLink="https://www.spigotmc.org/resources/dans-essentials.80513/" /> ) @@ -55,6 +60,7 @@ const DansPluginManager: React.FC = () => ( title="Dan's Plugin Manager" description="Allows operators to easily download the community's plugins in-game or through a server console." githubLink="https://github.com/Dans-Plugins/Dans-Plugin-Manager" + spigotmcLink="https://www.spigotmc.org/resources/dans-plugin-manager-early-access.100279/" /> ) @@ -63,6 +69,7 @@ const DansSetHome: React.FC = () => ( title="Dan's Set Home" description="Allows players to set and teleport to home locations." githubLink="https://github.com/Dans-Plugins/Dans-Set-Home" + spigotmcLink="https://www.spigotmc.org/resources/dans-set-home.79986/" /> ) @@ -71,6 +78,7 @@ const DansSpawnSystem: React.FC = () => ( title="Dan's Spawn System" description="Allows players to use signs to select a custom spawn in their world." githubLink="https://github.com/Dans-Plugins/Dans-Spawn-System" + spigotmcLink="https://www.spigotmc.org/resources/dans-spawn-system.82697/" /> ) @@ -79,6 +87,7 @@ const Democracy: React.FC = () => ( title="Democracy" description="An expansion for MF that aims to allow nations to be democratic." githubLink="https://github.com/Dans-Plugins/Democracy" + // no spigotmc link yet /> ) @@ -87,6 +96,7 @@ const EasyLinks: React.FC = () => ( title="Easy Links" description="Allows players to view relevant links with simple commands." githubLink="https://github.com/Dans-Plugins/Easy-Links" + spigotmcLink="https://www.spigotmc.org/resources/easylinks-early-access.98040/" /> ) @@ -95,6 +105,7 @@ const Fiefs: React.FC = () => ( title="Fiefs" description="Allows players to create fiefs and manage them." githubLink="https://github.com/Dans-Plugins/Fiefs" + spigotmcLink="https://www.spigotmc.org/resources/fiefs-early-access.98559/" /> ) @@ -103,6 +114,7 @@ const FoodSpoilage: React.FC = () => ( title="FoodSpoilage" description="Makes food items turn into rotten flesh after a certain period of time." githubLink="https://github.com/Dans-Plugins/FoodSpoilage" + spigotmcLink="https://www.spigotmc.org/resources/food-spoilage.81507/" /> ) @@ -111,6 +123,7 @@ const KDRTracker: React.FC = () => ( title="KDRTracker" description="Keeps track of players' kill/death ratios." githubLink="https://github.com/Dans-Plugins/KDRTracker" + // no spigotmc link yet /> ) @@ -119,6 +132,7 @@ const Mailboxes: React.FC = () => ( title="Mailboxes" description="Allows players and plugins to send persistent messages to players." githubLink="https://github.com/Dans-Plugins/Mailboxes" + spigotmcLink="https://www.spigotmc.org/resources/mailboxes.96611/" /> ) @@ -127,6 +141,7 @@ const MedievalCookery: React.FC = () => ( title="Medieval Cookery" description="Allows server owners to add cooking recipes for an enhanced roleplay experience." githubLink="https://github.com/Dans-Plugins/Medieval-Cookery" + // no spigotmc link yet /> ) @@ -135,6 +150,7 @@ const MedievalEconomy: React.FC = () => ( title="Medieval Economy" description="Provides a virtual coinpurse and a physical currency item for the purpose of simulating an economy." githubLink="https://github.com/Dans-Plugins/Medieval-Economy" + spigotmcLink="https://www.spigotmc.org/resources/medieval-economy.81836/" /> ) @@ -143,6 +159,7 @@ const MedievalFactions: React.FC = () => ( title="Medieval Factions" description="Allows players to organize themselves into feudal, diplomatic, lawful groups akin to nations." githubLink="https://github.com/Dans-Plugins/Medieval-Factions" + spigotmcLink="https://www.spigotmc.org/resources/medieval-factions.79941/" /> ) @@ -151,6 +168,7 @@ const MedievalRoleplayEngine: React.FC = () => ( title="Medieval Roleplay Engine" description="Facilitates roleplay between players." githubLink="https://github.com/Dans-Plugins/Medieval-Roleplay-Engine" + spigotmcLink="https://www.spigotmc.org/resources/medieval-roleplay-engine.79993/" /> ) @@ -159,6 +177,7 @@ const MiniFactions: React.FC = () => ( title="MiniFactions" description="Aims to introduce factions into the game in a simple, easy to use, expandable way." githubLink="https://github.com/Dans-Plugins/MiniFactions" + // no spigotmc link yet /> ) @@ -167,6 +186,7 @@ const MoreRecipes: React.FC = () => ( title="More Recipes" description="Adds static recipes for items that are not craftable in vanilla." githubLink="https://github.com/Dans-Plugins/More-Recipes" + spigotmcLink="https://www.spigotmc.org/resources/more-recipes.81832/" /> ) @@ -175,6 +195,7 @@ const NetherAccessController: React.FC = () => ( title="Nether Access Controller" description="Allows operators to control who has access to the nether." githubLink="https://github.com/Dans-Plugins/Nether-Access-Controller" + spigotmcLink="https://www.spigotmc.org/resources/nether-access-controller.95905/" /> ) @@ -183,6 +204,7 @@ const NoMoreCreepers: React.FC = () => ( title="NoMoreCreepers" description="Prevents creepers from spawning." githubLink="https://github.com/Dans-Plugins/NoMoreCreepers" + spigotmcLink="https://www.spigotmc.org/resources/nomorecreepers.97946/" /> ) @@ -191,6 +213,7 @@ const PlayerLore: React.FC = () => ( title="PlayerLore" description="Aims to allow players to add lore to their items in Minecraft." githubLink="https://github.com/Dans-Plugins/PlayerLore" + spigotmcLink="https://www.spigotmc.org/resources/playerlore.98602/" /> ) @@ -199,6 +222,7 @@ const SimpleSkills: React.FC = () => ( title="SimpleSkills" description="Introduces skills into the game in a systematic, easy to use, expandable way." githubLink="https://github.com/Dans-Plugins/SimpleSkills" + spigotmcLink="https://www.spigotmc.org/resources/simpleskills.98039/" /> ) @@ -207,6 +231,7 @@ const WildPets: React.FC = () => ( title="Wild Pets" description="Allows players to tame any entity and keep them as a pet." githubLink="https://github.com/Dans-Plugins/Wild-Pets" + spigotmcLink="https://www.spigotmc.org/resources/wild-pets.95800/" /> )